Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txuas Lora Module Nrog PC
- Kauj Ruam 2: Teem Parameter rau Transmitter Lora
- Kauj Ruam 3: Teem Cov Parameter rau Txais Lora
- Kauj Ruam 4: Tus Tshaj Tawm LoRa Arduino Circuit
- Kauj Ruam 5: Tau Txais LoRa Arduino Circuit
- Kauj Ruam 6: Tsim PCB rau Relay Module
- Kauj Ruam 7: Txiav txim rau PCB
- Kauj Ruam 8: Tshaj Tawm Cov Ntaub Ntawv Gerber thiab Teeb Cov Qauv
- Kauj Ruam 9: Xaiv Chaw Xa Khoom thiab Them Nyiaj
- Kauj Ruam 10: Ua Haujlwm Ob Qhov Arduino
- Kauj Ruam 11: Txuas Cov Khoom Siv Hauv Tsev
- Kauj Ruam 12: Thaum kawg, Lora Project Tau Npaj Lawm
Video: Lora Arduino Control Relay Module Circuit: 12 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv qhov haujlwm Lora no, peb yuav pom yuav ua li cas tswj cov khoom siv hluav taws xob siab nrog LoRa Arduino relay tswj Circuit. Hauv qhov haujlwm Arduino Lora no, peb yuav siv Reyax RYLR896 Lora module, Arduino, thiab 12v relay module los tswj 5 cov khoom siv hauv tsev nrog Lora lub tshuab xa khoom thiab tus txais. Yog li qhov no kuj tseem muaj txiaj ntsig zoo hauv kev ua haujlwm hauv tsev rau lub tsev ntse. Kuv yuav qhia daim duab qhia chaw ua tiav, Arduino Code, thiab tag nrho lwm cov ntsiab lus nrog yooj yim 6 cov kauj ruam los ua qhov Lora Arduino Project.
Khoom siv
Lora Modules REYAX RYLR896 2no
Arduino Nano 2 tsis
12v relay module 1no
FTDI232 USB rau serial interface board 1no
7805 tus tswj hluav taws xob 1 tsis muaj
22uF capacitor 1 tsis muaj
4.7k Resistor 1 tsis muaj
10k Resistor 6 tsis muaj
Push keyboards 5 tsis
Kauj Ruam 1: Txuas Lora Module Nrog PC
Ua ntej txuas LORA module nrog Arduino, peb yuav tsum teeb tsa qee qhov tsis xws li Chaw Nyob, Band rau Lora module siv AT cov lus txib. Yog li peb yuav tsum txuas Lora Module nrog USB rau lub rooj sib tham sib txuas raws li daim duab qhia chaw. Yog li peb tuaj yeem txuas Lora module nrog Laptop lossis PC. Ntawm no kuv tau siv FTDI232 USB rau Serial interface board.
Kauj Ruam 2: Teem Parameter rau Transmitter Lora
Ua ntej Txuas Lora module nrog lub khoos phis tawj. Hauv Arduino IDE xaiv PORT Tool-> PortOpen Serial Monitor thiab teeb Brud tus nqi rau 115200.
Tam sim no peb tuaj yeem teeb tsa qhov ntsuas nrog qee qhov yooj yim AT cov lus txib.
Ua ntej, ntaus AT ces nias tus yuam sij. Peb yuav tsum tau txais +OK hauv cov ntawv xov xwm.
Tom qab ntawv ntaus AT+ADDRESS = 0 los teeb qhov chaw nyob rau 0 rau tus xa xov Lora.
Tom qab ntawd ntaus AT+BAND = 865000000 los teeb tsa band 865MHz. Cov zaus siv rau LoRa Technology hauv kuv lub tebchaws yog 865 MHz txog 867 MHz. Koj yuav tsum teeb tsa pawg raws li koj lub tebchaws. Koj tuaj yeem google nws kom paub pab pawg rau koj lub tebchaws.
Lub neej ntawd Network id yog 0. yog li peb yuav tsis hloov nws rau qhov haujlwm Lora no.
Kauj Ruam 3: Teem Cov Parameter rau Txais Lora
Ib txoj hauv kev zoo sib xws, peb yuav tsum teeb tsa qhov ntsuas rau qhov tau txais Lora module.
Ua ntej, ntaus AT ces nias tus yuam sij. Peb yuav tsum tau txais +OK hauv cov ntawv xov xwm.
Tom qab ntawv ntaus AT+ADDRESS = 1 txhawm rau teeb tsa chaw nyob rau 1 kom tau txais Lora.
Tom qab ntawd ntaus AT+BAND = 865000000 los teeb tsa band 865MHz. Koj tuaj yeem google nws kom paub pab pawg rau koj lub tebchaws.
Lub neej ntawd Network id yog 0. yog li peb yuav tsis hloov nws rau qhov haujlwm Lora no.
Kauj Ruam 4: Tus Tshaj Tawm LoRa Arduino Circuit
Hauv lub tshuab xa hluav taws xob Lora Circuit, peb tau txuas nrog lub tshuab xa tawm Lora module nrog Arduino Nano raws li daim duab kos duab.
Hauv Transmitter Lora Circuit, 5 lub pob nyem tau txuas nrog Arduino tus lej pin D2, D3, D4, D5, D6. Thaum twg los xij peb nias ib lub laub-khawm, lub teeb liab xa mus rau tau txais Lora module los qhib lossis kaw qhov sib txuas sib txuas.
Ntawm no kuv tau ua qhov faib hluav taws xob nrog ob tus tiv thaiv 4.7k thiab 10k kom poob qis 5v logic qib mus rau 3.3v logic qib. Arduino tuaj yeem xa cov teeb liab ntawm 5v qib kev xav tab sis Lora module RYLR896 tuaj yeem txais lub teeb liab ntawm 3.3v qib kev xav. Yog li peb tau txuas qhov kev faib hluav taws xob ntawm Arduino TX tus pin thiab Lora RYLR896 RX tus pin.
Kauj Ruam 5: Tau Txais LoRa Arduino Circuit
Kuv tau txuas nrog qhov tau txais Lora module nrog Arduino Nano raws li tau txais Lora Circuit daim duab.
Hauv tus txais Lora Circuit, Kuv tau siv Arduino tus lej pin D8, D9, D10, D11, D12 los tswj 12v relay module.
Ntawm no qhov faib hluav taws xob tsis xav tau vim Arduino tuaj yeem tau txais lub teeb liab ntawm 3.3v qib kev xav los ntawm kev tau txais Lora module RYLR896.
Kuv tau siv tus ntsuas hluav taws xob 7805 (5-volt) los pub 5v muab rau Arduino Circuit.
Kauj Ruam 6: Tsim PCB rau Relay Module
Hauv qhov haujlwm LoRa no, Kuv tau siv 12v relay module. Koj tuaj yeem yuav cov qauv xa tawm hauv online tab sis raws li kuv xav tau cov qauv xa tawm hauv feem ntau ntawm kuv cov phiaj xwm, yog li kuv tau tsim PCB rau Relay module.
Koj tseem tuaj yeem rub tawm Garber cov ntaub ntawv rau 12v relay module los ntawm qhov txuas hauv qab no
drive.google.com/uc?export=download&id=1gSz2if9vpkj6O7vc9urzS6hUEJHfgl1g
Kauj Ruam 7: Txiav txim rau PCB
Tom qab rub tawm Garber cov ntaub ntawv koj tuaj yeem yuam kom PCB yooj yim
1. Mus ntsib https://jlcpcb.com thiab Kos Npe/Sau Npe
2. Nyem rau ntawm QUOTE NOW khawm.
3 Nyem rau ntawm "Ntxiv koj cov ntaub ntawv Gerber". Tom qab ntawv xauj thiab xaiv Gerber cov ntaub ntawv uas koj tau rub tawm
Kauj Ruam 8: Tshaj Tawm Cov Ntaub Ntawv Gerber thiab Teeb Cov Qauv
4. Teeb tsa qhov yuav tsum tau ntsuas xws li kom muaj nuj nqis, xim PCB, thiab lwm yam
5. Tom qab xaiv tag nrho Cov Parameters rau PCB nyem rau SAVE TO CART khawm.
Kauj Ruam 9: Xaiv Chaw Xa Khoom thiab Them Nyiaj
6. Ntaus Chaw Xa Khoom.
7. Xaiv Txoj Kev Xa Khoom uas haum rau koj.
8. Xa daim ntawv xaj thiab mus rau qhov kev them nyiaj.
Koj tseem tuaj yeem taug qab koj daim ntawv xaj los ntawm JLCPCB.com. Hauv kuv qhov xwm txheej, PCBs tau siv 2 hnub los tsim khoom thiab tuaj txog hauv ib lub lis piam siv DHL qhov kev xaiv xa khoom. PCBs tau ntim tau zoo thiab qhov ua tau zoo tiag tiag ntawm tus nqi pheej yig no.
Kauj Ruam 10: Ua Haujlwm Ob Qhov Arduino
Tam sim no tso cov cai rau tus xa thiab txais Lora Arduino Circuit.
Kuv tau piav qhia ob qho Arduino code hauv cov vis dis aus ntsig txog. Kuv yuav pom zoo kom saib cov vis dis aus kom nkag siab zoo.
Rub tawm daim duab Arduino rau qhov haujlwm Lora Arduino:
drive.google.com/uc?export=download&id=1jA0Hf32pvWQ6rXFnW1uiHWMEewrxOvKr
Kauj Ruam 11: Txuas Cov Khoom Siv Hauv Tsev
Tam sim no peb yuav txuas 5 lub cuab yeej siv hauv tsev nrog 12v relay module raws li daim duab qhia chaw.
Thov ua raws li kev tiv thaiv kev nyab xeeb kom raug thaum txuas 110v lossis 230v thauj khoom nrog cov qauv xa tawm.
Kauj Ruam 12: Thaum kawg, Lora Project Tau Npaj Lawm
Tam sim no peb tuaj yeem tswj hwm 5 lub cuab yeej siv hauv tsev siv lub tshuab xa hluav taws xob Lora. Ntawm no kuv tau txuas 5 230v AC lub teeb nrog cov qauv xa tawm. Tam sim no yog tias kuv nias ib lub laub khawm, lub teeb tshwj xeeb yuav qhib.
Hauv thaj chaw nyob deb nroog nrog qhov haujlwm Arduino Lora no, peb tuaj yeem tswj cov khoom siv hluav taws xob siab los ntawm 10 km deb yam tsis muaj Bluetooth lossis WiFi ntaus ntawv. Yog li qhov no muaj txiaj ntsig zoo rau Arduino txoj haujlwm hauv cheeb tsam deb nroog.
Kuv vam tias, koj nyiam txoj haujlwm LORA no.
Thov qhia koj qhov kev tawm tswv yim ntawm qhov haujlwm LoRa no. Ua tsaug rau koj lub sijhawm.
Pom zoo:
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module - Lub Tswv Yim Hauv Tsev Automation: 15 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module | Lub Tswv Yim Ua Lag Luam Hauv Tsev: Hauv qhov haujlwm ua haujlwm hauv tsev no, peb yuav tsim lub tsev ntse hloov chaw uas tuaj yeem tswj tau 5 yam khoom siv hauv tsev. Qhov kev hloov pauv no tuaj yeem tswj tau los ntawm Txawb lossis smartphone, IR chaw taws teeb lossis TV nyob deb, Kev hloov pauv ntawm tes. Qhov kev tshaj tawm ntse no tseem tuaj yeem paub txog r
Arduino Tutorial - BLYNK Styled Button thiab ESP -01 Relay Module: 3 Kauj Ruam (nrog Duab)
Arduino Tutorial - BLYNK Styled Button thiab ESP -01 Relay Module: Txais tos rau lwm qhov kev qhia ntawm peb cov channel, qhov no yog thawj qhov kev qhia ntawm lub caij no uas yuav mob siab rau IoT systems, ntawm no peb yuav piav qhia qee yam ntawm cov yam ntxwv thiab kev ua haujlwm ntawm cov cuab yeej siv nyob rau hauv hom kab ke no. Los tsim cov no
ESP32 Nrog E32-433T LoRa Module Tutorial - LoRa Arduino cuam tshuam: 8 Kauj Ruam
ESP32 Nrog E32-433T LoRa Module Tutorial | LoRa Arduino cuam tshuam: Hav, ua li cas, Cov Menyuam! Akarsh ntawm no los ntawm CETech Qhov phiaj xwm no ntawm kuv yog cuam tshuam nrog E32 LoRa module los ntawm eByte uas yog lub zog siab 1-watt transceiver module nrog ESP32 siv Arduino IDE.Peb nkag siab txog kev ua haujlwm ntawm E32 hauv peb qhov kev qhia kawg
E32-433T LoRa Module Tutorial - DIY Breakout Board rau E32 Module: 6 Kauj Ruam
E32-433T LoRa Module Tutorial | DIY Breakout Board rau E32 Module: Hav, yog dab tsi, Men! Akarsh ntawm no los ntawm CETech Qhov phiaj xwm no ntawm kuv yog kev kawm nkhaus kom nkag siab txog kev ua haujlwm ntawm E32 LoRa module los ntawm eByte uas yog lub zog loj 1-watt transceiver module. Thaum peb nkag siab txog kev ua haujlwm, Kuv tau tsim
Tswj Cov Khoom Siv Hauv Tsev Hla LoRa - LoRa hauv Tsev Automation - LoRa Chaw Taws Teeb: 8 Kauj Ruam
Tswj Cov Khoom Siv Hauv Tsev Hla LoRa | LoRa hauv Tsev Automation | LoRa Kev Tswj Chaw Taws Teeb: Tswj thiab siv koj lub cuab yeej siv hluav taws xob los ntawm qhov deb (Kilometers) yam tsis muaj internet. Qhov no ua tau los ntawm LoRa! Hav, ua li cas, cov menyuam? Akarsh ntawm no los ntawm CETechQhov PCB no tseem muaj cov zaub OLED thiab 3 qhov txuas uas