LoRa two way communication between Slave<->Master->Application
Budget: $30 – $250 USD
Brief description:
- Make communication between Slave and Master devices via LoRa protocol. Master device have built in web server that contain 3 states of slave device inputs and have 3 buttons for control 3 relays. More advanced design will have android application, read 3 states and 3 buttons for control 3 relays.
Slave device is Ai Thinker Ra-08h (Its chip ASR6601 is a universal LPWAN wireless communication SOC, integrated with RF transceivers 868MHz, modems, and a 32-bit RISC MCU). I buy this chip because compact design and small size. Small size is most important in this project. Slave device need to control 3 signal relays and to read state of 3 inputs (solid state relay contacts). Slave device will be powered constantly and no need for power saving features (sleep, standby, energy saving etc..). So basically slave device is constantly in standby mode waiting command from Master via LoRa communication. After receiving command (Relay1 ON/OFF; Relay2 ON/OFF; Relay3 ON/OFF; Read 3 input statuses) Slave module check input states, execute commands (turn ON/OFF relays) and return values to Master device and further to application. So basically slave device have 3 outputs that control 3 relays coils. We can wire LEDS for first time and later we can add fets to control relay coils. Any relay (RLY1, RLY2, RLY3) have two pair of working contacts (C,NC,NO). Relays is UD2-4.5NU made by NEC Japan. First working contact will be used to control, second working contacts will be used (C,NO) to return relay state back to input of Slave.
Slave device will be placed at ground flor at metal distribution cabinet.
Master device is (ESP32 SX1276 LoRa 868MHz 0.96 Inch Blue Oled Display Wifi) module that is act as LoRa gateway. Form one side its communicate with Slave via LoRa protocol and from other side it communicate with application via WiFi 2.4Ghz. Module have display to simply show states of slave device (3 inputs and 3 outputs). It have at two inputs: input1 send command to trigger all 3 relays on Slave device ON; input2 send command to trigger OFF all 3 relays on Slave device. Master device will be placed at apartment 3th flor next to WiFi access point.
Why LoRa communication? i chose LoRa because slave device need to be placed in metal distribution cabinet. In these metal distribution cabinet we have factory made sealed device and our slave device actually need to bee small, compact design with integrated antenna to fit inside free space of factory device. Wireless communication need to be powerful enough to penetrate through metal distribution box from ground flor to 3rd flor near WiFi access point. I do research and find that LoRa can perform long communication distances with limit amount of data. I think we can use LoRa in this project. I already buy all the necessary parts. In two way communication between Master-Slave any command need to have confirmation report from slave. Is command is received and executed or not.
Develop and troubleshooting,
i can assist, you can use my pc remotely or two of them to program devices and make tests.
In att. i send you basic schematic diagram.
- Make communication between Slave and Master devices via LoRa protocol. Master device have built in web server that contain 3 states of slave device inputs and have 3 buttons for control 3 relays. More advanced design will have android application, read 3 states and 3 buttons for control 3 relays.
Slave device is Ai Thinker Ra-08h (Its chip ASR6601 is a universal LPWAN wireless communication SOC, integrated with RF transceivers 868MHz, modems, and a 32-bit RISC MCU). I buy this chip because compact design and small size. Small size is most important in this project. Slave device need to control 3 signal relays and to read state of 3 inputs (solid state relay contacts). Slave device will be powered constantly and no need for power saving features (sleep, standby, energy saving etc..). So basically slave device is constantly in standby mode waiting command from Master via LoRa communication. After receiving command (Relay1 ON/OFF; Relay2 ON/OFF; Relay3 ON/OFF; Read 3 input statuses) Slave module check input states, execute commands (turn ON/OFF relays) and return values to Master device and further to application. So basically slave device have 3 outputs that control 3 relays coils. We can wire LEDS for first time and later we can add fets to control relay coils. Any relay (RLY1, RLY2, RLY3) have two pair of working contacts (C,NC,NO). Relays is UD2-4.5NU made by NEC Japan. First working contact will be used to control, second working contacts will be used (C,NO) to return relay state back to input of Slave.
Slave device will be placed at ground flor at metal distribution cabinet.
Master device is (ESP32 SX1276 LoRa 868MHz 0.96 Inch Blue Oled Display Wifi) module that is act as LoRa gateway. Form one side its communicate with Slave via LoRa protocol and from other side it communicate with application via WiFi 2.4Ghz. Module have display to simply show states of slave device (3 inputs and 3 outputs). It have at two inputs: input1 send command to trigger all 3 relays on Slave device ON; input2 send command to trigger OFF all 3 relays on Slave device. Master device will be placed at apartment 3th flor next to WiFi access point.
Why LoRa communication? i chose LoRa because slave device need to be placed in metal distribution cabinet. In these metal distribution cabinet we have factory made sealed device and our slave device actually need to bee small, compact design with integrated antenna to fit inside free space of factory device. Wireless communication need to be powerful enough to penetrate through metal distribution box from ground flor to 3rd flor near WiFi access point. I do research and find that LoRa can perform long communication distances with limit amount of data. I think we can use LoRa in this project. I already buy all the necessary parts. In two way communication between Master-Slave any command need to have confirmation report from slave. Is command is received and executed or not.
Develop and troubleshooting,
i can assist, you can use my pc remotely or two of them to program devices and make tests.
In att. i send you basic schematic diagram.