Make a very useful digital measuring tape with an atmega 328p and a mouse rotary encoder.very simple very useful and also make use of an old mouse. for more details visit my youtube channel,i have uploaded a detailed vedio about this project.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Watch the Vedio
consider subscribing if you like the content.
i will update the channel with new projects every week.
Step 2: Collect the Components
2)rotary encoder from old moude
4)7 segment display pannel (minimum 3 digit)
6)1 push button (reset switch)
7) 7805 voltage regulator
Step 3: Make the Circuit
The rotary encoder have four terminals,the positive terminal is the outer casing.You should find the ground terminal by examining the circuit board of the mouse.you can connect either of the remaining pin to the microcontroller.you can use any digital or analog pin but also make the change in the code.check the pins for connecting the 7 segment display from the code.if any mistake in reading it might be the problemof you encoder calibrate it with scale for perfect reading.....in the encoder the full rotation is divided into 10 segments and for my encoder 3 segments gives 1 cm....for detailed information watch the youtube channel....