Cov txheej txheem:

Tes Tes Taw Tswj RC Tsheb: 15 Kauj Ruam
Tes Tes Taw Tswj RC Tsheb: 15 Kauj Ruam

Video: Tes Tes Taw Tswj RC Tsheb: 15 Kauj Ruam

Video: Tes Tes Taw Tswj RC Tsheb: 15 Kauj Ruam
Video: Tus Neeg Ruam - R-Lin Thoj | New Song [ Official MV ] Nkauj Tawm Tshiab 2023 Hmong Song 2023 2024, Kaum ib hlis
Anonim
Tes Tes Taw Tswj RC Tsheb
Tes Tes Taw Tswj RC Tsheb
Tes Tes Taw Tswj RC Tsheb
Tes Tes Taw Tswj RC Tsheb

Nyob zoo ntiaj teb!

Nov yog kuv thawj Phau Ntawv Qhia

Yog tias koj muaj lus nug - thov tsis txhob ua siab deb nug.

Lub Hom Phiaj:

Txoj haujlwm no siv tau rau txhua tus neeg uas mob siab rau thaum nws los txog rau thev naus laus zis. Txawm hais tias koj yog tus kws tshaj lij lossis tus pib ua tiav thaum nws los txog rau neeg hlau. Koj yuav tuaj yeem tsim txoj haujlwm no los ntawm kev ua raws cov lus qhia ntawm daim ntawv no.

Koj yuav xav tau dab tsi:

· (2) x Elegoo Uno R3 Controller Board

· (2) x Tsab Ntawv nthuav tawm Pawg Thawj Coj

· (1) x HC-05 Bluetooth Module

· (1) x HC-06 Bluetooth Module

· (1) x Hnab looj tes

· (1) x GY-521 tus qauv

· (12) x M-M xov hlau

· (6) x F-M xov hlau

· (2) x 9V Roj teeb nrog DC

R/C Tsheb

· (1) x Pawg Thawj Coj

· (2) x Encoder Disc

· (2) x Log

· (2) x Deceleration DC lub cev muaj zog

· (1) x Cov roj teeb ntim

· (4) x M3*30 Ntsia Hlau Bar

· (8) x M3*6 Ntsia Hlau Bar

· (8) x M3 txiv ntoo

· (1) x Hloov

· (4) x Fastener

· (1) x Rauj caster

· (4) x AA Roj teeb

· (1) x L9110S 2-CH H-choj Stepper Motor Dual DC Tsav Tswj Lub Cev

Kauj Ruam 1: Kauj Ruam 1:

Kauj ruam 1
Kauj ruam 1
Kauj ruam 1
Kauj ruam 1
Kauj ruam 1
Kauj ruam 1
Kauj ruam 1
Kauj ruam 1

Lub hom phiaj: Kho tus nqi baud thiab teeb tus password ntawm HC-06 (SLAVE)

HC-06 yog qhev nkaus xwb Bluetooth module uas txhais tau tias "nws tsuas tuaj yeem tham nrog". HC-06 tau txais nyob rau hauv AT hom. AT hom yog hom lus txib uas tso cai rau koj los nug/teeb tsa qee qhov teeb tsa ntawm Bluetooth module.

I. Nrog rau Arduino thiab USB Serial txuas nrog lub khoos phis tawj. Tshaj tawm cov duab kos dawb mus rau Arduino raws li txuas rau saum toj no

II. Txuas lub USB Serial los ntawm lub khoos phis tawj.

III. Txuas HC-06 thiab Arduino nrog (4) F-M xov hlau-saib step1wireAttachment

IV. Txuas USB Serial rau lub khoos phis tawj. Qhov no yuav ua rau HC-06 ntsais thiab tawm txhua ob.

V. Nyem rau Serial Monitor thiab xyuas kom tseeb tias muaj "Tsis muaj Kab Kawg" thiab tias tus nqi baud tau teeb tsa rau "9600" nyob hauv qab ntawm cov ntawv saib.

IV. Ntaus AT ntawm Serial Monitor lub thawv ntawv thiab nws yuav tsum luam tawm OK (qhov no txhais tau tias muaj kev sib txuas lus nruab nrab ntawm cov saib thiab Bluetooth)

