CD Smart
EGYPT • + Follow
Edit Project
Description
Stepper Motor Control
The port was implemented to connect the ESP and the driver so that the shield is integrated and a device to control the stepper motor.
Code
ESP12E/F
C/C++
const int stepPin = 5;
const int dirPin = 4;
const int leddirPin = 14;
const int stepsPerRevolution = 200;
void setup()
{
pinMode(stepPin, OUTPUT);
pinMode(dirPin, OUTPUT);
pinMode(leddirPin, OUTPUT);
}
void loop()
{
digitalWrite(dirPin, LOW);
digitalWrite(leddirPin,LOW);
for(int x = 0; x < stepsPerRevolution; x++)
{
digitalWrite(stepPin, HIGH);
delayMicroseconds(400);
digitalWrite(stepPin, LOW);
delayMicroseconds(400);
}
}
Schematic and Layout
CAD-Custom parts and enclosures
Aug 14,2024
85 views
Stepper Motor Control
Shield ESP12F_A4988 driver
85
0
0
Published: Aug 14,2024
Download Gerber file 1
BOM(Bill of materials)
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
Only PCB
PCB+Assembly
*PCBWay community is a shared platform and we are not responsible for any design issues.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-ShareAlike (CC BY-SA)
License.
- Comments(0)
- Likes(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
Remove
It looks like you have not written anything. Please add a comment and try again.
View More
View More
VOTING
0 votes
- 0 USER VOTES
0.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
More by CD Smart
- Stepper Motor Control The port was implemented to connect the ESP and the driver so that the shield is integrated and a de...
- Smart Home_8CH_10A Overall, the Smart Home 8-Line Board simplifies home automation and enhances convenience by centrali...
- Smart Home_4ch-smart_1.4 Overall, the Smart Home 4-Line Board simplifies home automation and enhances convenience by centrali...
- Smart Home_4CH_2A Overall, the Smart Home 4-Line Board simplifies home automation and enhances convenience by centrali...
- PET Machine The temperature and speed control board of the stepper motor is used to control the water bottle rec...
- Staircase lighting control The circuit works to sense movement using the SIR motion sensor, and when anyone approaches the sens...
- 4CH Relay Module Robust design using an NPN transistor to drive each relay with a PC817 optocoupler.Relay on LED indi...
- Police lighting The circuit that switches between red and blue lights to simulate police lights using the ESP8266 co...
- Smart Home Overall, the Smart Home 4-Line Board simplifies home automation and enhances convenience by centrali...
You may also like