Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau Rau Tus Neeg Hlau no
- Kauj Ruam 2: Sib dhos Chassis
- Kauj Ruam 3: Mount Cheebtsam
- Kauj Ruam 4: HC-06 Bluetooth Module Kev Sib Txuas
- Kauj Ruam 5: Kev Sib Txuas Hlau
- Kauj Ruam 6: Programming Arduino UNO
- Kauj ruam 7: Android App
- Kauj Ruam 8: Zoo heev !
Video: Bluetooth Tswj Neeg Hlau Tsheb Siv Arduino: 8 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv cov lus qhia no, kuv yuav coj koj kev ua lub tsheb neeg hlau uas tswj hwm Bluetooth los ntawm koj lub xov tooj ntawm tes. Tsis tas li ntawd, lub tsheb neeg hlau muaj lub peev xwm tshwj xeeb ntawm kev zam teeb meem uas nws tau ntsib thaum txav lub tsheb mus tom ntej. Lub tsheb neeg hlau ua tiav raws li arduino thiab kuv vam tias yuav ua ib qib zuj zus qhia ntawm kev ua tus neeg hlau no hauv txoj kev yooj yim heev. Vam tias koj yuav txaus siab rau nws.
Kauj Ruam 1: Yam Koj Xav Tau Rau Tus Neeg Hlau no
- Arduino UNO-https://www.ebay.com/p/Arduino-UNO-R3-Board-With-…
- HC-06 Bluetooth Module-https://www.ebay.com/itm/2PCS-Wireless-Serial-4-Pi…
- L298n tsav tsheb-https://www.ebay.com/itm/New-L298N-DC-Stepper-Mot…
- HC-SR04 Ultrasonic Sonar Sensor-https://www.ebay.com/itm/Ultrasonic-HC-SR04-HC-SR…
- Ntse neeg hlau tsheb chassis nrog 2 x khoom ua si lub log thiab 1 x Universal log (lossis pob casters)-https://www.ebay.com/itm/Motor-New-Smart-Robot-Ca…
- Ob lub DC motors-https://www.ebay.com/itm/Arduino-Smart-Car-Robot-…
- 2 x 9V Roj teeb
- 1K thiab 2K Resistors
- Jumper xov hlau (txiv neej-rau-txiv neej, txiv neej-rau-poj niam)
- Mini khob cij
- Screws thiab ceev
- Ntsia Hlau
- Soldering hlau
- Ob daim kab xev (xaiv tau)
- Kub kua nplaum phom (yeem)
Kauj Ruam 2: Sib dhos Chassis
Muab ob lub xov hlau txuas rau txhua lub cav DC. Tom qab ntawd kho ob lub cav rau lub chassis siv cov ntsia hlau. Yog tias koj xav tau kev piav qhia ntxiv, thov saib qhov youtube video no https://www.google.lk/url?sa=t&rct=j&q=&esrc=s&so… Thaum kawg muab Universal log (lossis lub log caster log) tso rau tom qab ntawm lub chassis.
Kauj Ruam 3: Mount Cheebtsam
Mount Arduino UNO, L298n lub cev muaj zog tsav tsheb thiab Breadboard ntawm lub chassis. Txuas HC-06 Bluetooth module ntawm lub khob cij. Mount HC-SR04 Ultrasonic sensor nyob rau pem hauv ntej ntawm lub chassis. Nco tseg: thaum teeb tsa lub rooj tsav xwm arduino, tawm qhov chaw txaus los ntsaws USB cable, txij li tom qab koj yuav tsum tau teeb tsa lub rooj tsav xwm arduino los ntawm kev txuas nws mus rau PC ntawm USB cable.
Kauj Ruam 4: HC-06 Bluetooth Module Kev Sib Txuas
Tswv yim: Daim duab kab lus no tsuas yog qhia koj, yuav ua li cas tus pin ntawm HC-06 Bluetooth module yuav tsum txuas nrog rau pawg thawj coj saib. Qhov no tsis yog daim duab qhia chaw ntawm peb tus neeg hlau.
Ua kom cov resistor sib txuas kom raug !!!
Koj tuaj yeem siv 'ob series 1K' resistors hloov ntawm 2K resistor.
Hwj chim Bluetooth module siv arduino 5V tso zis.
Tseem ceeb: Koj yuav tsum tshem tawm ib qho kev sib txuas uas koj tau ua rau arduino tus pin 0 (RX) thiab tus lej digital 1 (TX) ua ntej rub tawm cov cai. Txwv tsis pub koj cov cai yuav tsis tso rau hauv pawg thawj coj. Tom qab xa cov cai, koj tuaj yeem ntsaws xov hlau rau ob tus pin
Kauj Ruam 5: Kev Sib Txuas Hlau
L298n tsav tsheb:
+12V → 9V roj teeb (+)
GND → 9V roj teeb (-) thiab rau arduino board twg GND tus pin
In1 → arduino tus pin 7
In2 -arduino tus pin 6
In3 → arduino tus pin 5
In4 → arduino digital pin 4
OUT1, Tsav 1
OUT2, Tsav 1
OUT3, Tsav 2
OUT4: Tsav 2
HC-SR04 Ultrasonic Sonar sensor: VCC → +5V
Trig -arduino analog pin 1
Echo -arduino analog pin 2
GND → breadboard GND
HC-06 Bluetooth module:
VCC → +5V
GND → breadboard GND
TXD → arduino digital pin 0 (RX)
RXD → arduino digital pin 1 (TX) [tom qab dhau mus dhau qhov txuas txuas txuas]
Kauj Ruam 6: Programming Arduino UNO
-
Nruab NewPing Library. (Ultrasonic sensor muaj nuj nqi tsev qiv ntawv)
- Rub tawm NewPing.rar cov ntaub ntawv
- Unrar cov ntaub ntawv thiab luam NewPing cov ntaub ntawv
- Muab cov ntawv tso rau hauv Arduino cov tsev qiv ntawv nplaub tshev uas koj tau teeb tsa Arduino software hauv koj lub PC (piv txwv li:- C: / Arduino / libraries)
- Rub tawm thiab qhib bluetooth_obstacle_avoiding.ino
- Tshem tawm cov kev sib txuas ua rau arduino tus lej digital 0 (RX) thiab tus lej digital 1 (TX)
- Upload tus bluetooth_obstacle_avoiding.ino code
- Ua qhov tsim nyog txuas mus rau arduino tus lej digital 0 (RX) thiab tus lej digital 1 (TX) dua
Kauj ruam 7: Android App
- Rub tawm mkrbot.apk ntawm koj lub xov tooj ntawm tes
- Nruab lub app. Yog tias koj lub xov tooj ntawm tes tiv thaiv kev teeb tsa lub app, Mus rau chaw teeb tsa → kev nyab xeeb → pab kom tsis paub qhov chaw
- Qhib lub app
- Thaum pib, lub app yuav qhia "Disconnected" thiab HC-06 Bluetooth module liab LED yuav ntsais muag
- Coj mus rhaub lub cim Bluetooth ᛒ ntawm lub app
- Xaiv qee yam uas muaj npe nrog HC-06
- Tam sim no daim ntawv thov yuav qhia txuas nrog thiab LED hauv HC-06 Bluetooth module yuav teeb pom kev tas mus li yam tsis ntsais muag
Kauj Ruam 8: Zoo heev !
Tam sim no koj tuaj yeem tswj hwm tus neeg hlau los ntawm koj lub xov tooj ntawm tes hla Bluetooth thiab nws yuav cia li zam txhua qhov teeb meem ua ntej tsoo !!!
Kuv yuav zoo siab teb cov lus nug koj muaj
email rau kuv: [email protected]
tshawb kuv hauv facebook thiab txuas rau ntau qhov haujlwm - Danusha nayantha
Ua Tsaug
Pom zoo:
Neeg Hlau Tsheb Nrog Bluetooth, Lub Koob Yees Duab thiab MIT App Inventor2: 12 Cov Kauj Ruam (nrog Duab)
Neeg Hlau Tsheb Nrog Bluetooth, Lub Koob Yees Duab thiab MIT App Inventor2: Koj puas tau xav tsim koj tus kheej lub tsheb neeg hlau? Zoo … qhov no yog koj lub caij nyoog !! Hauv Cov Lus Qhia no Kuv yuav taug koj txoj hauv kev yuav ua li cas Tsheb Robot Tsheb tswj ntawm Bluetooth thiab MIT App Inventor2. Nco ntsoov tias kuv yog tus tshiab thiab tias qhov no yog kuv thawj qhov kev qhia
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 Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
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 Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Ntsuas Neeg Hlau / 3 Log Neeg Hlau / STEM Neeg Hlau: 8 Kauj Ruam
Ntsuas Cov Neeg Hlau / 3 Log Neeg Hlau / STEM Neeg Hlau: Peb tau tsim ua ke sib npaug thiab 3 lub log neeg hlau rau kev kawm siv hauv tsev kawm ntawv thiab tom qab kawm ntawv cov haujlwm. Tus neeg hlau yog ua raws Arduino Uno, tus tiv thaiv kev tiv thaiv (txhua qhov kev tsim kho cov ntsiab lus muab), Li -Ion roj teeb pob (txhua qhov tsim tawm
Bluetooth Tswj Cov Neeg Hlau Tsheb: 13 Cov Kauj Ruam (nrog Duab)
Bluetooth Tswj Cov Neeg Hlau Tsheb: koj puas yog ib txwm nyiam los ntawm tsheb RC? Puas xav ua koj tus kheej? tswj los ntawm koj tus kheej lub smartphone? ---- > cia pib, yog li hais mav, ntawm no hauv qhov haujlwm no kuv tau sim ua Bluetooth tswj lub tsheb nrog kev pab los ntawm Arduino. Kuv muaj inc
Begging Neeg Hlau Nrog Saib Xyuas Lub Ntsej Muag thiab Tswj los ntawm Xbox Tus Tswj - Arduino: 9 Cov Kauj Ruam (nrog Duab)
Begging Robot Nrog Lub ntsej muag taug qab thiab Tswj los ntawm Xbox Controller - Arduino: Peb tab tom yuav ua tus thov neeg hlau. Tus neeg hlau no yuav sim ua rau khaus lossis ua rau pom kev dhau ntawm tib neeg. Nws yuav ntes lawv lub ntsej muag thiab sim tua lasers ntawm lawv. Yog tias koj muab tus neeg hlau ib npib, nws yuav hu nkauj thiab seev cev. Tus neeg hlau yuav xav tau