Difference: Motors (11 vs. 12)

Revision 122022-09-23 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Motors

Introduction

Line: 59 to 58
 
Pin on the driver module pin on the ESP32
5-12V 5V
Gnd Gnd
Changed:
<
<
In1 D1: GPIO 26
In2 D2: GPIO 18
In3 D3: GPIO 19
In4 D4: GPIO 23
>
>
In1 D0: GPIO 26
In2 D5: GPIO 18
In3 D6: GPIO 19
In4 D7: GPIO 23
 A stepper object is created with:

Added:
>
>
 
from stepper import steppingMotor 
stepper = steppingMotor() # the parameters p1,p2,p3,p4 are optional and allow to connect the stepping motor to different GPIO lines  
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback