Projects / Ideas / Optical encoder motor speed

Optical encoder motor speed

IntermediateMotionIdeaReviewed
In short

How do you build an optical encoder motor speed?

A slotted disc and an optical sensor measure the speed of a small motor and hold it with a simple loop. You need Arduino Nano, Optical encoder speed sensor (slot, LM393), DC motor 130 size (toy motor), MOSFET IRLZ44N, Rectifier Diode 1N4007, 9 V battery and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 270 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Close a speed loop.

How to build it

  1. Count slots per second
  2. Convert to RPM
  3. Drive the motor with PWM
  4. Add a proportional controller
  5. Test with load

Related projects

Common questions

What parts do I need for the optical encoder motor speed?

Arduino Nano, Optical encoder speed sensor (slot, LM393), DC motor 130 size (toy motor), MOSFET IRLZ44N, Rectifier Diode 1N4007, 9 V battery and Breadboard 830 Tie Points.

How long does the optical encoder motor speed take to build?

About 270 minutes for a intermediate maker.