Learning about potentiometers
As part of The Midnight Clock’s development I am currently learning how to detect the position of a dial using an Arduino. It’s a relatively simple task – namely, monitor the voltage at the middle leg of a potentiometer using an analog input on the Arduino. You can see the official Arduino tutorial here: https://www.arduino.cc/en/tutorial/potentiometer What I discovered was that while the tutorial is correct, the reading from the potentiometer fluctuated (sometimes quite strongly), even when the pot wasn’t being…