Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe
- Kauj Ruam 2: Sib Sau Neeg Hlau Chasis thiab Txuas Cov Tsav Tsheb mus rau Arduino Los Ntawm Tsav Tsheb
- Kauj Ruam 3: Connet Bluetooth Module rau Arduino
- Kauj Ruam 4: Txuas GY-271 rau Arduino
- Kauj Ruam 5: Txuas Micro Servo Motor thiab Ultrasonic Sensor HC SR04 rau Arduino
- Kauj Ruam 6: Tus lej, Lub Tsev Qiv Ntawv thiab Txuas mus download Andorid App
Video: Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev S
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov Lus Qhia no piav qhia yuav ua li cas thiaj ua tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward, Left, Right, East, West, North, North, South) xav tau nrug nrug hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tus kheej siv lub suab hais kom ua.
Kev siv lub suab hais kom ua:
Parameter 1 - #rau tom ntej lossis #rov qab lossis #left lossis #ncaj lossis #auto lossis #angle
Parameter thib 2 - nrug 100 lossis Lub Kaum Hli 300
Piv txwv li: - 1) Forward Distance 100 Angle 300 - Tig lub tsheb mus rau 300 degree siv GY -271 thiab txav mus rau tom ntej
100 Centimeters
2) Forward Angle 300 nrug 100 - Lub kaum ntse ntse thiab Cov lus txib nyob deb tuaj yeem nyob hauv ib qho zuj zus
3) Forward Distance 100 - Mus tom ntej 100 Centimeters
4) Forward Angle 300 - Tig lub tsheb mus rau 300 degrees thiab txav mus rau pem hauv ntej kom txog thaum tom ntej
hais kom ua
5) pib - Tsiv lub tsheb nyob rau hauv hom Autonomous kom tsis txhob muaj teeb meem
7) lub kaum sab xis 300 - Tig lub tsheb mus rau 300 degrees.
Kauj Ruam 1: Daim Ntawv Teev Npe
Hauv qab no yog cov npe ntu uas yuav tsum tau ua rau txoj haujlwm no, qee qhov ntawm lawv yog nyob ntawm yeem.
Koj tuaj yeem ua koj tus kheej lub chassis lossis tuaj yeem yuav ib qho 3Wheel lossis 4Wheel neeg hlau tsheb chassis los ntawm amazon nws pheej yig heev.
1. Arduino Uno R3 (Lwm pawg Arduino kuj tseem siv tau)
2. Bluetooth module HC - 02
3. HMC5883L (GY-271)
4. Ultrasonic Sensor HC SR04 nrog Servo Mounting daim hlau (Tsis teb los tau: Mounting Phaj)
5. L298N Tsav Tsheb (L293D Tseem tuaj yeem siv tau)
6. Mov ci Board Power Supply MB-102 (Tsis teb los tau: Voltage Regulator 7805 kuj tseem siv tau)
7. Pawg Thawj Coj
8. 2 Encoder Tsav nrog cov cuab yeej ua haujlwm zoo (BO lub cev nrog Opto Coupler sensor kuj tseem tuaj yeem siv tau)
9. 9 V Roj Teeb (Qty. 1) (Sib cais roj teeb rau Tsav yog pom zoo)
10. 6 X AA roj teeb nrog Lub Roj Teeb (Rau Muab Lub Hwj Chim rau Arduino board thiab Sensors)
11. Jumper Wires
12. Micro Servo Tsav
13. 4 Log lossis 3 Log Tsheb Chassis nrog lub log
Kauj Ruam 2: Sib Sau Neeg Hlau Chasis thiab Txuas Cov Tsav Tsheb mus rau Arduino Los Ntawm Tsav Tsheb
Sib sau ua ke 3 Log tsav lossis 4 Log Tsav cov neeg hlau chassis thiab txuas Encoder lub cev rau Arduino pawg thawj coj los ntawm L298N tsav tsheb.
Lub Hwj Chim Encoder: DC Geared Motor muaj qhov sib nqus sib npaug sib npaug hom rotary encoder. Cov lej cim plaub fab muab ob lub noob nplej uas tawm ntawm theem, rau kev nkag siab qhov kev taw qhia ntawm kev sib hloov ntawm lub tog raj kheej nrog rau kev nrawm thiab nrug deb.
Encoder muab 540 pulses ib qho kev sib hloov ntawm lub cev muaj zog uas suav los ntawm Arduino txee siv cuam tshuam tus pin ntawm Arduino.
Kuv tab tom siv tsuas yog ib qho tawm ntawm tus lej nkag raws li kuv tsis xav paub txog kev taw qhia ntawm kev txav mus rau qhov kev qhia no.
Kev Sib Txuas:
Inp 1 L298N Tsav Tsheb - Arduino Pin 6
Inp 2 L298N Tsav Tsav Tsheb - Arduino Pin 7
Inp 3 L298N Tsav Tsav Tsheb - Arduino Pin 8
Inp 4 L298N Tsav Tsav Tsheb - Arduino Pin 9
M1 L298N Tsav Tsheb - Encoder Tsav Sab laug M1
M2 L298N Tsav Tsheb - Encoder Tsav Sab laug M2
M1 L298N Tsav Tsheb - Encoder Tsav Txoj Cai M3
M2 L298N Tsav Tsheb - Encoder Tsav Txoj Cai M4
CHA Encoder Tsav Sab laug - Arduino Pin 2
CHA Encoder Tsav Txoj Cai - Arduino Pin 3
Arduino UNO Input Voltage - 5V tswj
Encoder Motor Input Voltage - 5V tswj
L298N Tsav Tsheb - 5V txog 9V
Kauj Ruam 3: Connet Bluetooth Module rau Arduino
Txuas Bluetooth Module rau Arduino board uas yuav lees txais
lub suab nkag los ntawm mobile app hla Bluetooth. Lub suab nkag mus rau Arduino yuav nyob rau hauv daim ntawv ntawm txoj hlua nrog ntau lo lus sib cais los ntawm Chaw.
Txoj cai yuav faib cov lus hauv txoj hlua thiab muab lawv rau qhov sib txawv.
Txuas mus rub rau Android App:
Piv txwv Lub suab tawm tswv yim: Forward nrug 100 lub kaum sab xis 50
Arduino Pin 0-HC-02 TX
Arduino Pin 1-HC-02 RX
HC-02 Cov Hluav Taws Xob Hluav Taws Xob-5V Tswj
Kauj Ruam 4: Txuas GY-271 rau Arduino
Txuas GY-271 mus rau Arduino uas tau siv los ua lub luag haujlwm ntawm tus neeg hlau thiab rau kev txav cov neeg hlau hauv qib uas xav tau los ntawm (0 txog 365-0 thiab 365 degree North, 90 degree raws li Sab Hnub Tuaj, 180 degree li Sab Qab Teb thiab 270 degree li Sab Hnub Poob)
Kev Sib Txuas:
GY-271 SCL-Arduino Analog Input A5
GY-271 SCA-Arduino Analog Input A4
Kev tawm tswv yim Voltage rau GY-271-3.3 V tswj
Thov Nco Ntsoov: Siv tus lej piv txwv muab rau hauv lub tsev qiv ntawv los ntsuas tus qauv ua ntej.
Kauj Ruam 5: Txuas Micro Servo Motor thiab Ultrasonic Sensor HC SR04 rau Arduino
Txuas Micro Servo motor thiab Ultrasonic Sensor HC SR04 rau
Arduino. Ultrasonic sensor yog siv los ntsuas qhov deb ntawm cov khoom thiab cov neeg rau zaub mov lub cev siv los txav lub ultrasonic sensor mus rau sab laug thiab sab xis thaum cov khoom nyob ze rau tus neeg hlau uas yuav pab cov neeg hlau txav mus rau txhua qhov kev coj ua yam tsis cuam tshuam nrog cov khoom lossis phab ntsa.
Mount lub Ultrasonic sensor rau ntawm servo motor siv mounting board.
Kev Sib Txuas:
Micro Servo Signal Pin - Arduino Pin 10
HC SR04 Trig Pin - Arduino Pin 11
HC SR04 Echo Pin - Arduino Pin 12
Tawm tswv yim Voltage rau Servo Tsav - 5V Tswj
Tawm tswv yim Voltage rau HC SR04 - 5V Tswj
Kauj Ruam 6: Tus lej, Lub Tsev Qiv Ntawv thiab Txuas mus download Andorid App
Txoj cai tau muab txuas nrog. Txuas rau rub cov tsev qiv ntawv
1) TimerOne -
2) QMC5883L -
3) NewPing -
App txuas:
Txoj cai tuaj yeem ua kom zoo ntxiv los txo cov kab.
Ua tsaug thiab thov msg rau kuv yog tias leej twg muaj lus nug.
Pom zoo:
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: 11 Kauj Ruam (nrog Duab)
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: Txoj Haujlwm: Ib thaj tsam 200 square ft. Chaw ua haujlwm xav tau roj teeb. Lub chaw haujlwm tseem yuav tsum muaj tag nrho cov tswj, roj teeb thiab cov khoom siv xav tau rau lub kaw lus no. Hnub ci thiab cua zog yuav them cov roj teeb. Muaj teeb meem me ntsis ntawm tsuas yog
Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Igniter: 6 Kauj Ruam (nrog Duab)
Cov Hluav Taws Xob Bluetooth Hluav Taws Xob Igniter: Puas yog nws zoo rau taws ntau dua ib lub foob pob hluav taws tib lub sijhawm? Lossis txawm tias muaj kev nyab xeeb nyob deb rau qhov phom sij txaus ntshai. Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub Circuit Court uas tuaj yeem ua tau li cas nrog kev pab ntawm Bluetooth ua haujlwm
Yuav Ua Li Cas Tswj DC Gear Motor los ntawm Kev Siv 160A Txhuam Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob thiab Servo Tester: 3 Cov Kauj Ruam
Yuav Ua Li Cas Tswj DC Gear Motor los ntawm Kev Siv 160A Txhuam Cov Hluav Taws Xob Hluav Taws Xob thiab Cov Kev Pabcuam Servo: Kev Qhia Tshwj Xeeb: Voltage: 2-3S Lipo lossis 6-9 NiMH Nruam tam sim no: 35A Tam sim no tawg: 160A BEC: 5V / 1A, tawm qauv: 1. pem hauv ntej & thim rov qab; 2. mus &nres; 3. rau pem hauv ntej & nres & thim rov qab: 34g Loj: 42*28*17mm
Ib Leeg Hluav Taws Xob Hluav Taws Xob / Hluav Taws Xob Hluav Taws Xob: 6 Cov Kauj Ruam
Ib Leeg Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob / Hluav Taws Xob Hluav Taws Xob: Hauv qhov haujlwm no peb tab tom ua kom muaj Ib lub kauj induction lub cev Muaj zog, thiab ntau yam piav qhia ntxiv, cov qauv ntawm lub tshuab hluav taws xob no tau siv ntau yam khoom siv tam sim no. Peb lub cav tsis muaj lub zog loj, nws yog ntau ntxiv txog kev ua haujlwm
Yuav Ua Li Cas Siv Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Module: 6 Kauj Ruam
Yuav Ua Li Cas Siv Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Module: Nco tseg thiab ceev faj: CFL muaj cov mercury uas yog cov khoom phom sij, yog li nws yuav tsum tau ua raws li feem ntau CFL cov teeb, hluav taws xob hluav taws xob tau ua haujlwm zoo thiab tseem siv tau, tsuas yog lub teeb mus tsis zoo. CFL Circuit Court ntawm 18-24 Watts yog