I recently bought some HS-311 Hitec Servos. I am trying to modify them, but when I use my microcontroller to tell it to go to 0, all I hear is clicking. I have tried other pulses also, and it still gives me the same clicking. I have tried multiple servos, and they all do the same thing. Can anyone help me with my problem?
Here is the code (modified from $50 robot)
Sorry, but this subset of a program tells me less than nothing
Where does the clicking come from (the servo or somewhere else)?
How fast is the clicking?
What happens if the servo only gets the supply (positive and negative battery voltage) and the servo signal wire is disconnected?
Does it happen on unmodified servos (that you have never opened)?
Should I build the microcontroller first and then modify the servos?
Either that, or find some other means of generating a 1.5ms positive pulse every 20ms.
If you have an oscilloscope (or access to same), check whatever you use to generate this pattern.