VII. Tus password tsis raug ntawm HC-06 yog 1234, tab sis tsuas yog thaum nws tsis yog. Ntaus AT+PIN1234 thiab nias xa. Lub Serial Monitor yuav luam tawm OKsetPIN. Qhov no yuav teeb tsa tus lej sib txuas HC-06 rau 1234 (Tus password ntawm HC-06 thiab HC-05 yuav tsum zoo ib yam).

VIIII. Ntaus AT+BAUD8 thiab nias xa. Tus lej saib yuav luam tawm OK115200. Qhov no yuav teev tus nqi baud ntawm HC-06 txog 115200. (Tus nqi baud ntawm HC-06 thiab theHC-06 yuav tsum zoo ib yam).

Kauj Ruam 2: Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)

Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)
Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)
Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)
Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)
Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)
Kauj Ruam 2: Tau Qhov Chaw Nyob ntawm HC-06 (SLAVE)

Koj tuaj yeem tau txais HC-06 qhov chaw nyob los ntawm app hu ua Bluetooth Finder ntawm lub xov tooj Android lossis los ntawm kev siv HC-05 txhawm rau hnoos ib puag ncig Bluetooth cov qauv ib puag ncig HC-05.

Nco txog qhov chaw nyob ntawm HC-06. Koj yuav xav tau cov ntaub ntawv no thaum teeb tsa HC-05

Tau HC-06 qhov chaw nyob ntawm Bluetooth Finder

I. Saib daim duab txuas nrog

NCO TSEG: Qhov chaw nyob MAC yuav zoo ib yam li qhov tau hais los saum no. Lub bluetooth module yuav nquag pom zoo li "HC-06".

I. Rub daim ntawv thov Bluetooth Finder

II. Thaum HC-06 qhib thiab ntsais muag-ua ke lub xov tooj hauv xov tooj mus rau HC-06

III. Tus password ntawm HC-06 yuav yog 1234. Peb teeb tsa nws tus password ua ntej dhau ntawm AT+PIN1234 hais kom ua

IV. Thaum HC-06 thiab lub xov tooj Anroid tau ua khub. Qhib Bluetooth Finder daim ntawv thov kom pom nws qhov chaw nyob yog dab tsi.

Kauj Ruam 3: Kauj Ruam 3: Kho HC-05 (Tus Xib Hwb)

Kauj Ruam 3: Kho HC-05 (Tus Xib Hwb)
Kauj Ruam 3: Kho HC-05 (Tus Xib Hwb)
Kauj Ruam 3: Kho HC-05 (Tus Xib Hwb)
Kauj Ruam 3: Kho HC-05 (Tus Xib Hwb)

*Tau txais HC-06 qhov chaw nyob ntawm HC-05

Lub hom phiaj: khi HC-05 kom txuas nrog tsuas yog HC-06

I. Thaum HC-06 nyob. Qhib qhov kev sib tham Arduino tshiab thiab Ua raws cov kauj ruam 1-3 ntawm Kauj Ruam 1.

II. Thaum txuas USB Serial rau lub khoos phis tawj kom ntseeg tau tias koj nias lub pob ntawm HC-05. Qhov no yuav ua rau HC-05 ntsais thiab tua txhua txhua 2 vib nas this. Qhov no qhia tau tias HC-05 nyob hauv AT hom. Nco ntsoov tias qhov chaw nres nkoj raug xaiv raug xaiv. Qhov chaw nres nkoj xaiv yuav tsum yog arduino uas HC-05 txuas nrog.

III. Nyem rau Serial Monitor thiab xyuas kom tseeb tias muaj "Ob NL & CR" ntxiv thiab tias tus nqi baud tau teeb tsa rau "9600" nyob hauv qab ntawm cov saib txuas. (raws li qhia hauv daim duab txuas)

IV. Ntaus AT ntawm Serial Monitor lub thawv ntawv thiab nws yuav luam YEEB: (0) (Tsis paub meej tias vim li cas qhov no tshwm sim). Ntaus AT dua thiab Serial saib yuav luam tawm OK (qhov no txhais tau tias muaj kev sib txuas lus nruab nrab ntawm cov saib thiab Bluetooth).

V. Hom AT+ROLE? thiab nias xa. Tus saib xyuas txuas yuav luam tawm lub luag haujlwm HC-05 tam sim no. Role 0 = qhev. Txoj hauj lwm 1 = tus tswv. Yog tias nws lub luag haujlwm yog 0. Hloov nws lub luag haujlwm rau 1 los ntawm kev ntaus AT+ROLE = 1 Tus lej saib xyuas yuav luam tawm OK tom qab teeb tsa HC-05 lub luag haujlwm rau 1 (Master). Hom AT+ROLE? Ib zaug ntxiv los xyuas ob zaug.

