I’m trying to control my servo using force resistive sensor. But my servo does absolutely nothing. I tried many different wiring schemes but nothing helped. My sensor output is correct, but after some time it starts to look like this: sensor = 1E;
sensor = 1CE etc.
Maybe my servo has not enough energy?
My current wiring:
Do you think your 'sensor' value will ever get '0'? I don't think so. That means your servo always get the command to move to 180 and will never move elswhere.
And what servo are you using? servo.write(180) will create a pulse of 2.5ms in your case. Many digital servos will ignore this completely, because it is out of their specs.
If the battery pack struggles to start the servo, add a 100uF electrolytic capacitor across VCC and GND at the servo. This will help stabilize the supplied power as the servo starts moving, when power load is greatest.