1.2 Application Overview

The hardware setup needed to develop and test this application is described in Figure 1-2. Two potentiometers are used to provide analog input signals to the AVR128DA48 device, on the Curiosity Nano development board. The ADC will convert the voltage difference between the input signals. The result will be sent through USART and it will be plotted using the MPLAB Data Visualizer plug-in.

Figure 1-2. Hardware Setup

The software application designed for this training will implement the following software diagram. After initializing the system, the free-running ADC conversions will be started. Then, using an infinite loop, the result status will be continuously read and transmitted through USART to be displayed using the graphical interface.

Figure 1-3. Software Diagram