by DerekZahn » Wed Dec 27, 2006 6:05 pm
by DerekZahn
Wed Dec 27, 2006 6:05 pm
While I work on little bits and doodads for Bing's feet, I thought it might be interesting to illustrate what I do to the servos -- I like to get position feedback which involves adding one wire to the servos. The processor inside the HSR-5995TG uses the voltage from the center terminal of the built-in potentiometer to determine the servo's position, so I want to expose that same voltage to my electronics.
I start by securely mounting the servo:
bigger:
http://happyrobots.com/servo1.jpg
Removing the back of the servo reveals the electronics board, which has to be removed to get at the potentiometer. The motor is directly mounted to the electronics board in three places (two power leads and a case ground).
bigger:
http://happyrobots.com/servo2.jpg
The solder has to be removed to get the board off. Do NOT try to just pry the board out. Either the motor leads will break or the back of the motor will come off, both bad! You could probably do this with solder braid but they make tools to do this sort of thing that aren't too expensive:
bigger:
http://happyrobots.com/servo2a.jpg
Here's what it looks like with the solder removed:
bigger:
http://happyrobots.com/servo3.jpg
Now the board comes off, revealing the insides of the servo. There are two spots that the new wire could be added -- either directly to the potentiometer or to the spot where the yellow wire attaches to the circuit board. I find it easier to attach it to the potentiometer.
There's a pretty sizable empty space above the potentiometer which leaves plenty of room for the new wire. If I recycle these servos someday for Bing 4, I might try putting the extra servo electronics into a little board that will mount directly onto the potentiometer, to provide a serial bus, position feedback, and maybe also current sensing. So it would be like the OpenServo project except I'd leave the motor control transistors and processing alone.
bigger:
http://happyrobots.com/servo4.jpg
A lot of what I do is pretty delicate soldering, and it helps to have a decent soldering iron (though 50 watts is more than plenty). I also use the pointiest tips that I can find, and I keep them filed to a pretty sharp point. You're probably not supposed to take a file to the tips for some reason, but it works for me.
bigger:
http://happyrobots.com/servo5.jpg
In almost all cases, it's a good idea to put a bit of solder on the end of a wire before attaching it to its destination. It makes the soldering go much more smoothly and makes sure that the wire strands don't go flying in all directions.
bigger:
http://happyrobots.com/servo6.jpg
Here's the result after the modification. Besides adding the new wire, I also trim off part of the strain relief, because my designs tend to not like the big strain relief thing sticking out of the side of the servo.
I believe the servo warranty is no longer valid, ha ha!
bigger:
http://happyrobots.com/servo7.jpg
Put the electronics back on and solder it back up. THe brown discoloration is just solder flux and is harmless.
bigger:
http://happyrobots.com/servo8.jpg
And then put the back on again. I don't use the rear swivel so I use the alternate back.
bigger:
http://happyrobots.com/servo9.jpg
While I work on little bits and doodads for Bing's feet, I thought it might be interesting to illustrate what I do to the servos -- I like to get position feedback which involves adding one wire to the servos. The processor inside the HSR-5995TG uses the voltage from the center terminal of the built-in potentiometer to determine the servo's position, so I want to expose that same voltage to my electronics.
I start by securely mounting the servo:
bigger:
http://happyrobots.com/servo1.jpg
Removing the back of the servo reveals the electronics board, which has to be removed to get at the potentiometer. The motor is directly mounted to the electronics board in three places (two power leads and a case ground).
bigger:
http://happyrobots.com/servo2.jpg
The solder has to be removed to get the board off. Do NOT try to just pry the board out. Either the motor leads will break or the back of the motor will come off, both bad! You could probably do this with solder braid but they make tools to do this sort of thing that aren't too expensive:
bigger:
http://happyrobots.com/servo2a.jpg
Here's what it looks like with the solder removed:
bigger:
http://happyrobots.com/servo3.jpg
Now the board comes off, revealing the insides of the servo. There are two spots that the new wire could be added -- either directly to the potentiometer or to the spot where the yellow wire attaches to the circuit board. I find it easier to attach it to the potentiometer.
There's a pretty sizable empty space above the potentiometer which leaves plenty of room for the new wire. If I recycle these servos someday for Bing 4, I might try putting the extra servo electronics into a little board that will mount directly onto the potentiometer, to provide a serial bus, position feedback, and maybe also current sensing. So it would be like the OpenServo project except I'd leave the motor control transistors and processing alone.
bigger:
http://happyrobots.com/servo4.jpg
A lot of what I do is pretty delicate soldering, and it helps to have a decent soldering iron (though 50 watts is more than plenty). I also use the pointiest tips that I can find, and I keep them filed to a pretty sharp point. You're probably not supposed to take a file to the tips for some reason, but it works for me.
bigger:
http://happyrobots.com/servo5.jpg
In almost all cases, it's a good idea to put a bit of solder on the end of a wire before attaching it to its destination. It makes the soldering go much more smoothly and makes sure that the wire strands don't go flying in all directions.
bigger:
http://happyrobots.com/servo6.jpg
Here's the result after the modification. Besides adding the new wire, I also trim off part of the strain relief, because my designs tend to not like the big strain relief thing sticking out of the side of the servo.
I believe the servo warranty is no longer valid, ha ha!
bigger:
http://happyrobots.com/servo7.jpg
Put the electronics back on and solder it back up. THe brown discoloration is just solder flux and is harmless.
bigger:
http://happyrobots.com/servo8.jpg
And then put the back on again. I don't use the rear swivel so I use the alternate back.
bigger:
http://happyrobots.com/servo9.jpg