Monitoring Potentiometer Values Using Arduino's Analog Input
by dhamodaran kkp in Circuits > Arduino
90 Views, 1 Favorites, 0 Comments
Monitoring Potentiometer Values Using Arduino's Analog Input
![circuit connections.png](/proxy/?url=https://content.instructables.com/FJK/Z3OW/LSONTM27/FJKZ3OWLSONTM27.png&filename=circuit connections.png)
The objective of this experiment is to understand how to interface a potentiometer with Arduino's analog input and monitor the changing resistance values in a virtual environment using Tinkercad Circuit.
Connections
![FJKZ3OWLSONTM27.png](/proxy/?url=https://content.instructables.com/FV4/V0Y3/LSONTM2O/FV4V0Y3LSONTM2O.png&filename=FJKZ3OWLSONTM27.png)
- Add an Arduino simulator and a potentiometer from the components library.
- Connect the potentiometer's three terminals to the corresponding pins on the Arduino: connect one end to 5V, the other end to GND, and the middle pin to an analog input pin A0
Code Block
![code block.png](/proxy/?url=https://content.instructables.com/F50/4HB1/LSONTM3G/F504HB1LSONTM3G.png&filename=code block.png)
follow the code block
Simulate
![simulation](/proxy/?url=https://content.instructables.com/FDW/AFGH/LSONTM5L/FDWAFGHLSONTM5L.jpg&filename=simulation)