Cov txheej txheem:

Stepper Motor Nrog ESP32 Board: 4 Cov Kauj Ruam
Stepper Motor Nrog ESP32 Board: 4 Cov Kauj Ruam

Video: Stepper Motor Nrog ESP32 Board: 4 Cov Kauj Ruam

Video: Stepper Motor Nrog ESP32 Board: 4 Cov Kauj Ruam
Video: Phluaj Phlaub Tsis Muaj Tis (Thiaj Tsis Nrog Luag Muaj Khub) By Huab Vwj 2024, Kaum ib hlis
Anonim
Image
Image
Kev Sib Txuas Circuit Court rau Stepper Motor thiab ESP 32
Kev Sib Txuas Circuit Court rau Stepper Motor thiab ESP 32

Stepper motors yog DC motors uas txav hauv cov kauj ruam tsis sib xws. Lawv muaj ntau coils uas tau teeb tsa hauv pab pawg hu ua "phases". Los ntawm kev txhawb zog txhua theem nyob rau hauv ntu, lub cev muaj zog yuav tig, ib kauj ruam zuj zus.

Stepper motors muaj txiaj ntsig zoo hauv kev tsim cov phiaj xwm uas xav tau qhov chaw nyob meej xws li 3D tshuab luam ntawv. Vim muaj qee qhov kev txwv peb muaj ntau hom cav uas hu ua servo motors.

Cov kev txwv yog: -

1. kos lub zog txawm tias tsis ua haujlwm ib qho hlo li.

2. tsawg dua torque ntawm kev kub ceev.

3. Tsis muaj lub tswv yim tswv yim zoo li servo motor.

Ntxiv mus, Stepper lub cev muaj zog xav kom tsav tsheb sib txuas nrog cov laug cam ua haujlwm tab sis peb tuaj yeem txuas servo motors ncaj qha rau Arduino lossis esp32 board.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

1. Stepper Motor -

2. Tsav tsheb -

3. ESP32 -

4. Jumper xov hlau -

5. Breadboard (xaiv tau) -

6. Arduino IDE software

Teeb koj li Arduino IDE ua ntej xa cov cai hauv ESP32 yog qhov tseem ceeb heev:-https://www.instructables.com/id/Setting-Up-Arduino-IDE-for-ESP32-Board/

Kauj Ruam 2: Kev Sib Txuas Circuit Court rau Stepper Motor thiab ESP 32

Kev Sib Txuas Circuit Court rau Stepper Motor thiab ESP 32
Kev Sib Txuas Circuit Court rau Stepper Motor thiab ESP 32

Stepper lub cev muaj zog ua haujlwm ntawm 5v volts. yog li txuas 5V ntawm tus tsav tsheb mus rau ESP 32 Vin.

Tsav tsheb ESP32 board

In1Pin 25in2Pin 33

3 pin 32

4p35 ib

VCC VIN

GND GND

Kauj Ruam 3: Yuav Ua Li Cas Upload Code hauv ESP 32 Pawg Thawj Coj

1. Nyem rau upload.

2. Yog tsis muaj qhov yuam kev. Hauv qab ntawm Arduino IDE, thaum peb tau txais cov lus Txuas …, …, 3. Nias lub pob khau raj ntawm ESP 32 pawg thawj coj kom txog thaum koj tau txais cov lus ua tiav xa tawm.

4. Tom qab koj tus lej tau xa tawm tiav. Nias pab khawm kom rov pib dua lossis pib code tso rau ntawm ESP32 pawg thawj coj.

Pom zoo: