Adding an analog feedback tap to a 9g Micro Servo

Internally the servo has a feedback loop that is driven off of a variable resistor. The resistance value changes as the servo sweeps across its range of motion. This can act as a proxy for the servo's position. You can buy servos with an extra wire that exposes the voltage across that variable resistor or you can make your own. Or, you can add your own sensing wire to the potentiometer. I have a bunch of the 9g micro servos for various projects. The one below has an extra green wire coming out of it that is connected to an analog input on this ESP32 C3. The ESP32 can see the location of the servo while it is in motion. See the Video on YouTube Sample Program Output The checksweep.py program in this GitHub repository FreemanSoft ESP Python The sample MicroPython tester moves a servo from 0 degrees to 180 degrees in steps and then returns to 0 degrees. It logs the analog value of the potentiometer at the end of every move. It is actually...