4 Cov Qauv Ua Haujlwm ntawm BLE Module

Table of Contents

Muaj ntau hom kev sib txuas muaj rau BLE ntaus ntawv. Ib yam khoom txuas nrog BLE tuaj yeem muaj txog li 4 yam haujlwm sib txawv:

1. Tshaj tawm

Lub "Broadcaster" yuav tsum tau siv raws li ib tug neeg rau zaub mov. Yog li, nws lub hom phiaj yog hloov cov ntaub ntawv mus rau ib lub cuab yeej tsis tu ncua, tab sis nws tsis txhawb kev nkag mus.

Ib qho piv txwv yog Beacon raws li Bluetooth Tsawg Zog. Thaum lub beacon nyob rau hauv hom kev tshaj tawm, nws feem ntau yog teem rau lub xeev tsis txuas. Beacon yuav tshaj tawm cov ntaub ntawv pob khoom mus rau ib puag ncig ntawm ib ntus. Raws li tus tswv tsev ywj pheej Bluetooth, nws yuav tau txais Beacon tshaj tawm hauv lub sijhawm thaum ua haujlwm scanning tawm ntawm pob ntawv. Cov ntsiab lus ntawm pob ntawv tuaj yeem muaj txog 31 bytes ntawm cov ntsiab lus. Nyob rau tib lub sijhawm, thaum tus tswv tsev tau txais pob ntawv tshaj tawm, nws yuav qhia qhov chaw nyob MAC, Tau Txais Cov Teeb Pom Kev Zoo Tshaj Plaws (RSSI), thiab qee cov ntaub ntawv hais txog kev tshaj tawm. Daim duab hauv qab no yog Feasycom BP103: Bluetooth 5 Mini Beacon

2. Cov neeg soj ntsuam

Hauv kauj ruam thib ob, lub cuab yeej tsuas yog saib xyuas thiab nyeem cov ntaub ntawv xa los ntawm "broadcaster". Hauv qhov xwm txheej zoo li no, cov khoom siv tsis tuaj yeem xa ib qho kev sib txuas rau lub server.

Ib qho piv txwv yog Gateway. BLE Bluetooth nyob rau hauv kev soj ntsuam hom, tsis muaj kev tshaj tawm, nws tuaj yeem luam theej duab cov khoom siv tshaj tawm hauv ib puag ncig, tab sis tsis tuaj yeem xav tau kev txuas nrog cov khoom siv tshaj tawm. Daim duab hauv qab no yog Feasycom Gateway BP201: Bluetooth Beacon Gateway

3. Central

Central feem ntau muaj lub smartphone lossis ntsiav tshuaj. Cov cuab yeej no muab ob hom kev sib txuas: xws li hauv hom kev tshaj tawm lossis hauv hom kev sib txuas. Nws yog ua tus txheej txheem tag nrho raws li nws ua rau cov ntaub ntawv hloov. Daim duab hauv qab no yog Feasycom BT630, raws li nRF52832 chipset, nws txhawb peb hom: central, peripheral, central-peripheral. Me Me Bluetooth Module nRF52832 Chipset

4. Peripheral

Cov cuab yeej Peripheral tso cai rau kev sib txuas thiab cov ntaub ntawv hloov pauv nrog Central ntawm lub sijhawm. Lub hom phiaj ntawm lub hom phiaj no yog los xyuas kom meej cov ntaub ntawv xa mus thoob ntiaj teb los ntawm kev siv cov txheej txheem txheej txheem, kom lwm yam khoom siv kuj tuaj yeem nyeem thiab nkag siab cov ntaub ntawv.

Lub Bluetooth Tsawg Zog Module ua haujlwm nyob rau hauv peripheral hom kuj tseem nyob hauv lub xeev tshaj tawm, tos kom luam tawm. Tsis zoo li hom kev tshaj tawm, Bluetooth module hauv hom qhev tuaj yeem txuas nrog, thiab ua raws li qhev thaum xa cov ntaub ntawv.

Feem ntau ntawm peb cov BLE modules tuaj yeem txhawb nqa nruab nrab ntxiv rau peripheral hom. Tab sis peb muaj firmware txhawb peripheral nkaus xwb hom, daim duab hauv qab no yog Feasycom BT616, nws muaj firmware txhawb peripheral nkaus xwb hom: BLE 5.0 Module TI CC2640R2F Chipset

Scroll rau saum