Rotary Encoder - Hacking a Geared Motor
My Latest Project "Swiss Milka Cow" needs some Positional feedback on 3 of its motors.
The Mod will give 36 pulses/Rev of the main axle.
That equates to 10° /pulse.
News Extra :- Did same mod to a GM2 motor
(this Yields 50 pulses/Rev) then if you paint 6 bars on the gear then 300 pulses/Rev is possible.
NoneStreamlink Rotary Encoder link :-
Unscrew the GM Motor casing and carefully crack it open.
Make a Square hole (with a square drill if you have one) just big enough to accept the QRD1114
This is the basic circuit i use - i "Free Formed" the circuit and encased it in Hot Glue for protection
Be careful to follow the Pin numbers and not the physical layout shown here........
I found that Acrylic paint was the best way to make bars on the Gear wheel.
Every rotation of the main axle means that this gear turn 6 times.
Painting 6 bars around the gear yields 36 pulses/rotation .......thats even now......
To fix the Paint a liberal coating of the "Trouble and Strifes" clear nail varnish giving a tough surface.
Looking into the "Loch" reveals the simple but effective Black/White Bars.
Glue the QRD1114 as close as possible to the gear wheel surface.
NB. This is without smoothing capacitor as in the circuit above.
Although the trace looks a bit glitchy the arduino reads the pulses very well.
..........just have to make 3 more now ...........