Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj Ruam 2: Neeg Hlau Los Ua Ke
- Kauj Ruam 3: ESP32 Yam Pins Soldering
- Kauj Ruam 4: Txuas TB6612FNG Tsav Tsheb rau ESP32 Yam
- Kauj Ruam 5: Txuas TB6612FNG Tsav Tsheb nrog DC Motors
- Kauj Ruam 6: Txuas Cov Roj Teeb Nrog TB6612FNG
- Kauj Ruam 7: Txuas LiPo Roj Teeb rau ESP32 Yam
- Kauj Ruam 8: Tus Tswj Tus Kheej
- Kauj Ruam 9: Txhim Kho Daim Ntawv Thov Smartphone
- Kauj Ruam 10: Ua Tiag
- Kauj ruam 11: Epilogue
Video: Dov Neeg Hlau Nrog ESP32 Yam thiab TB6612FNG Tsav Tsheb, Tswj los ntawm Android Hla BLE: 11 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nyob zoo sawv daws
Nov yog kuv thawj qhov kev qhia. Cov neeg hlau dov (npe menyuam yaus Raidho - los ntawm kev sib tw uas cuam tshuam nrog kev txav) raws li ESP32 Yam, TB6612 FNG thiab BLE. Ib feem uas yuav zoo li qhov txawv yog tias cov duab tsis yog los ntawm kev ua tab sis tom qab ntawd. Qhov laj thawj yog tias kuv txiav txim siab sau cov ntawv qhia no tom qab kuv ua tiav Raidho. Kuv yuav sim them nyiaj rau nws los ntawm kev ua cov lus piav qhia kom ntxaws li sai tau. Kuv rov siv qee yam, Kuv muab cov qhab nia nrog cov txuas sib txawv. Ua tsaug ntau ntau rau koj txoj haujlwm arduinofanboy, Vasilakis Michalis, pablopeza!
Kauj ruam 1: Cov ntaub ntawv
- Neeg Hlau Tsheb Loj 2WD
- Sparkfun ESP32 Yam
- SparkFun Tsav Tsheb - Dual TB6612FNG (nrog Lub Hau)
- Polymer Lithium Ion Roj teeb - 3.7v 850mAh (lub roj teeb no muaj 2.54 mm JST txuas, qhov ESP32 Yam xav tau 2 hli JST txuas. Yog tias koj pom lub roj teeb nrog JST txuas kom raug, tom qab ntawd koj tsis xav tau cov khoom #6 hauv qab no)
- Ob lub qhov muag
- JST-PH (2mm) poj niam txuas
- Cov kab
Zoo li
1. USB cable rau program ESP32 Yam
2. Soldering teeb
Kauj Ruam 2: Neeg Hlau Los Ua Ke
Raws li tau hais ua ntej kuv tsis tau khaws cov duab los ntawm thaum kuv sib sau ua ke lub hauv paus neeg hlau.
Koj tuaj yeem ua raws cov txheej txheem zoo sib xws los ntawm no (xaiv Robot Base tab). Cov hauv paus neeg hlau tuaj nrog qee qhov sib txawv, tab sis koj tau txais lub tswv yim tseem ceeb.
Cov kauj ruam yog
1. Ntsia DC motors. Koj tuaj yeem ntsib teeb meem thaum ntswj cov ntsia hlau uas ze rau lub hauv paus. Tab sis nrog kev mob siab rau me ntsis ntxiv txhua yam ua tiav!
2. Muab lub log.
3. Ntsia lub log thib peb.
4. Ntsia cov roj teeb.
5. Tom qab sib dhos lub hauv paus neeg hlau, koj tso ob lub qhov muag. Ib qho rau cov roj teeb motors thiab ib qho rau ESP32 Yam roj teeb.
Kauj Ruam 3: ESP32 Yam Pins Soldering
Koj siv tus lej txuas ntawm tus ESP32 Yam.
Kuv tau muag ob qho ntawm lawv, tab sis raws li koj tuaj yeem pom, ib qho tuaj yeem txaus vim tias cov koob siv yog txhua yam nyob ib sab.
Kauj Ruam 4: Txuas TB6612FNG Tsav Tsheb rau ESP32 Yam
TB6612FNG thiab ESP32 Yam pins tau sau npe. Koj tsuas yog txuas lawv nrog cov kab hluav taws xob tom qab daim ntawv qhia no.
GND GND
NPE1 13
SIB 11 12
TIAB SA 214
SIB 227
PWM 26
PWM 25
SIB 33
Kauj Ruam 5: Txuas TB6612FNG Tsav Tsheb nrog DC Motors
Tom qab ntawd, koj txuas TB6612FNG tus tsav tsheb A01, A02, B01, B02 sau tus pin rau lub tshuab.
Koj yuav tsum paub tseeb tias A01 thiab A02 txuas nrog ib lub cav thiab B01 thiab B02 mus rau lwm qhov.
Nws tsis yog qhov tseem ceeb uas koj txuas lawv "raug", tsuav koj tuaj yeem thim qhov teeb tsa no tom qab ntawm daim duab thiab hloov pauv lawv.
Kauj Ruam 6: Txuas Cov Roj Teeb Nrog TB6612FNG
Koj nqa lub roj teeb rooj liab rau lub xov tooj.
Los ntawm kev hloov mus rau TB6612FNG Vm thiab Vcc.
Koj tuaj yeem ua raws kab no nrog cov lej kuv tso rau ntawm daim duab (1 txog 5):-)
Koj nqa lub roj teeb rooj plaub dub rau TB6612FNG GND.
Kauj Ruam 7: Txuas LiPo Roj Teeb rau ESP32 Yam
Koj nqa lub roj teeb liab cable mus rau qhov hloov.
Los ntawm qhov hloov pauv koj nqa mus rau JST txuas tus pin sab laug.
Qhov no tau sau lo lus kab 1-2-3-4 hauv daim duab.
Koj nqa lub roj teeb dub txuas rau JST txuas sab xis tus pin.
Qhov no tau sau npe ua GND.
Koj txuas JST txuas ntawm ESP32 Yam.
(Hauv kuv cov duab koj tuaj yeem tsis meej pem nrog cov xim. Qhov teeb meem ntawm no yog tias JST txuas kuv tau yuav muaj liab thiab dub cable "rov qab" los ntawm qhov xav tau rau ESP32 Yam.
Kauj Ruam 8: Tus Tswj Tus Kheej
Cov kauj ruam no thiab ib qho ntxiv yog ua raws kab lus no. Ntawd yog cov duab kos thiab daim ntawv thov mobile tau ua raws qhov no thiab hloov kho kom thiaj li hloov tau ntawm LED, DC motors tau siv.
Yog tias koj Arduino IDE tsis tau npaj txhij koj tuaj yeem ua raws cov lus qhia no ntxiv rau ESP32 kev txhawb nqa rau nws
Feem ntau tej zaum koj tsis muaj TB6612FNG rau ESP32 lub tsev qiv ntawv teeb tsa ib yam. Kuv pom qhov no.
Hauv raidho.ino cov ntaub ntawv koj tuaj yeem pom cov duab kos uas koj tuaj yeem sau rau ntawm ESP32 Yam.
Txog kev siv, BLE cov lus txib tau teeb tsa zoo li ntawd
Hauv ntej
B rov qab
C txoj cai
D sab laug
Kauj Ruam 9: Txhim Kho Daim Ntawv Thov Smartphone
Raws li hauv qib dhau los, Kuv ua raws kuv daim ntawv thov ntawm qhov no.
Koj tuaj yeem rub tawm apk ntawv thiab nruab nws ncaj qha rau koj lub hauv xov tooj lossis koj tuaj yeem siv aia cov ntaub ntawv thiab hloov kho nws ntawm www.thunkable.com
Raws li ib txwm muaj, thaum txhim kho APK cov ntaub ntawv kom ntseeg tau tias ua kom "txhim kho los ntawm cov chaw tsis paub" thiab tau kawg tsis txhob hnov qab kaw nws tom qab.
Kauj Ruam 10: Ua Tiag
Koj qhib daim ntawv thov.
Nws yuav nug koj kom qhib bluetooth.
Koj txuas thiab koj xaiv lub cuab yeej.
Tom qab ntawd koj nias lub xub xub.
Hauv cov vis dis aus txuas nrog koj tuaj yeem pom Raidho hauv kev nqis tes ua.
Kauj ruam 11: Epilogue
Kuv tau sim khaws qhov sib npaug ntawm qhov xav tau ntau ntxiv thaum kuv xav tias nws xav tau tab sis tsawg dua thaum kuv xav tias cov ntaub ntawv twb tau paub lossis yooj yim pom yog li cov lus qhia no tsis tau txais loj. Yog tias koj ntseeg tias qee cov kauj ruam xav tau cov ntsiab lus ntxiv, thov qhia tawm.
Tau kawg lwm qhov kev tawm tswv yim zoo li tau txais tos.
Muaj kev lom zem!
Pom zoo:
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
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
Tsheb ciav hlau Hla Hla Saib Xyuas Txheej Txheem: 5 Cov Kauj Ruam (nrog Duab)
Tsheb ciav hlau Hla Hla Saib Xyuas Kab Ke: Cov lus qhia no yuav qhia koj yuav siv MatLab li cas txhawm rau cim Arduino los tswj hwm ib feem ntawm txoj kev tsheb ciav hlau
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
Txawb Xov Tooj Tswb rau Lub Tsheb Tsav Tsheb, Tsheb lossis Txhua Yam Koj Xav Tau: 7 Kauj Ruam (nrog Duab)
Txawb Xov Tooj Tswb rau Maus Taus, Tsheb lossis Txhua Yam Koj Xav Tau: Kuv tau txais kev ceeb toom ib txwm ua suab nrov ntau, thiab tsis muaj leej twg ua daim ntawv ceeb toom ntawm lawv ntxiv lawm. Tsis tas li tsis paub yog leej twg tau cuam tshuam nrog kuv lub tsheb kauj vab vim tias kuv nyob deb kom hnov lub tswb.Yog li kuv txiav txim siab ua lub tswb no siv lub xov tooj qub