|
2 | 2 |
|
3 | 3 | # ATMEGA4809 Xplained Pro ADC basics |
4 | 4 |
|
5 | | -This is an example of how to get started with the ADC on the ATMEGA4809, this is a general example which is applicable to the whole megaAVR 0-series. |
6 | | - |
| 5 | +This is an example of how to get started with the ADC on the ATMEGA4809, this is a general example which is applicable to the whole megaAVR 0-series. This is based on the application note [AN2573](#Related-Documentation). |
7 | 6 |
|
8 | 7 | ## Related Documentation |
9 | 8 |
|
10 | 9 | - [AN2573 - ADC Basics with tinyAVR 0- and 1-series, and megaAVR 0-series](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en601379) |
11 | | -- [ATmega4809 Family Product Page](https://www.microchip.com/design-centers/8-bit/avr-mcus/device-selection/atmega4809) |
| 10 | +- [ATmega4809 Device Page](https://www.microchip.com/wwwproducts/en/ATMEGA4809) |
12 | 11 |
|
13 | 12 | ## Software Used |
14 | 13 |
|
15 | | -- [MPLAB X IDE or v5.40 newer](https://www.microchip.com/mplab/mplab-x-ide) |
| 14 | +- [MPLAB X IDE v5.40 or later](https://www.microchip.com/mplab/mplab-x-ide) |
16 | 15 | - [Data Visualizer](https://www.microchip.com/mplab/avr-support/data-visualizer) |
17 | | -- ATmega_DFP 1.4.351 or newer |
| 16 | +- ATmega_DFP 1.4.351 or later |
18 | 17 |
|
19 | 18 | ## Hardware Used |
20 | 19 |
|
21 | | -- ATmega4809 Xplained Pro [(ATMEGA4809-XPRO)](https://www.microchip.com/developmenttools/ProductDetails/ATMEGA4809-XPRO) |
| 20 | +- [ATmega4809 Xplained Pro](https://www.microchip.com/developmenttools/ProductDetails/ATMEGA4809-XPRO) |
22 | 21 |
|
23 | 22 | ## Setup |
24 | 23 |
|
| 24 | +* Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable. |
| 25 | +* Port `PD6` is the ADC channel input, connect a cable here to interract with the ADC. |
| 26 | + |
| 27 | +## Operation |
| 28 | + |
25 | 29 | 1. Open `ADCBasicswithmegaAVR0-Series.X` in MPLAB |
26 | 30 | 2. Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable. |
27 | 31 | 3. Make sure the kit is selected as the tool to be programmed under project settings |
28 | 32 | 4. Press the make and program button to program the device. |
29 | 33 | 5. Open data visualizer under to interact with the virtual comport on the devkit |
30 | 34 |
|
31 | | -## Operation |
32 | | - |
33 | 35 | As mentioned in the appnote [AN2573](#Related-Documentation) you can change the voltage level of the adc input port and the approximated value will be shown over UART through data visualizer. |
34 | 36 |
|
35 | | -## Summary |
| 37 | +## Conclusion |
36 | 38 |
|
37 | 39 | 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](#Related-Documentation) Application Note. |
0 commit comments