Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Cov Khoom Siv Tshwj Xeeb
- Kauj Ruam 2: Hom Kis
- Kauj Ruam 3: Ntaus Ntaus
- Kauj Ruam 4: Txuas Xov Tooj
- Kauj ruam 5: Kev teeb tsa
- Kauj Ruam 6: Kev Kho Kom Zoo
- Kauj Ruam 7: Xa Xov
- Kauj Ruam 8: Shield rau Arduino
- Kauj ruam 9: Tsev qiv ntawv
Video: Yooj Yim Arduino LoRa Kev Sib Txuas (ntau dua 5km): 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Peb yuav sim E32-TTL-100 nrog kuv lub tsev qiv ntawv. Nws yog lub tshuab xa xov hluav taws xob wireless, ua haujlwm ntawm 410 441 MHz (lossis 868MHz lossis 915MHz) raws li thawj RFIC SX1278 los ntawm SEMTECH, muaj kev sib kis tau zoo, qib TTL. Tus qauv lees paub LORA kis cov tshuab thev naus laus zis.
Khoom siv
- Arduino UAS
- LoRa e32 cov cuab yeej
Yeem yeem
- Mischianti Arduino LoRa ntaub thaiv npog (Qhib qhov chaw)
- Mischianti WeMos LoRa ntaub thaiv npog (Qhib qhov chaw)
Kauj Ruam 1: Cov Khoom Siv Tshwj Xeeb
Tus qauv qhia FEC Forward Error Correction algorithm, uas ua kom nws muaj txiaj ntsig zoo coding & kho tau zoo. Thaum muaj kev cuam tshuam tam sim, nws tuaj yeem kho qhov cuam tshuam cov ntaub ntawv pob khoom tau txais, yog li qhov kev ntseeg tau thiab kev sib kis tau zoo dua qub. Tab sis tsis muaj FEC, cov ntawv da te tuaj yeem tsuas yog poob. Thiab nrog qhov nyuaj encryption & decryption, cov ntaub ntawv cuam tshuam dhau los ua qhov tsis tseem ceeb. Kev ua haujlwm ntawm cov ntaub ntawv nrawm tuaj yeem txo lub sijhawm sib kis & qhov tshwm sim ntawm kev cuam tshuam, thaum txhim kho kev ntseeg tau & kev ua haujlwm tau zoo.
- Module loj: 21*36mm
- Hom kav hlau txais xov: SMA-K (50Ω impedance)
- Kev xa mus deb: 3000m (max)
- Lub zog siab tshaj: 2dB (100mW)
- Huab cua tus nqi: 2.4Kbps (6 qib xaiv tau (0.3, 1.2, 2.4, 4.8, 9.6, 19.2kbps)
- Emission ntev: 512ByteReceive
- ntev: 512Byte
- Kev Sib Txuas Lus Sib Txuas: UART - 8N1, 8E1, 8O1,
- Yim yam ntawm UART baud Tus Nqi, los ntawm 1200 txog 115200bps (Default: 9600)
- Kev txhawb nqa RSSI: Tsis yog (Ua-hauv kev ua haujlwm ntse)
Kauj Ruam 2: Hom Kis
Qhov no tuaj yeem txiav txim siab zoo li "Hom Demo", los ntawm lub neej ntawd koj tuaj yeem xa xov mus rau txhua lub cuab yeej ntawm tib qhov chaw teeb tsa thiab channel.
Tsau kis tau tus mob
Hom kev sib kis no koj tuaj yeem hais qhia chaw nyob thiab channel uas koj xav xa xov. Koj tuaj yeem xa xov mus rau:
- Cov cuab yeej tshwj xeeb nrog qhov chaw nyob ua ntej txiav txim siab Tsawg, Chaw Nyob Siab thiab Channel.
- Tshaj tawm cov lus rau txheej txheej ntawm cov khoom siv hauv channel Ib txwm siv Cias xa xov.
Kauj Ruam 3: Ntaus Ntaus
Hom qub Tsuas yog xa xov.
Wake-up hom thiab lub zog-txuag hom
Raws li koj tuaj yeem npaj siab yog tias lub cuab yeej nyob hauv Wake-up hom tuaj yeem "tsa" ib lossis ntau lub cuab yeej uas nyob rau hauv hom kev txuag hluav taws xob nrog kev sib tham ua ntej.
Hom phiaj/hom pw
Nrog rau kev teeb tsa no koj tuaj yeem hloov kho koj lub cuab yeej.
Kauj Ruam 4: Txuas Xov Tooj
Nov yog cov txheej txheem ntawm kev txuas ntawm lub cuab yeej, qhov no yog kev sib txuas tag nrho, nrog kev tswj hwm ntawm M0 thiab M1 tus lej tso cai hloov tus qauv ntawm lub cuab yeej, yog li koj tuaj yeem hloov mus rau kev teeb tsa lossis sawv hom nrog txoj haujlwm, lub tsev qiv ntawv pab koj txhua yam no kev ua haujlwm.
Kauj ruam 5: Kev teeb tsa
Muaj cov lus txib tshwj xeeb los teeb tsa thiab tau txais kev teeb tsa
teeb tsa tsis muaj dab tsi () {Serial.begin (9600); ncua (500); // Pib txhua tus pin thiab UART e32ttl100.begin (); ResponseStructContainer c; c = e32ttl100.getConfiguration (); // Nws yog ib qho tseem ceeb tau teeb tsa tus taw tes ua ntej txhua lwm txoj haujlwm Kev teeb tsa teeb tsa = *(Kho *) c.data; Serial.println (c.status.getResponseDescription ()); Serial.println (c.status.code); printParameters (teeb tsa); ResponseStructContainer cMi; cMi = e32ttl100.getModuleInformation (); // Nws yog qhov tseem ceeb tau txais cov ntaub ntawv taw qhia ua ntej txhua qhov kev ua haujlwm ModuleInformation mi = *(ModuleInformation *) cMi.data; Serial.println (cMi.status.getResponseDescription ()); Serial.println (cMi.status.code); printModuleInformation (mi); }
Kauj Ruam 6: Kev Kho Kom Zoo
Thiab qhov tshwm sim dhau los
Pib Ua Tau Zoo 1 ---------------------------------------- HEAD BIN: 11000000 192 C0 AddH BIN: 0 AddL BIN: 0 Chan BIN: 23 -> 433MHz SpeedParityBit BIN: 0 -> 8N1 (Default) SpeedUARTDataRate BIN: 11 -> 9600bps (default) SpeedAirDataRate BIN: 10 -> 2.4kbps (default) OptionTrans BIN: 0 - > Transparent transmit (default) OptionPullup BIN: 1 -> TXD, RXD, AUX yog laub -rub/rub -ups OptionWakeup BIN: 0 -> 250ms (lub neej ntawd) OptionPower BIN: 0-> 20dBm (Default) ---------------------------------------- Ua tau zoo 1 ---------------------------------------- HEAD BIN: 11000011 195 C3 Qauv tsis yog.: 32 Version: 44 Nta: 14 ----------------------------------------
Kauj Ruam 7: Xa Xov
Nov yog daim duab yooj yim kom xa xov mus rau txhua lub cuab yeej txuas rau hauv channel
lub voj void () {// Yog tias muaj qee yam yog (e32ttl100.available ()> 1) {// nyeem Txoj Cai Xov Xwm ResponseContainer rc = e32ttl100.receiveMessage (); // Puas yog qee yam mus tsis raug luam yuam kev yog (rc.status.code! = 1) {rc.status.getResponseDescription (); } lwm tus {// Luam tawm cov ntaub ntawv tau txais Serial.println (rc.data); }} yog (Serial.available ()) {String input = Serial.readString (); e32ttl100.sendMessage (tswv yim); }}
Kauj Ruam 8: Shield rau Arduino
Kuv tsim ib daim ntaub thaiv rau Arduino uas ua tau zoo heev rau kev tsim qauv.
Thiab kuv tso Nws raws li qhov qhib qhov haujlwm ntawm no
www.pcbway.com/project/shareproject/LoRa_E32_Series_device_Arduino_shield.html
Kauj ruam 9: Tsev qiv ntawv
GitHub repository
Txhawb lub rooj sab laj
Cov ntaub ntawv ntxiv
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Kev Sib Txuas Txuas Txuas Txuas Siv Bluefruit: 4 Cov Kauj Ruam
Kev Sib Txuas Tsis Sib Txuas Siv Bluefruit: Nov yog cov lus qhia yooj yim los ntawm kauj ruam qhia los hloov koj cov xov hlau nrog bluetooth tsis muaj zog txuas: Nws coj kuv ib pliag los daws qhov no vim tias tsis muaj cov ntaub ntawv hais txog kev ua qhov no nrog bluetooth niaj hnub tsis muaj zog thev naus laus zis raws li Bluefrui
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: 3 Kauj Ruam
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: Qhov haujlwm no yuav pab koj txuas 18 LEDs (6 Liab + 6 Xiav + 6 Daj) rau koj lub Rooj Tswjhwm Saib Arduino thiab txheeb xyuas koj lub khoos phis tawj Lub Suab Suab Lub suab lub sijhawm tiag tiag thiab xa lawv mus rau cov LEDs kom pom lawv raws li qhov cuam tshuam (Snare, High Hat, Kick)
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi