Your shopping cart is empty!
Control Stepper Motor 28BYJ-48 Using TTGO T-Display ESP32
- Idris Zainal Abidin
- 11 Dec 2019
- 1623
Introduction
A stepper motor is an electric motor that rotates in discrete step increments. The movement of each step is precise and repeatable; therefore, the motor’s position can be controlled precisely without any feedback mechanism. Nowadays, it is being used widely in 3D printers, CNC machine or laser engraving (like Snapmaker). In this tutorial, I will share the basic steps to control stepper motor movement using ESP32 board.
You can read following links to know more how stepper motor works:
Video
This video shows how to control stepper motor model 28BYJ-48 using ESP32 board.
Hardware Preparation
This is the list of items used in the video.
- TTGO T-Display ESP32 1.14 Display Module
- 12V 28BYJ-48 Stepper Motor + ULN2003 Driver Board
- LiPo Rechargeable Battery 11.1V 500mAh 25C
- Breadboard
- Jumper Wire
Sample Program
This sample program will allow user to control stepper movement through button 1 and 2 (on TTGO T-Display ESP32 board). You need to install following library on Library Manager:
- TFT_eSPI by Bodmer Version 1.4.20
Thank You
References:
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.