3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Hack your servo v2.00  Add 10-bit incremental / absolute encoder feedback to your hobby servo.

Hack your servo v2.00  Add 10-bit incremental / absolute encoder feedback to your hobby servo.
Modified continuous-rotation servos are used extensively by roboticists due to their small form-factor, enclosed motor-gearbox, ease of mounting and high-availability. Some users keep the original drive electronics and the potentiometer feedback element but this approach allows for limited position control and velocity control / profiling. Others tend to remove them and use external control/drive boards and custom-made encoders. Ideally one would prefer to have the feedback element and the new drive electronics enclosed inside the servo. Unfortunately hacks involving optical devices and code-wheels have very limited resolution and require a lot of precise work.

Magnetic encoders use spinning current Hall technology to measure magnetic flux distribution across the surface of the chip. They typically come in high resolutions and require very few external components. The operational setup requires a small disk magnet with circumferential field distribution to be attached on the rotating element whose angular deflection is to be measured, and in close proximity to the sensor IC.

This hack utilises Austrian Microsystems’ sensor IC as feedback element for a modified servo. The servo to be hacked is the popular Hitec HS485 HB.


Materials list:
- Standard-size or ¼ scale hobby servo.
- AS5040 IC
- Circular Magnet with circumferential field distribution, 2.5mm high, 6mm in diameter.
- IC breakout board (download schematics from here: http://01mech.com/magenc)
- Styrene plate 2mm thick.
- Small piece of wood 10mm thick.
- Multi-strand cables.
- Heat-shrink

Tools list:
- Flat file
- Sanding paper or abrasive disk.
- 5min epoxy.
- Hand-drill or press-drill.
- Drill bits: 3.5mm and 5mm in diameter
- Heat-gun

 
Remove these adsRemove these ads by Signing Up
 

Step 1Gutting the servo

Gutting the servo
Procedure:

- Start by removing the control / power electronics from the servo.

- Remove the feedback potentiometer.

- If continuous rotation is required remove the mechanical stop from the servo’s output gear.

- Disassemble the potentiometer keeping the rotation shaft. This is going to be used as a support shaft for the encoder’s disk magnet. The magnet is going to be glued onto it.

« Previous StepDownload PDFView All StepsNext Step »
2 comments
Feb 24, 2010. 7:04 PMwestfw says:
"Circular Magnet with circumferential field distribution"

This is not your typical disk magnet (which has axial field distribution), right?  Where do you find them?


Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
2
Author:Antonb