Secret weapon how to promote your YouTube channel
Get Free YouTube Subscribers, Views and Likes

Stepper motor control with buttons and rotary encoder

Follow
Curious Scientist

UPDATE [20210111] I made a more relevant circuit drawing than the one shown in the video. The drawing now has the actual rotary encoder (Keyes KY040) 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 motorrelated 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

posted by bmt04d2