Home Chapter 8 Maxuino/Arduino analog input with potentiometer

Site Search

GTranslate

Chinese (Simplified) French German Italian Portuguese Russian Spanish
Maxuino/Arduino analog input with potentiometer

You can also create an input into your Arduino UNO reading analog voltages though of course here you must use the analog input pins. On the Arduino UNO, those are pins A0, A1, A2, A3, A4, and A5 or numerically in order pins 14, 15, 16, 17, 18 and 19.

 

CC Arduino design for potentiometer in Arduino UNO (Diecimila)

 

Schematic for the circuit.

CC Arduino schematic design for potentiometer in Arduino UN


The code for the analog input looks like this.

Copyright Ken Rinaldo