VI. Ntaus AT+CMODE? thiab nias xa. Tus lej saib xyuas yuav luam tawm hom kev sib txuas twg HC-05 tam sim no muaj. 0 = txuas rau tsuas yog chaw nyob ruaj khov. 1 = txuas rau ib qho Bluetooth nyob ze. Yog tias nws qhov cmode yog 1. Hloov nws cmode mus rau 0 los ntawm kev ntaus AT+CMODE = 0 Tus lej saib xyuas yuav luam tawm OK tom qab teeb tsa HC-05's cmode rau 0. Hom AT+CMODE? Ib zaug ntxiv los xyuas ob zaug.

VII. Hom AT+UART? thiab nias xa. Tus lej saib xyuas yuav luam tawm tus lej baud tus HC-05 tam sim no muaj. (xws li +UART: 9600, 0, 0). Nco ntsoov tias peb yuav tsum teeb tsa tus lej baud zoo ib yam li HC-06. Txhawm rau teeb tsa HC-05's baud tus nqi rau 115200. Hom AT+UART = 115200, 0, 0 Tus lej saib xyuas yuav luam tawm OK. Hom AT+UART? Ib zaug ntxiv los xyuas ob zaug. (nws yuav tsum tam sim no luam tawm +UART: 115200, 0, 0).

VIII. Hom AT+PSWD? Txhawm rau txiav txim siab tus password ntawm HC-05. Nco ntsoov tus password ntawm HC-06 thiab HC-05 yuav tsum zoo ib yam. Yog nws tus password tsis yog 1234. Teem tus password los ntawm AT+PSWD = 1234 Tus lej saib xyuas yuav luam tawm OK. Hom AT+PSWD? Ib zaug ntxiv los xyuas ob zaug.

IX. Yog tias koj muaj chaw nyob ntawm HC-06 twb hla cov kauj ruam no thiab mus txuas ntxiv rau X. Cov kauj ruam no yuav txiav txim siab qhov chaw nyob ntawm HC-06. Ntaus AT+INIT. Serial monitor yuav tsum luam tawm OK. Ntaus AT+INQ Cov lus txib no yuav nug txog ib puag ncig cov khoom siv bluetooth. Serial monitor yuav tsum luam qhov chaw nyob ntawm HC-06, hom, teeb liab. (xws li +INQ: 98D3: 31: FD5F83, 8043C, 7FFF)

X. Pair HC-05 nrog HC-06. Rov qab qhov chaw nyob uas koj pom tias yog los ntawm bluetooth finder app lossis los ntawm AT+INQ txoj kev. Hloov cov kab ntawv ntawm qhov chaw nyob (98D3: 31: FD5F83) nrog tus lej (98D3, 31, FD5F83) ntawm qhov chaw nyob rau Hom AT+PAIR = 98D3, 31, FD5F83, 5 5 hauv cov lus txib no yog lub sijhawm thib ob. Yog tias HC-05 tsis ua ke nrog qhov chaw nyob uas tau npaj tseg, cov lus yuam kev yuav luam tawm. Lwm tus yog tias kev sib koom ua tiav qhov ua tau zoo yuav raug luam tawm hauv cov ntawv xov xwm.

XI. Khi HC-05 rau HC-06. Hom AT+BIND = 98D3, 31, FD5F83 Serial monitor yuav tsum luam tawm OK yog tias ua tiav.

XII. Txuas HC-06. Hom AT+LINK = 98D3, 31, FD5F83 Serial monitor yuav tsum luam tawm OK yog tias ua tiav.

XIII. Thaum HC-05 thiab HC-06 raug khi. HC-05 yuav ntsais ib zaug txhua 2 vib nas this thiab HC-06 yuav nyob twj ywm (tsis muaj ntsais muag).

CONGRATULATIONS HC-05 thiab HC-06 yog tam sim no khi ua ke

Kauj Ruam 4: Kauj Ruam 4: Tsim Lub Hauv Paus ntawm RC Tsheb Ua Raws Cov Lus Qhia ntawm Cov Duab ntawm Tep no

