Cov txheej txheem:

Pheej Yig Speedy Bee Bluetooth Module: 4 Kauj Ruam
Pheej Yig Speedy Bee Bluetooth Module: 4 Kauj Ruam

Video: Pheej Yig Speedy Bee Bluetooth Module: 4 Kauj Ruam

Video: Pheej Yig Speedy Bee Bluetooth Module: 4 Kauj Ruam
Video: Ib Ob Peb, Los Seev Cev (Official Music Video) - Douachi Yang 2024, Kaum ib hlis
Anonim
Pheej Yig Speedy Bee Bluetooth Module
Pheej Yig Speedy Bee Bluetooth Module
Pheej Yig Speedy Bee Bluetooth Module
Pheej Yig Speedy Bee Bluetooth Module

Speedy Bee yog ib qho app rau IOS/Android rau kev txheeb xyuas/teeb tsa Lub Rooj Tswjhwm Dav Hlau.

Nrhiav txhua yam txog nws ntawm no: SpeedyBee txuas

Nws muab kev yooj yim rau cov tswj hwm Dav Hlau yam tsis siv lub khoos phis tawj lossis lub khoos phis tawj, yooj yim heev thaum koj tawm mus tom teb. Nws siv Bluetooth rau kev sib txuas lus wireless, koj tuaj yeem yuav Speedybee kho vajtse lossis siv "El Cheapo" ib yam li kuv tau ua. Tab sis nws xav tau kev pab cuam me ntsis:-)

Nov yog cov khoom peb xav tham nrog peb tus tswj hwm lub davhlau:

Cable, USB rau serial: Cable-txuas

Bluetooth module los ntawm Banggood: AT-09 module

Khoos phis tawj lossis khoos phis tawj, software kawg (piv txwv li Arduino IDE, Putty, picocom …) ntsia

Kuv xav tias kev paub pib ntawm R/C drones thiab cov tswj kev ya davhlau (Betaflight teeb tsa thiab khoos phis tawj). SpeedyBee tseem ua haujlwm nrog iNav thiab ButterFlight, txheeb xyuas lawv lub xaib.

Kauj ruam 1: Teeb tsa Bluetooth Module

Teeb tsa Bluetooth Module
Teeb tsa Bluetooth Module

AT-09 tus qauv los ntawm Banggood ua haujlwm zoo rau SpeedyBee tab sis peb yuav tsum hloov qee qhov chaw. Kuv pom ntau cov ntawv teev tseg thiab cov ntawv tab sis thaum sim ntsuas qhov kuv muaj ntau qhov yuam kev …

Yog li kuv tau sim thiab sim kom txog thaum … nws ua haujlwm yog li peb yuav qhia nws!

Tua koj lub khoos phis tawj thiab pib lub davhlau ya nyob twg software (Kuv siv Arduino IDE). Thov pib saib xyuas. Txuas tus xov tooj txuas mus rau USB rau tus qauv raws li hauv qab no:

--Red poj niam los ntawm cable rau module VCC

--Black poj niam los ntawm cable rau module GND

--White poj niam los ntawm cable rau module TXD

--Green poj niam los ntawm cable rau module RXD

STATE thiab EN ntawm module tsis txuas nrog.

Txheeb xyuas ob zaug thiab txheeb xyuas koj cov kev sib txuas thiab ntsaws USB-sab ntawm lub cable rau hauv koj lub computer.

Kauj ruam 2: Configuring Module

Kho qhov Module
Kho qhov Module
Kho qhov Module
Kho qhov Module
Kho qhov Module
Kho qhov Module

Txheeb xyuas yog tias koj lub davhlau ya nyob twg baudrate yog 9600 baud thiab NL/CR (kev xa tsheb thauj khoom tshiab) raug xaiv raws li pom hauv cov duab (thov txim nws yog lus Dutch …).

Ntaus "AT" thiab Nkag mus, tus qauv yuav tsum teb "OK". Tam sim no ntaus ntawv "AT+HELP" thiab Enter, module yuav qhia cov npe raws li pom hauv daim duab.

Ntaus "AT+NAME" ua raws li lub npe koj xaiv, module yuav teb "NAME = ….".

Tam sim no nws yog lub sijhawm los muab cov qauv tso tawm ntawm 19200 baud raws li xav tau los ntawm SpeedyBee app.

Ntaus "AT+BAUD5" thiab Enter. Module teb "+BAUD = 5" thiab OK.

Hloov baudrate ntawm tus saib xyuas rau xyoo 19200 (lossis koj yuav pom cov khib nyiab lossis tsis muaj dab tsi hlo li:-))

Ntaus "AT" thiab Nkag mus, yog tus qauv hais tias "OK" koj ua tiav!

Kauj Ruam 3: Teeb tsa Pawg Tswj Xyuas Dav Hlau

Txhawm rau ntsuas Bluetooth tus qauv nrog SpeedyBee Kuv xav tau Pawg Tswj Xyuas Dav Hlau. Kuv muaj F3 evo Txhuam ntawm kuv lub txee uas xav tau kho, lub zog hloov pauv tau tuag tab sis nws ua haujlwm tau zoo thaum txuas nrog USB. Nws yog qhov teeb meem dag heev li Bluetooth module muaj qhov loj me thiab hnyav li F3 evo tab sis nws tsis ua li cas rau kev sim:-).

Tus Tswj Dav Hlau yuav tsum muaj BetaFlight version 3.1.0 lossis siab dua, yog xav tau hloov kho koj lub davhlau tswj.

Peb yuav xav tau peb lub khoos phis tawj lossis khoos phis tawj ib zaug ntxiv ua ntej peb tuaj yeem siv SpeedyBee app: peb yuav tsum teeb tsa qhov chaw nres nkoj UART dawb ntawm 19200 baud rau kev sib txuas lus nrog Bluetooth module.

Qhov no tau piav qhia zoo heev hauv phau ntawv SB-BUA. Pib Betaflight Configurator, txuas koj lub rooj tsavxwm thiab mus rau Ports Tab. Xaiv UART (Kuv xaiv 2) thiab teeb tsa Baudrate rau 19200.

Txuag thiab rov pib dua thiab koj ua tiav!

Kauj Ruam 4: Hooking Up thiab Testing

Hooking Up thiab Testing
Hooking Up thiab Testing
Hooking Up thiab Testing
Hooking Up thiab Testing
Hooking Up thiab Testing
Hooking Up thiab Testing

Nrhiav PCB txheej txheem ntawm koj lub rooj tsavxwm thiab nrhiav qhov xaiv UART. Txuas tus qauv rau koj lub davhlau ya nyob twg tswj (soldering, xaim qhwv rau tus qauv). Xa mus rau SB-BUA phau ntawv qhia. Txheeb xyuas koj txoj haujlwm, tseem ceeb heev!

Tua tawm lub app thiab lub hwj chim lub davhlau contoller. Lub app yuav aks koj "Coj mus rhaub rau pib scanning".

Kuv hu kuv tus qauv "BLOETOET".

Thaum koj ua qhov no lub npe uas koj tau xaiv hauv cov kauj ruam dhau los yuav tsum tshwm, thaum nws txuas koj nyob hauv! Kho/Kuaj tab sis feem ntau ntawm txhua qhov: Muaj Kev Lom Zem Loj!

Yog tias tsis ua tiav xa mus rau SB-BUA phau ntawv qhia nws muab cov txheej txheem daws teeb meem zoo!

Hmoov zoo thiab zoo siab Flying!

Bob

Pom zoo: