Editing Stepper Motor and ULN2003
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | see https://github.com/zhcong/ULN2003-for-ESP32 | |
− | |||
− | |||
− | |||
− | |||
= Description = | = Description = | ||
Line 14: | Line 10: | ||
* http://www.jangeox.be/2013/10/stepper-motor-28byj-48_25.html | * http://www.jangeox.be/2013/10/stepper-motor-28byj-48_25.html | ||
* https://cookierobotics.com/042/ | * https://cookierobotics.com/042/ | ||
− | |||
− | + | [[File:Stepper03.JPG|300px]] | |
− | [[File:Stepper03.JPG| | ||
ULN2003 driver module. | ULN2003 driver module. | ||
Line 25: | Line 19: | ||
= How to connect it electrically = | = How to connect it electrically = | ||
− | [[File:Stepper-c.JPG| | + | [[File:Stepper-c.JPG|x400px]] |
− | |||
− | |||
− | |||
[[File:Stepper-cables01.JPG|x200px]] | [[File:Stepper-cables01.JPG|x200px]] | ||
Line 45: | Line 36: | ||
from machine import Pin | from machine import Pin | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
In1 = Pin(32,Pin.OUT) | In1 = Pin(32,Pin.OUT) | ||
In2 = Pin(33,Pin.OUT) | In2 = Pin(33,Pin.OUT) | ||
Line 65: | Line 49: | ||
s1.step(509) | s1.step(509) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | |||
= Related Tutorial Videos = | = Related Tutorial Videos = | ||
− | + | <youtube>PEKjvD1uQe4</youtube> | |
− |