Cov txheej txheem:

Lub suab qhib RoBoT: 5 Cov Kauj Ruam
Lub suab qhib RoBoT: 5 Cov Kauj Ruam

Video: Lub suab qhib RoBoT: 5 Cov Kauj Ruam

Video: Lub suab qhib RoBoT: 5 Cov Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim
Lub suab qhib RoBoT
Lub suab qhib RoBoT
Lub suab qhib RoBoT
Lub suab qhib RoBoT
Lub suab qhib RoBoT
Lub suab qhib RoBoT

Lub Suab Tswj Tus Neeg Hlau siv Arduino: Nyob Zoo Txhua Tus, Kuv vam tias koj zoo thiab ua tau zoo. Hnub no peb tab tom pib ua cov haujlwm ntsig txog kev siv neeg hlau siv Arduino. Hnub no, peb tab tom tham txog lub suab tswj cov neeg hlau siv Arduino thiab daim ntawv thov Android. Lub suab tswj cov neeg hlau yog lub xov tooj neeg hlau uas tswj hwm los ntawm qee lub suab hais kom ua. Daim ntawv thov mobile muaj peev xwm txheeb xyuas tsib lo lus txib uas yog "Nres", "Mus Ntxiv", "Rov Qab", "Sab laug", "Txoj Cai". Hauv qhov txheej txheem txheej txheem txheej txheem no, peb ua 4-WD neeg hlau tsheb uas peb tuaj yeem tswj hwm siv lub suab los ntawm daim ntawv thov mobile. Daim ntawv thov mloog thiab xa cov lus qhia rau Arduino siv Bluetooth thiab tom qab ntawd Arduino ua qhov haujlwm tshwj xeeb. Daim ntawv thov lub suab lees paub tsis yog 100% raug. Daim ntawv thov nkag siab rau cov suab nrov ib puag ncig. Qee zaum nws txhais lus tsis raug lub suab txib muab rau tus neeg hlau. Tab sis koj tuaj yeem tsim koj tus kheej daim ntawv thov uas tuaj yeem tsis quav ntsej ib puag ncig thiab tuaj yeem txais koj lub suab nkaus xwb.

Kauj Ruam 1: Thaiv Daim Duab

Thaiv daim duab
Thaiv daim duab

Cheeb Tsam Yuav Tsum tau rau lub suab tswj neeg hlau

Arduino Uno: Arduino Uno tau siv vim tias peb tuaj yeem txhim kho lub cav tsav tsheb hauv nws. Nws kuj tseem pheej yig, siv tau yooj yim thiab tau txais qhov chaw tsawg dua vim peb yuav tsum tso txhua yam ntawm lub chassis. Yog tias koj yog tus tshiab rau Arduino lub cajmeem, Kuv qhia koj kom tshawb xyuas qhov pib nrog Arduino tsab xov xwm. Lub Cev Tsav Tsheb Tsav Tsheb: Lub Tsav Tsheb Tsav Tsheb tau ua raws L293 IC, uas yog ob tus tsav tsheb puv nkaus. Qhov no yog siv los tsav cov khoom siv hluav taws xob xws li kev xa tawm, solenoids, DC thiab cov kauj ruam ua haujlwm. Nws cia koj tsav plaub lub tshuab DC thiab 2 servos nrog koj Arduino. Peb tuaj yeem tswj qhov nrawm thiab kev taw qhia ntawm txhua lub cav ntawm nws tus kheej.

Kauj Ruam 2: HC-05 Bluetooth Module

HC-05 Bluetooth Module
HC-05 Bluetooth Module

: Nov yog chav kawm-2 Bluetooth module nrog Serial Port Profile, uas tuaj yeem teeb tsa ua tus tswv lossis qhev. Peb tuaj yeem siv nws yooj yim rau kev hloov chaw nres nkoj txuas ntxiv kom tsim kev sib txuas ntawm MCU, PC rau koj qhov project kos thiab lwm yam.

HC-05 Kev Qhia Tshwj Xeeb:

Bluetooth raws tu qauv: Bluetooth Specification v2.0+EDRFrequency: 2.4GHz ISM bandModulation: GFSK (Gaussian Frequency Shift Keying) Emission power: ≤4dBm, Class 2Sensitivity: ≤-84dBm at 0.1% BERSpeed: Asynchronous: 2.1Mbps (Max) / 160 kbps, Synchronous: 1Mbps/1MbpsSecurity: authentication thiab encryptionProfiles: Bluetooth serial portPower supply: +3.3VDC 50mAWorking temperature: -20 ~ +75CentigradeDimension: 26.9mm x 13mm x 2.2 mm

Kauj Ruam 3: Cheebtsam

Cheebtsam
Cheebtsam

4-WD Tsheb Chassis: Nws muaj 2 lub platform ua los ntawm acrylic. Nws muaj 4 dc lub cev muaj zog nrog tus lej nkag ceev. Nws yog qhov yooj yim sib sau ua ke thiab muab ntau qhov chaw tso Arduino, Bluetooth module, thiab roj teeb pob.

Roj teeb: Txhua lub cav siv txog 200mA tam sim no. Kuv tau siv peb 3.7v, 2200mA Li-ion cells ua ke. Lub roj teeb pob muab 12.1 volts. Li-ion cell yog hom roj teeb uas tuaj yeem them tau. Yog li peb tuaj yeem siv cov cell no ntau thiab ntau dua.

Kauj Ruam 4: Daim Duab Circuit Court ntawm Lub Suab Tswj Tus Neeg Hlau Siv Arduino

Circuit Diagram ntawm Lub Suab Tswj Tus Neeg Hlau Siv Arduino
Circuit Diagram ntawm Lub Suab Tswj Tus Neeg Hlau Siv Arduino

Ua ntej tshaj txhua qhov Tsav Tsheb Tsav Tsheb tiv thaiv ntawm Arduino Uno.

HC-05 lossis HC-06 Kev Sib Txuas: Txuas Vcc mus rau 5 volts. Txuas GND rau hauv av. Module Rx rau Arduino Tx. Module Tx rau Arduino Rx. Yog tias Bluetooth module tsis ua haujlwm ua kom faib hluav taws xob siv 1K thiab 2K resistors thiab txuas rau Rx tus pin ntawm tus qauv los hloov 5v rau 3.3v. Lub Cev Muaj Zog rau Tsav Tsheb Tsav Tsheb: Sab laug lub cav mus rau M3 thiab M4 lub dav hlau. Qhov sab lub cev muaj zog rau M1 thiab M2 lub davhlau ya nyob twg. Yog hais tias lub tshuab tig mus rau qhov tsis sib thooj ces pauv cov hlau txuas kom tig tag nrho cov motors hauv tib txoj kev.

Kauj Ruam 5: Ua Haujlwm Ntawm Lub Suab Tswj Neeg Hlau Siv Arduino

Nco tseg: Ib txwm tshem tawm Rx thiab Tx pins ntawm Bluetooth module thaum tso cov cai rau Arduino txwv tsis pub nws qhia qee qhov yuam kev thiab cov cai tsis upload. Sim "1234" lossis "0000" tus password thaum koj txuas Bluetooth module nrog koj lub xov tooj thawj zaug. Yog tias lub log tig mus rau qhov tsis sib thooj tsuas yog pauv qhov kev sib txuas ntawm lub cav los ntawm Lub Tshuab Tsav Tsheb Tsav Tsheb. Tswj cov neeg hlau los ntawm lub suab tsis yog txoj hauv kev zoo..

Pom zoo: