the problem is I am unable to control my Sg90 servo via pedometer which is B10K , don't know what that means
so when i turn my knob it doesn't work , okay that sounded wired lets try again , When I turn pedometer the sevor does't move instead it warms up when I hook 9v battery to arduino.
can you please show me the correct way of doing this.
If you're going to ask questions and like to get some fitting answers, you should supply as much information as possible.
You should post your code (between code tags, thanks) so someone can have a peek for some obvious mistakes.
And why are you using a sensor that counts your steps (movements of your legs / you walking around) to move a servo ?
Maybe you meant the potentiometer visible in the pictures ?
If it has printed B10K on it, that means it has a maximum resistance of 10.000 Ohms and a linear scale, unless it is a very old potentiometer.
Are you able to control the servo using some other sketch (like the sweep example in IDE) ?
Hi All,
I have found that some of those cheap Chinese servo's do in fact work back to front! That is that LEFT which is usually '0' is in fact RIGHT or '180' and if you ask it to goto Right it can't just pushes upto the stop and gets over heated!! Try changing your code and swap over the 0 and 180 values. I have at least one servo that works this way and I have to set LEFT to 180 and RIGHT to 0.