I want to build a cheap wheel encoder by myself. – Need some help here. I want to build a cheap wheel encoder by myself. Now, my idea was to use a photodiode and a LED. What i don’t know is how to use the output from photodiode to put on a GPIO on my MCU board. Do i need some resistors or something. Aaaa, i need a high level of 5V for my GPIO. I – AV
Answer – Please study Links Below
Optical Encoder Project – “Many years ago, I competed in MASLab, an MIT competition to build an autonomous robot. A year or two after that, I was on the MASLab staff, helping prepare the hardware for the year’s competition. One of the projects I worked on was an optical encoder.”
“A typical encoder uses optical sensor(s), a moving mechanical component, and a special reflector to provide a series of electrical pulses to your microcontroller. These pulses can be used as part of a PID feedback control system to determine translation distance, rotational velocity, and/or angle of a moving robot or robot part.”
“In the first and second post of this series you saw the basics of how to use photointerrupters. Now it’s time for practice. We make a rotary encoder. Here we take a single photointerrupter that gives us the pulses we can count.”
Make Your Own Encoders chat – “I’m starting a·dedicated·thread on the specific encoders I used on my Homebuilt platform. I had great results. A word about the encoder disks: they must be mounted PERFECTLY to achieve consistency. Perfectly flat, true, and concentric.
Here is a method for making an encoder with two sensors for your application. If you only need speed sensing, you may want to skip down to the construction section. The important variables are the radius of the circle (r), the distance between the two optical sensors (s), and the number of divisions in the wheel (d). …..
Use a photointerrupters, even from an old wheel mouse if you want or build one. Then you need a Wheel with stripes and a Schmitt Trigger Gate or Comparator
A rotary encoder, also called a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle to an analog or digital code.