Hello this is my first time on the forums and I am having trouble controlling 4 servo motors with 4 potentiometers. When I test it on the Arduino all servos are being controlled by one potentiometer, I want each individual potentiometer to control its assigned servo. Here is my code and thank you for the help!
Collinz4:
Hello this is my first time on the forums and I am having trouble controlling 4 servo motors with 4 potentiometers. When I test it on the Arduino all servos are being controlled by one potentiometer, I want each individual potentiometer to control its assigned servo. Here is my code and thank you for the help!
The code looks fine - how have you wired it up? My guess is you've connected only the first pot and
discovered it controls all the servos. That's entirely expected as you have floating inputs.
Yes my wiring was off, I bought an inexpensive breadboard and I believe it had some resistance problems. I looked at the signal with my oscilloscope and it had a ton of feedback. Thanks for the help and sorry for the late response back.