Cov txheej txheem:

Tig Ib Lub Tsheb R/C Rau Hauv Bluetooth App Tswj R/C Tsheb: 9 Kauj Ruam
Tig Ib Lub Tsheb R/C Rau Hauv Bluetooth App Tswj R/C Tsheb: 9 Kauj Ruam

Video: Tig Ib Lub Tsheb R/C Rau Hauv Bluetooth App Tswj R/C Tsheb: 9 Kauj Ruam

Video: Tig Ib Lub Tsheb R/C Rau Hauv Bluetooth App Tswj R/C Tsheb: 9 Kauj Ruam
Video: Koj Dag Kuv Nrauj Txiv Koj Tsis Yuav 12/20/2021 2024, Hlis ntuj nqeg
Anonim
Tig Ib Lub Tsheb R/C Rau Hauv Bluetooth App Tswj R/C Tsheb
Tig Ib Lub Tsheb R/C Rau Hauv Bluetooth App Tswj R/C Tsheb

Txoj haujlwm no qhia txog cov kauj ruam txhawm rau hloov lub tsheb tswj chaw ib txwm mus rau Bluetooth (BLE) tswj lub tsheb nrog Wombatics SAM01 tus neeg tsav tsheb neeg hlau, Blynk App thiab MIT App Inventor.

Muaj ntau tus nqi qis RC tsheb nrog ntau tus yam ntxwv zoo li lub taub hau LED thiab lub teeb ci qis. Txawm li cas los xij, cov chaw taws teeb tuaj nrog lub tsheb tsis tuaj yeem tswj teeb thiab lub cav ib tus zuj zus. Nrog mobile App thiab Arduino pawg thawj coj saib, peb tuaj yeem hloov pauv cov RC tsheb zoo li no mus rau qhov ua tau zoo dua bluetooth tswj cov khoom ua si.

Peb tab tom siv Arduino Compatible board nrog BLE (Bluetooth Low Energy), yog li nws ua haujlwm nrog ob qho tib si iOS thiab Android xov tooj.

Kauj Ruam 1: Xaiv RC Tsheb

Xaiv lub tsheb RC
Xaiv lub tsheb RC

Peb tau xaiv Txoj Kev Ceev 1:24 RC Tsheb. Lub tsheb no yog qhov zoo rau txoj haujlwm no, vim nws muaj txhua yam uas peb tab tom nrhiav, xws li lub taub hau thiab lub teeb ci qis nrog cov chav txaus kom tso peb lub rooj tsavxwm sab hauv.

Kauj Ruam 2: Tshem Tsheb

Coj Tsheb Sib Nraus
Coj Tsheb Sib Nraus
Coj Tsheb Sib Nraus
Coj Tsheb Sib Nraus
Coj Tsheb Sib Nraus
Coj Tsheb Sib Nraus

Tom qab coj nws sib nrug, txheeb xyuas cov xov hlau rau LEDs thiab lub cev muaj zog. Qhov desoldering lawv tawm ntawm lub rooj tsavxwm thiab hloov lawv nrog Arduino board thiab lub cev muaj zog tsav module.

Kauj Ruam 3: Muab tso rau ntawm Tsav Tsav Tsav Tsheb

Muab tso rau ntawm Tsav Tsav Tsheb Module
Muab tso rau ntawm Tsav Tsav Tsheb Module
Muab tso rau ntawm Tsav Tsav Tsheb Module
Muab tso rau ntawm Tsav Tsav Tsheb Module

Hauv cov kauj ruam no, muab lub kauj rau lub cav "MOTO A" thiab lub cav rov qab rau "MOTO B" ntawm tus tsav tsheb lub cev. Cov kab xaim hluav taws xob txuas rau lub teeb taub hau & qis -ci LEDs ntawm ob qho tib si +ve & -ve sab.

Kauj Ruam 4: Txuas rau SAM01 Arduino Robotics Board

Txuas mus rau SAM01 Arduino Robotics Board
Txuas mus rau SAM01 Arduino Robotics Board
Txuas mus rau SAM01 Arduino Robotics Board
Txuas mus rau SAM01 Arduino Robotics Board

Muab tso rau ntawm SAM01 Arduino Robotics Board thiab txuas cov xov hlau txuas raws li hauv qab no.

PIN 3 - INT1 rau Tsav A (Steering Motor) PIN 5 - INT2 rau Tsav A PIN 6 - INT3 rau Tsav B (Tsav Tsav) PIN 9 - INT4 rau Tsav BPIN 10 - Taws Teeb LEDsPIN 13 - LED ci hauv qab

Kauj Ruam 5: Arduino Coding & Xeem

Tam sim no nws yog lub sijhawm los ntsuas txhua qhov kev sib txuas. Kuv tau ua Sam_RC_Car_Test.ino kom yooj yim ntawm kev sim. Upload cov ntaub ntawv ino nrog Arduino IDE.

** Teeb lub rooj rau "Arduino Nano" hauv Arduino IDE **

Kauj Ruam 6: Npaj rau Blynk

Tom qab kev sib txuas tau txheeb xyuas qhov tseeb. Peb npaj tau txuas nrog Blynk los ntawm BLE.

Ua ntej tshaj tawm cov ntaub ntawv Sam_Blynk_RC_Car.ino nrog Arduino IDE.

Kauj Ruam 7: Teeb Blynk

Teeb tsa Blynk
Teeb tsa Blynk

Luam Daim Ntawv Tso Cai Rov Qab rau Sam_Blynk_RC_Car.ino.

"char auth =" yourAuthToken ";"

Kauj Ruam 8: Kauj Ruam Kawg - Txuas thiab Pib Ua Si

Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si
Kauj Ruam Kawg - Txuas thiab Pib Ua Si

Qhib lub RC Tsheb lub zog thiab tshawb nrhiav SAM01 hauv Blynk App los ntawm kev ua raws cov theem hauv daim duab.

Nws yog txhua yam teeb tsa thiab npaj mus GO !!!

Pom zoo: