top of page
์ž‘์„ฑ์ž ์‚ฌ์ง„Soojin Woo

Making an Encoder

โ€ข Programming Language: Arduino โ€ข 3D printing

โ€ข Function of Encoder - ๐—™๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐Ÿญ: we takes the value of the Photo Transistor(A) and We make the status of LED to be changed when the value has been changed. If the sensors are covered, LED become 'ON'. ('OFF' if sensors are not covered up)

- ๐—™๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐Ÿฎ: If we run the code, motor rotates clockwise. And then outputs the rotation direction and the number of rotations. Once the switch is pressed in the process, the rotation direction is recognized through the photo sensor. Then it prints out the information about the rotation direction and the number of rotations. If the switch is pressed again, it rotates clockwise. And it also outputs the direction of rotation and the corresponding number of rotations.

- ๐—™๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐Ÿฏ: The switch is pressed once, the motor rotates three and a half turns clockwise. Switch is pressed twice motor rotates counterclockwise.














์กฐํšŒ์ˆ˜ 15ํšŒ๋Œ“๊ธ€ 0๊ฐœ

์ตœ๊ทผ ๊ฒŒ์‹œ๋ฌผ

์ „์ฒด ๋ณด๊ธฐ

Comments


bottom of page