Cov txheej txheem:
- Kauj Ruam 1: Tau Txais Cov Txheej Txheem Tsim Nyog
- Kauj Ruam 2: Txuas Lub Hwj Chim
- Kauj ruam 3: Txuas Servo
- Kauj Ruam 4: Txuas Cov Khawm
- Kauj Ruam 5: Tshawb xyuas Circuit
- Kauj Ruam 6: Txoj Cai
- Kauj ruam 7: Ua kom tiav
Video: Servo Tutorial: 7 Cov kauj ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Siv Arduino los tswj lub cav servo nrog kev siv ob lub khawm.
Kauj Ruam 1: Tau Txais Cov Txheej Txheem Tsim Nyog
Thov siv cov kab ntawv txuas yog tias koj xav tau ib yam ntawm cov khoom tseem tuaj yeem tshawb xyuas lub xaib rau lwm yam khoom plig zoo arduino, lawv xa thoob ntiaj teb dawb thiab muaj kev pabcuam zoo. Ntxiv rau koj txhawb kuv:)
Mus rau ntawm qhov chaw ntawm no.
Ua tsaug rau koj kev txhawb nqa.
1) Arduino Link: Arduino Compatible Uno R3 Rev3 Development Board
2) Breadboard Txuas: Ib nrab-me me 400-Pin Electronics DIY Breadboard lossis 830-Point Solderless Electronics DIY Breadboard
3) Laub Khawm Txuas: DIP P4 Sqaure Hloov Push Nyees khawm (100-Pob)
4) Jumper Cables Txuas: Multicolored 40-Pin DuPont Breadboard Jumper Wires (20cm)
5) Ob 10k Ohm Resistors Txuas: DIY Universal 1/4W 1% Hlau Zaj Duab Xis Resistor (600PCS)
6) Servo Tsav Txuas: Ntauwd Pro SG90 9g Gear Steering Servo
Kauj Ruam 2: Txuas Lub Hwj Chim
Txuas GND thiab 5V
Kauj ruam 3: Txuas Servo
Liab rau 5V
Xim av/Dub rau GND
Txiv kab ntxwv rau tus pin 9
Kauj Ruam 4: Txuas Cov Khawm
Ib qho ntawm cov nyees khawm rau DIGITAL 2
Lwm qhov rau DIGITAL 4
Kauj Ruam 5: Tshawb xyuas Circuit
Xyuas kom tseeb tias lub voj voog raug
Kauj Ruam 6: Txoj Cai
Kuv siv Sweep piv txwv los ntawm Arduino thiab hloov kho nws kom ua haujlwm.
#suav nrog
const int buttonPin = 2;
const int buttonPin2 = 5;
int buttonState = 0;
int buttonState2 = 0;
Servo tsav;
int txoj haujlwm = 0;
void teeb tsa () {
servo.attach (9);
pinMode (buttonPin, INPUT);
pinMode (buttonPin2, INPUT);
}
void voj () {
buttonState = digitalRead (buttonPin);
buttonState2 = digitalRead (buttonPin2);
yog (buttonState == HIGH && txoj haujlwm <180) {
servoA.write (txoj hauj lwm ++);
ncua (5);
}
yog (buttonState2 == HIGH && txoj haujlwm> 3) {
servoA.write (txoj hauj lwm--);
ncua (5);
}
}
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Cov av noo noo Cov Lus Qhia Tswj Xyuas Internet Txuas Cov Dej Dej (ESP32 thiab Blynk): 5 Cov Kauj Ruam
Cov av noo noo Cov lus pom zoo Tswj Xyuas Internet Txuas Cov Dej Dej (ESP32 thiab Blynk): Tsis txhawj xeeb txog koj lub vaj lossis nroj tsuag thaum koj mus rau hnub so ntev, lossis tsis nco qab ywg dej koj cov nroj tsuag txhua hnub. Zoo ntawm no yog kev daws teeb meem Nws cov av ya raws tswj hwm thiab thoob ntiaj teb txuas nrog cov dej txau dej tswj los ntawm ESP32 ntawm software pem hauv ntej kuv
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Cov Ntawv Cim Hluav Taws Xob LED Taws Teeb Cov Neeg Hlau Cov Ntawv Cim - Cov Khoom Siv Soldering: 11 Kauj Ruam
Cov Khoom Siv Hluav Taws Xob LED Taws Teeb Cov Neeg Hlau Daim Npav - Cov Khoom Siv Soldering: Kab lus no tau txaus siab txhawb nqa los ntawm PCBWAY.PCBWAY ua cov qauv zoo PCBs rau tib neeg thoob plaws ntiaj teb. Sim nws rau koj tus kheej thiab tau txais 10 PCBs rau tsuas yog $ 5 ntawm PCBWAY nrog qhov ua tau zoo heev, Ua tsaug PCBWAY. Robadge#1 uas kuv tau tsim rau
Hack Koj Tus Neeg Sawv Cev V1.00 - Tig Koj Cov Servo Rau Hauv Cov Hwj Huam Tawm Tawm: 7 Cov Kauj Ruam
Hack Koj Tus Neeg Sawv Cev V1.00 - Tig Koj Cov Servo rau hauv Qhov Ua Haujlwm Zoo Tshaj Tawm: Muab koj muaj cov cuab yeej thiab cov servo koj tuaj yeem tsim qhov no rau hauv ob peb daus las. Tus actuator txuas nrog tus nqi kwv yees li 50mm/min. Nws yog qhov qeeb tab sis muaj zog heev. Saib kuv cov vis dis aus tom kawg ntawm kab ntawv uas tus actuator me me