Stepper motor control with buttons and rotary encoder
16.9 هزار بار بازدید -
4 سال پیش
-
UPDATE [2021-01-11] - I made
UPDATE [2021-01-11] - I made a more relevant circuit drawing than the one shown in the video. The drawing now has the actual rotary encoder (Keyes KY-040) that I used in the video and I also made a correction that was spotted by a viewer (Thank you!). The 5 V and GND wires were missing between the breadboard and the Arduino. Please check my webpage for the proper drawing.
Source code and schematics: https://curiousscientist.tech/blog/ar...
In this video I show you how to control your stepper motor using 2 buttons (direction control) and a rotary encoder (speed control). The code is relatively short and simple. I used the AccelStepper library as usual.
If you found this video useful, please subscribe to my channel!
Stepper motor-related playlist: Stepper motor related
Accelstepper: https://www.airspayce.com/mikem/ardui...
If you want, you can support me by buying the parts using my affiliate links:
https://curiousscientist.tech/tools
Source code and schematics: https://curiousscientist.tech/blog/ar...
In this video I show you how to control your stepper motor using 2 buttons (direction control) and a rotary encoder (speed control). The code is relatively short and simple. I used the AccelStepper library as usual.
If you found this video useful, please subscribe to my channel!
Stepper motor-related playlist: Stepper motor related
Accelstepper: https://www.airspayce.com/mikem/ardui...
If you want, you can support me by buying the parts using my affiliate links:
https://curiousscientist.tech/tools
4 سال پیش
در تاریخ 1399/02/08 منتشر شده
است.
16,904
بـار بازدید شده