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.

Tamiya 72004 worm gearbox speed sensor

Tamiya 72004 worm gearbox speed sensor
«
  • r0013490.jpg
  • r0013492.jpg
I wanted to accurately control the speed of the motor in a Tamiya 72004 worm gearbox for a robot I am building. To do this you must have some way to measure the current speed. This project shows the evolution of the speed sensor. As you can see in the picture, the motor drives a worm gear directly attached to its output shaft, then a series of three gears to reduce the speed of the final output shaft.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Research your options

Research your options
«
  • r0013596.jpg
  • r0013594.jpg
  • r0013494.jpg
Generally, to measure the speed of a motor you need some sort of sensor. There are a few options, but probably the most common is an optical sensor, and these can be implemented in one of two ways: reflective or transmissive.

For a reflective sensor a disc with alternating black and white segments is attached to the motor or somewhere along the drive train. An LED (red or infra-red) shines a light onto the disc and a photodiode or phototransistor detects the difference between the light and dark segments by the amount of LED light reflected as the motor turns.

For an transmissive sensor a similar arrangement is used, but the LED shines directly at the photosensor. An opaque vane attached to the motor or gear train (or a hole drilled in one of the gears) breaks the beam, allowing the sensor to detect one revolution.

I will add links to a few examples of these later. This project used the transmissive sensor design, but I tried several variations, as you will see.
« Previous StepDownload PDFView All StepsNext Step »
25 comments
Feb 4, 2012. 11:28 AMvadipp says:
Hi, thanks for the idea!
How did you "figure out which side was the emitter and which was the detector using a multimeter"?
Jul 9, 2011. 6:47 AMejoseph del rosario says:
hi. shown in the picture at the first part. can use that motor w/ a gear box to become a generator? by putting a blade in the shaft? where can i buy that kind of motor? and the casing of the gear box.? thanks :D
Aug 20, 2008. 12:41 PMevilgenius 398 says:
genius
Mar 9, 2008. 10:46 AMTheInventor says:
Well done instructable! You had lots of pictures with lots of detail. +1 Added to favs
Aug 9, 2006. 7:45 PMofflogic says:
Ame- Checke out the natSemi LM18200 h-bridge driver? It kick the little h-bridges outta the water. it was made to run power seats & power windows, good for 3A continuous at 28 VDC. The Freescale MC33886 is even hardier, and runs up to 7.2 A at 40 VDC. I've got some 1"x2" circuit boards for the Freescale parts. Have you considered using back-EMF to sense speed? No sensor or mods needed, just cut the power for a few millisecods, then read the voltage produced by the motor, proportional to speed. Sure is cheap and easy.
Jan 14, 2008. 11:07 PMavinashdadialla says:
hi. we faced several problems with 33886.. its failing and vcc and ground is getting shorted! can u suggest any precautions to be taken?
Aug 21, 2006. 11:34 AMdtydc says:
You actually don't even need to cut power to the motor to measure back EMF. If you measure the current through the motor and you know the resistance of the motor windings you can figure out how much voltage is being dropped by the motor windings. Once you know that, you know that the rest of the voltage is being dropped by the back EMF "generator" effect. Of course the resistance of the motor windings changes as the motor heats up, but it's a pretty good model. Nothing like an encoder if you want real acuracy though . . .
Nov 12, 2006. 9:31 AMmagiceye says:
Hi Ame, I was thinking about your project,could you use magnets connected to a Hall effect IC and obtain a voltage to control the speed. I understand that car speedo`s work this way,using a rotating disc (with magnets).
Aug 2, 2007. 11:48 AMel_roboto_loco says:
Another easy way would be to use an infra-red reflective proximity sensor, and use a little strip of aluminum tape on the gear. The IR reflective sensors are about 50 cents from a surplus store. It wouldn't be a digital output, you'd have to use a comparator or A/D to see the return signal jump up in voltage when the shiny strip of tape went past it. Basically the same thing as using the hall-effect sensor, except the hall effect sensor can give you a digital output, if using the bi-polar digital type hall-effect sensor .
Aug 8, 2006. 8:49 PMtheRIAA says:
knghifty
Apr 21, 2007. 3:22 PMJames (pseudo-geek) says:
nifty*
Apr 21, 2007. 3:23 PMJames (pseudo-geek) says:
lol sorry I have this habit of fixing everything.
Apr 10, 2007. 10:35 PMMohit Don says:
hi i want ask you about the robot you ARE MAKING?
Nov 23, 2006. 12:43 PMThe Real Elliot says:
Sweet project, and a cool instructable. Thanks for stepping through all 3 phases. It's nice to see a few solutions to the same problem.

Favorite H-bridges are like (ummm) bellybuttons -- everyone's got one. I'll throw the SN754410 in the ring. Full control over 2 motors, each at 1A. (Or gang them together for serious juice.) And best is that it's un-smokeable -- you can't turn one side's transistors all on at once, which would short the thing out (and burn it up).

But anyway... Nice encoders!
Oct 19, 2006. 5:48 PMelectronicfreak22 says:
Wow thanks I was just thinking about if you can generate power from a motor I have about a million air hog engaines. Can I get more info on this? Thanks.
Sep 28, 2006. 11:55 AMstonehenge360 says:
i have a stupid question. if you have an electric motor, could you run it backwards; turning the gear and producing electrisity out the motor wires??
Aug 23, 2006. 10:08 PMbored boy says:
not bad you can use a transistor with binary code to control motor direction and speed
Aug 15, 2006. 11:53 PMofflogic says:
Tamiya? "Don't you know you can't stop Godzilla with conventional weapons!?!!" - R. Burr Cooking up a new Instructable on back-EMF system, yeah. Sharing is caring (to a point, anyway).
Aug 12, 2006. 5:11 AMmalgolad says:
Old computer mouses (not the optical models) are also a great source of opto-electronic parts. You get four phototransitor+led pairs and two encoder wheels out of each one.
Those wheels usually produce quite a lot of impulsions per revolution : http://www.sansyu.com/images/records/plastics/Decoder_Detail.jpg

Also, what about driving a very narrow beam through the teeth of one of the gear?
Aug 9, 2006. 12:10 PMCementTruck says:
What kind of robot are you building?

I'm in the process of collecting all the items needed for a remote control lawnmower. So far I have the lawnmower, wheelchair motors, wheels, and batteries, but I still need an alternator, speed controller and RC transmitter(radio). This project of yours might come in handy for me this winter.

http://www.evatech.net/ and http://www.webcom.com/sknkwrks/mowers.htm to see some RC Lawnmowers that I am trying to emulate. I've had this idea since I was a kid but never had the time, or $$ to do it. Looks like a few people beat me to the punch.

I'll post my Instructables when I finally get to this project.

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!
3
Followers
1
Author:ame