Multi-Input Analog Reading with Arduino Uno
Jump to navigation
Jump to search
Overview
This tutorial takes the reader through a step-by-step solution to reading multiple analog inputs with an Arduino Uno simultaneously.
Justification
The Arduino Uno is equipped with only one ADC (analog-to-digital converter). Thus, it is not possible to achieve simultaneous readings. The ADC multiplexer needs time to switch and the voltage needs to stabilize.
Materials Needed
- Arduino Uno
- Arduino's IDE
- Multiple analog inputs
Process
Two solutions are available to us depending on the context. 1) If taking readings close together is important: create a delay between readings and take two readings per input and discard the first (to get a more accurate reading) 2) Otherwise create separate read functions that operate at different times