7 Assignment 6: Using Programmable Gain Amplifier (PGA)
In this assignment, the ADC of the ATtiny1627 will be configured to use the programmable gain amplifier (PGA) to amplify the signal from the board. The signal from the Force Click is divided down using two resistors to create a voltage divider. The ADC will be in Burst mode, and a sample will be triggered by an RTC overflow event as in assignment 2.
The sampled ADC data will be transmitted over USART to the Data Visualizer. The Data Visualizer will first be used to plot the original signal and then plot the amplified signal.
The Microchip Studio Solution Assignment6 includes the required starting point
for this assignment and should be available in the training material folder at the
following path: Assignment6
.
- Objectives
- Setup of the voltage divider
- Configure the ADC to use the PGA to amplify the signal