Skip to content

Commit 5faaeff

Browse files
Ole AarhaugOle Aarhaug
authored andcommitted
MPAE-4746: Updated Project
1 parent 76214f9 commit 5faaeff

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a href="https://www.microchip.com" rel="nofollow"><img src="images/microchip.png" alt="MCHP" width="300"/></a>
22

3-
# ATMEGA4809 Xplained Pro ADC basics
3+
# ATmega4809 Xplained Pro ADC basics
44

55
MegaAVR® 0-series devices feature a 10-bit successive approximation register (SAR) Analog-to-Digital Converter (ADC) and is capable of conversion rates up to 115 ksps. It features a flexible multiplexer, which allows the ADC to measure the voltage at multiplesingle-ended input pins.
66

@@ -10,7 +10,7 @@ There are four modes we will explore in this example:
1010
* ADC Window Comparator mode
1111
* ADC Sample Accumulator mode
1212

13-
This is an example of how to get started with the ADC on the ATMEGA4809. This is based on the application note [AN2573](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en601379).
13+
This is an example of how to get started with the ADC on the ATmega4809. This is based on the application note [AN2573](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en601379).
1414

1515
## Related Documentation
1616

@@ -32,18 +32,19 @@ This is an example of how to get started with the ADC on the ATMEGA4809. This is
3232

3333
## Setup
3434

35-
* Port `PD6` is the ADC channel input, connect a cable here to interract with the ADC.
35+
* Port `PD6` is the ADC channel input, connect a cable here to interract with the ADC
3636

3737
## Operation
3838

39-
1. Open `atmega4809-adc-basics-mplab.X` in MPLAB.
40-
2. Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable.
41-
3. Make sure the kit is selected as the tool to be programmed under project settings.
42-
4. Press the make and program button to program the device.
43-
4. Open your favorite terminal application or Data visualizer and open the serial port associated with the Xplained Pro.
39+
1. Download the zip file or clone the example to get the source code.
40+
2. Open `atmega4809-adc-basics-mplab.X` in MPLAB.
41+
3. Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable.
42+
4. Make sure the kit is selected as the tool to be programmed under project settings.
43+
5. Press the make and program button to program the device.
44+
6. Open your favorite terminal application or Data visualizer and open the serial port associated with the Xplained Pro.
4445

4546
As mentioned in the appnote [AN2573](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en601379) you can change the voltage level of the adc input port and the approximated value will be shown over UART through data visualizer.
4647

4748
## Conclusion
4849

49-
We here shown how to setup and get started with the ADC basics project. For more details about this example and how the ADC works please see the [AN2573](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en601379) Application Note.
50+
We have here shown how to setup and get started with the ADC basics project. For more details about this example and how the ADC works please see the [AN2573](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en601379) Application Note.

0 commit comments

Comments
 (0)