Kauj Ruam 4: Tsim Lub Hauv Paus ntawm RC Tsheb Ua Raws Cov Lus Qhia ntawm Cov Duab ntawm Tep
Kauj Ruam 4: Tsim Lub Hauv Paus ntawm RC Tsheb Ua Raws Cov Lus Qhia ntawm Cov Duab ntawm Tep
Kauj Ruam 4: Tsim Lub Hauv Paus ntawm RC Tsheb Ua Raws Cov Lus Qhia ntawm Cov Duab ntawm Tep
Kauj Ruam 4: Tsim Lub Hauv Paus ntawm RC Tsheb Ua Raws Cov Lus Qhia ntawm Cov Duab ntawm Tep

Kauj Ruam 5: Kauj Ruam 5: Txuas 2 Deceleration DC Motors mus rau L9110S Stepper

Kauj Ruam 5: Txuas 2 Deceleration DC Motors rau L9110S Stepper
Kauj Ruam 5: Txuas 2 Deceleration DC Motors rau L9110S Stepper
Kauj Ruam 5: Txuas 2 Deceleration DC Motors rau L9110S Stepper
Kauj Ruam 5: Txuas 2 Deceleration DC Motors rau L9110S Stepper
Kauj Ruam 5: Txuas 2 Deceleration DC Motors rau L9110S Stepper
Kauj Ruam 5: Txuas 2 Deceleration DC Motors rau L9110S Stepper

*Nco tseg txoj kev Sketch tau teeb tsa L9110S yuav tsum txuas nrog DC lub cev muaj zog raws nraim li qhia hauv cov duab txuas (lawv tau txuas nrog hauv lub sijhawm)

Kauj Ruam 6: Kauj Ruam 5: Upload CAR.ino Sketch Into Arduino (CAR)

Kauj Ruam 7: Kauj Ruam 6: Tshem Tawm Arduino (CAR) Los Ntawm Lub Hwj Chim thiab Txuas Cov Shield rau Sab saum toj ntawm Arduino

Kauj Ruam 8: Kauj Ruam 7: Txuas L9110S Stepper rau Arduino Shield (CAR)

Kauj Ruam 7: Txuas L9110S Stepper rau Arduino Shield (CAR)
Kauj Ruam 7: Txuas L9110S Stepper rau Arduino Shield (CAR)

Kauj Ruam 9: Kauj Ruam 8: Txuas HC-06 rau Arduino Shield (CAR)

Kauj Ruam 8: Txuas HC-06 rau Arduino Shield (CAR)
Kauj Ruam 8: Txuas HC-06 rau Arduino Shield (CAR)

Kauj Ruam 10: Kauj Ruam 9: Kev Tsim Kho Tsheb RC tiav. Lub Tsheb Yuav Zoo Li No

Kauj Ruam 9: RC Tsheb Kho Kom Tiav tiav. Lub Tsheb Yuav Zoo Li No
Kauj Ruam 9: RC Tsheb Kho Kom Tiav tiav. Lub Tsheb Yuav Zoo Li No
Kauj Ruam 9: RC Tsheb Kho Kom Tiav tiav. Lub Tsheb Yuav Zoo Li No
Kauj Ruam 9: RC Tsheb Kho Kom Tiav tiav. Lub Tsheb Yuav Zoo Li No
Kauj Ruam 9: RC Tsheb Kho Kom Tiav tiav. Lub Tsheb Yuav Zoo Li No
Kauj Ruam 9: RC Tsheb Kho Kom Tiav tiav. Lub Tsheb Yuav Zoo Li No

Kauj Ruam 11: Kauj Ruam 10: Upload HAND.ino Sketch Into Arduino (HAND)

Kauj Ruam 12: Kauj Ruam 11: Tshem Tawm Arduino (HAND) Los ntawm Lub Hwj Chim thiab Txuas Cov Shield rau Sab saum toj ntawm Arduino

Kauj Ruam 13: Kauj Ruam 12: Txuas Gyro rau Arduino Shield (HAND)

Kauj Ruam 12: Txuas Gyro rau Arduino Shield (HAND)
Kauj Ruam 12: Txuas Gyro rau Arduino Shield (HAND)

Saib daim duab txuas

Kauj Ruam 14: Kauj Ruam 13: Txuas HC-06 rau Arduino Shield (HAND)

Pom zoo: