Cov txheej txheem:
- Kauj Ruam 1: Kauj Ruam 1: Yam Koj Xav Tau
- Kauj Ruam 2: Kauj Ruam 2: Circuit
- Kauj Ruam 3: Kauj Ruam 3: Txoj Cai
- Kauj Ruam 4: Kauj Ruam 4: Casing
- Kauj Ruam 5: Nkag Siab Zoo
Video: Raspberry Pi 3 Timer Nrog Servo Tsav: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Lub hom phiaj ntawm qhov kev tsim no yog txhawm rau tsim lub sijhawm ua haujlwm tsis siv neeg nrog teev sijhawm siv Servo. Nws siv raspberry pi 3 ua lub khoos phis tawj thiab Python rau cov cai.
Kauj Ruam 1: Kauj Ruam 1: Yam Koj Xav Tau
Muaj tag nrho ntawm 17 ntu uas xav tau los tsim lub voj voog no. Qhov tseem ceeb xav tau rau lub sijhawm ua haujlwm no yog lub cav servo nyiam SG92R tus qauv, lub hom phiaj ntawm qhov kev pabcuam no yog ua ib feem ntawm lub sijhawm. Hauv nab hab sej, koj tuaj yeem teeb tsa lub kaum sab xis uas koj xav kom lub servo mus tso cai rau nws los ua qhov zoo siv rau lub sijhawm. Lwm qhov xav tau yog peb lub nyees khawm (txhua ntawm lawv rau lub sijhawm sib txawv), ib qho LED (los qhia thaum lub sijhawm txog), 330-ohm resistor (rau LED Circuit), 13 jumper/cables (txuas txhua yam) thiab 1 lub khob cij rau muab tso ua ke. Yog tias koj tseem xav ua lub casing koj yuav qee yam ntawm lub npov meej qee lub rooj ua npuas dej thiab cov yas yas.
Kauj Ruam 2: Kauj Ruam 2: Circuit
Circuitry yog qhov yooj yim tab sis kuv tseem yuav piav qhia nws -
Servo: Txhawm rau xaim lub servo koj yuav xav tau servo nws tus kheej thiab peb cov hlua txuas. Ua ntej tshaj, muab txhua lub jumper cables txuas rau peb kab nyob ntawm qhov kev pabcuam. Tom qab, saib cov xim ntawm servo, xim av = av (GND), liab = voltage (5V), thiab txiv kab ntxwv = GPIO.
Khawm: Txhawm rau xaim, txhua lub nyees khawm siv ib lub jumper txuas nws mus rau GPIO chaw nres nkoj thiab txuas nws mus rau ib lub peg ntawm lub pob. Tom qab ntawd, nqa lwm lub jumper txuas nws mus rau hauv av thiab muab tso rau qhov chaw nyob ib sab ntawm GPIO peg. Ua qhov no dua ob zaug rau lwm ob lub nyees khawm thiab txuas lawv mus rau ob qhov sib txawv GPIO pins.
LED: Txhawm rau xaim lub LED koj yuav xav tau ob lub dhia (ib qho rau hauv av thiab ib qho rau tus pin GPIO), 330-ohm resistor thiab coj nws tus kheej. pib los ntawm kev noj ib qho ntawm cov hlua jumper thiab muab tso rau hauv av tom qab ntawd txuas cov xov hlau mus rau tus tiv thaiv. Tom qab, coj tus coj thiab txuas tus pas me me rau tus tiv thaiv tom qab ntawd nqa lub xov tooj txuas thib ob thiab txuas nws mus rau qhov chaw nres nkoj GPIO tshiab (sib txawv los ntawm servos thiab cov nyees khawm) thiab txuas rau lwm sab ntawm lub jumper mus rau lwm ceg ntawm LED.
Hint: Koj tuaj yeem siv ob tus neeg dhia dhia ntxiv mus txuas ntxiv hauv av thiab GPIO chaw nres nkoj mus rau sab ntawm lub khob cij.
Kauj Ruam 3: Kauj Ruam 3: Txoj Cai
Cov cai rau Raspberrypi timer feem ntau yog muab los ntawm gpio xoom tsev qiv ntawv thiab tsis nyuaj rau rov ua dua-
Kuv kho/Min thiab Max: Tom qab, xa tawm cov haujlwm los ntawm lub tsev qiv ntawv muaj thaj ua rau thaj yog qhov kuv kho thiab min thiab max PW. Qhov cai no ua yog tias nws teeb tsa lub plawv dhia dav ntawm qhov kev pabcuam kom nws tuaj yeem ua haujlwm tau zoo tshaj plaws.
Variables: Rau cov cai no, koj xav tau 5 qhov hloov pauv ib qho rau servo, peb lub khawm sib txawv, thiab LED
Cov Cai Tseem Ceeb: Rau qhov kev piav qhia no, kuv yuav tham txog ib qho thaiv raws li ob qho tib si zoo ib yam. Dab tsi ntawm cov cai tseem ceeb ua yog tias nws tsim kev nce qib ntawm servo nce tus lej tom qab ntawd rov ua qhov no ntxiv 20 zaug uas yuav ua rau nws mus txog nws lub voj voog tag nrho. qhov thib ob yog tias hauv qhov thaiv no yog rau cov coj nws nkag siab thaum lub voj voog tiav thiab tom qab ntawd tig LED rau thiab tawm.
Kauj Ruam 4: Kauj Ruam 4: Casing
Txhawm rau ua qhov no tawm koj yuav xav tau qee qhov Casing los npog cov kab hluav taws xob. Qhov kuv tau ua yog nqa lub thawv yas uas ib zaug muaj cov ntsia hlau hauv nws txiav ib sab kom raspberry pi tuaj yeem haum rau hauv nws thiab tom qab ntawd ntxiv qhov rau cov nyees khawm thiab cov LEDs, Kuv kuj tau lined lub thawv nrog ua npuas ncauj kom lub Circuit Court yuav nyab xeeb. Thaum kawg rau qhov kev pabcuam, qhov kuv tau ua yog nqa lub thawv yas hau thiab ua lub voj voog tawm ntawm nws los ua lub ntsej muag lub ntsej muag.
Kauj Ruam 5: Nkag Siab Zoo
Cov vis dis aus no muab kev nkag siab zoo dua ntawm Circuit Court.
Pom zoo:
HACKED! Servo Tsav Raws Li Tus Qauv Tsav Tsheb!: 17 Cov Kauj Ruam
HACKED! Servo Motor Raws Li Tus Qauv Tsav Tsheb!: Pib ua qauv tsheb ciav hlau? Tsis muaj peev nyiaj txaus los yuav tag nrho cov tsheb ciav hlau kim tswj? Tsis txhob txhawj! Hauv cov lus qhia no, Kuv yuav qhia koj li cas koj tuaj yeem ua rau koj tus kheej cov peev txheej qis tsheb nqaj hlau tswj los ntawm kev nyiag lub cav servo. Yog li, cia peb
Stepper Tsav Tswj Cov Qauv Tsav Tsheb - Stepper Lub Cev Ua Raws Li Lub Hau Encoder: 11 Kauj Ruam (nrog Duab)
Stepper Tsav Tswj Cov Qauv Tsav Tsheb | Stepper Motor Raws li Rotary Encoder: Hauv ib qho ntawm Cov Lus Qhia yav dhau los, peb tau kawm paub yuav siv lub tshuab stepper li cas los ua tus lej nkag teb chaws. Hauv txoj haujlwm no, tam sim no peb yuav siv lub tshuab hluav taws xob stepper tig lub cav nkag los tswj tus qauv tsheb ciav hlau siv Arduino microcontroller. Yog li ntawd, tsis muaj f
Xaiv Cov Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau Arduino Automated Shade Screen Project: 12 Cov Kauj Ruam (nrog Duab)
Xaiv Cov Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau Arduino Automated Shade Screen Project: Hauv Cov Lus Qhia no, Kuv yuav hla cov kauj ruam uas kuv tau xaiv los xaiv Lub Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau qhov ua piv txwv Automated Shade Screen project. Cov ntxaij vab tshaus ntxoov ntxoo yog qhov nrov thiab pheej yig Coolaroo tes cranked qauv, thiab kuv xav hloov
Yuav Ua Li Cas Siv Drone Quadcopter Brushless DC Tsav los ntawm Kev Siv HW30A Brushless Tsav Ceev Tswj thiab Servo Tester: 3 Kauj Ruam
Yuav Ua Li Cas Siv Drone Quadcopter Brushless DC Motor los ntawm Kev Siv HW30A Brushless Motor Speed Controller thiab Servo Tester: Nqe lus piav qhia: Cov cuab yeej no hu ua Servo Motor Tester uas tuaj yeem siv los ua haujlwm servo lub cev los ntawm kev ntsaws yooj yim hauv servo lub cev muaj zog thiab muab lub zog rau nws. Cov cuab yeej kuj tseem tuaj yeem siv ua lub cim hluav taws xob rau kev tswj hluav taws xob ceev (ESC), tom qab ntawd koj tuaj yeem
Pike - Tsav Kev Nyab Xeeb, Tsav Ntse, Tsav Tus Pike!: 5 Kauj Ruam
Pike - Tsav Kev Nyab Xeeb, Tsav Zoo, Tsav Pike!: Zoo siab txais tos rau kuv qhov project hu ua Pike! Nov yog qhov haujlwm raws li ib feem ntawm kuv txoj kev kawm. Kuv yog tub ntxhais kawm NMCT ntawm Howest hauv Belgium. Lub hom phiaj yog ua kom qee yam ntse los ntawm kev siv Raspberry Pi. Peb muaj kev ywj pheej tiav uas peb xav ua ntse.Rau rau kuv nws wa