In this video I will be showing you how to use register level programming on Arduino, to perform analog to digital (ADC) conversion of multiple channels at once.
For this example, we will be using Pins A1, A3 and A5.
ADC involves tweaking registers such as ADCSRA, ADMUX and the Arduino prescaler.
TIMESTAMPS:
Arduino Basics: 00:15
Atmel ATmega328p Datasheets: 04:20
ADC Conversion Tutorial: 05:50
Arduino Program: 08:00
Results and Simulation: 11:00
The ADC conversion program results in a perfect voltage reading on the Arduino, where an RC filter is implemented, and an average of 100 samples is taken for each pin.
VDEngineering
My Instagram: / vinayak_desh
My Website: www.vinayakd.com/
7 июл 2024