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.

Arduino-Based Optical Tachometer

Step 5Putting it All Together

Putting it All Together
«
  • Workbench.jpg
  • DSC_1480.JPG
  • Detail2.jpg
  • Detail.jpg
  • Beakmans Motor.jpg
The IR LED should be pointed at the IR detector over a gap of a few inches. While you can tape the detector to the table and hold the IR LED in your hand (as I did during testing), this is pretty awkward. What you want to do is to build a makeshift frame that keeps the emitter and detector aligned, but leaves enough space that the motor coil can rotate between them and break the light path with the strip of tape.

I built a KNex frame where the upper arm can slide up and down and used rubber bands to secure the wires that go to the LED and phototransistor, but you can whatever you can find - LEGO, Popsicle sticks, stiff wire, whatever.

You can test to see if the circuit and program is working by downloading the sketch to the Arudino and using your finger to break the light beam between the LED and photodetector. Every time you break the beam, the status LED should toggle on and off. You can turn on the serial monitor in the Arduino software and you should see a "0" being out every second. If you break the beam a few times, the "0" should change to a small number.

If that is working, you are ready to integrate the motor.

Get the motor spinning with the tape on the coil, make sure the detector circuit is working and the serial monitor is on, then slide the motor in between the LED and detector. If everything is working, the RPM of the motor should show up on the serial monitor on the PC.

The best performance I've got so far was around 1200 RPM. Leave comments if you do better and what you did differently!
« Previous StepDownload PDFView All StepsNext Step »
1 comment
Feb 6, 2010. 1:31 AMLenny24 says:
Hello. Great Instrucrable; I need the kind of Script for an RC-Car Engine-RPM-Meter (OMG, Creepy Word ;))
And i Found out, That you can also Use a Reed Sensor for Measuring. Or an Hall-Sensor. I Tried out Both and  the Hall sensor worked best for me.

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!
13
Followers
3
Author:CMPalmer