Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: Txoj hauv kev yooj yim Super los tswj Servo Tsav Nrog Arduino: 8 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav siv Servo Motor thiab Arduino UNO, thiab Visuino los tswj cov haujlwm servo motor degree siv tsuas yog ob peb yam thiaj li ua txoj haujlwm no yooj yim heev.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- Jumper xov hlau
- Servo tsav
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas Servo motor "Txiv kab ntxwv" tus pin rau Arduino Digital tus pin [8]
- Txuas Servo motor "Liab" tus pin rau Arduino tus pin zoo [5V]
- Txuas Servo motor "Brown" tus pin rau Arduino tus pin tsis zoo [GND]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv "Sequence" tivthaiv
- Ntxiv "Analog Value" tivthaiv
- Ntxiv "Faib Analog Los Ntawm Tus Nqi" tivthaiv
- Ntxiv "Servo" tivthaiv
Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
Xaiv "Sequence1" tivthaiv, ob npaug nias rau nws. Hauv "Elements" Dialog:
Luag 5X "Lub Sijhawm" lub ntsiab lus rau sab laug.
- Xaiv "Lub Sijhawm 1" lub ntsiab lus thiab hauv qab qhov khoom tsim teeb tsa "Ncua" rau "1000"
- Xaiv "Lub Sijhawm 2" ntu thiab hauv qab qhov khoom tsim teeb tsa "Ncua" rau "2000"
- Xaiv "Lub Sijhawm 3" ntu thiab hauv qab qhov khoom tsim teeb tsa "Ncua" rau "3000"
- Xaiv "Lub Sijhawm 4" ntu thiab hauv qab qhov khoom tsim teeb tsa "Ncua" rau "4000"
- Xaiv "Lub Sijhawm 5" lub ntsiab lus thiab hauv cov khoom qhov rai teeb tsa "Ncua" mus rau "5000" >> qhov no yuav siv rau ncua sijhawm kawg.
Tam sim no cia teeb Qib rau servo motor: Xaiv "AnalogValue1" tivthaiv, ob npaug nias rau nws. Hauv "Elements" Dialog:
Luag 4X "Teeb Tus Nqi" keeb rau sab laug.
- Xaiv "Teeb Tus Nqi 1" tivthaiv thiab hauv qab lub qhov rai khoom teeb tsa "Tus nqi" rau "0"
- Xaiv "Teeb Tus Nqi 2" tivthaiv thiab hauv qab qhov khoom qhov rai teeb tsa "Tus nqi" rau "60"
- Xaiv "Teeb Tus Nqi 3" tivthaiv thiab hauv qab lub qhov rai khoom teeb tsa "Tus nqi" rau "120"
- Xaiv "Teeb Tus Nqi 4" tivthaiv thiab hauv qab qhov khoom qhov rai teeb tsa "Tus nqi" rau "180"
Xaiv "DivideByValue1" tivthaiv thiab hauv cov khoom qhov rai teeb tsa "tus nqi" rau "180"
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas "Sequence1"> Period1 tus pin [Tawm] rau "AnalogValue1" tus pin [Teeb Tus Nqi 1]
- Txuas "Sequence2"> Period1 tus pin [Tawm] mus rau "AnalogValue1" tus pin [Teeb Tus Nqi 2]
- Txuas "Sequence3"> Period1 tus pin [Tawm] mus rau "AnalogValue1" tus pin [Teeb Tus Nqi 3]
- Txuas "Sequence4"> Period1 tus pin [Tawm] mus rau "AnalogValue1" tus pin [Teeb Tus Nqi 4]
- Txuas "AnalogValue1" tus pin [Tawm] rau "DivideByValue1" tus pin [Hauv]
- Txuas "DivideByValue1" tus pin [Tawm] rau "Servo1" tus pin [Hauv]
- Txuas "Servo1" tus pin [Tawm] rau Arduino tus lej digital [8]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 8: Ua si
Yog tias koj siv zog Arduino UNO module, Servo lub cev muaj zog yuav pib txav mus raws qib koj tau teev tseg.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau qhov Qhia Qhia no. Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:
Pom zoo:
Kev Yooj Yim Yooj Yim Tswj - Tswj Koj Cov Khoom Ua Si RC Nrog Kev txav ntawm Koj Tes: 4 Kauj Ruam (nrog Duab)
Kev Yooj Yim Yooj Yim Tswj - Tswj Koj Cov Khoom Ua Si RC Nrog Kev txav ntawm Koj Lub Cev: Txais tos rau kuv 'ible' #45. Ib pliag dhau los kuv tau ua tiav RC version ntawm BB8 siv Lego Star Wars qhov chaw … https://www.instructables.com/id/Whats-Inside-My-R..Thaum kuv pom nws txias heev Force Band ua los ntawm Sphero, kuv xav tias: " Ok, kuv c
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe