Difference between revisions of "Lora Relay"
|Line 130:||Line 130:|
Revision as of 08:15, 24 June 2020
- This is a relay module that could be controlled by Lora, with max current 30A/240V. Based on RFM98W, it support max 4~5 km Lora communication.
- This Lora relay module is preloaded Arduino Pro mini(3.3v 8M) bootloader and simple demo firmware Lora Relay V1.1, the users could freely change/update the firmware with Arduino IDE, with a common UART tool (Note that if there no DTR in your UART tool, you will need to press reset button to reset the controller Mega328P manually).
- Lora Relay transceivers feature the LoRa long range modem that provides ultra-long range spread spectrum communication and high interference immunity.
- Lora Relay offers bandwidth options ranging from 7.8125kHz to 500 kHz with spreading factors ranging from 6 to 12, there are three choices of the working frequency.
|Item||Lora Module||working frequency|
|Lora Relay 433M||RFM98W-433MHz/SX1278||433MHz|
|Lora Relay 868M||RFM95W-868MHz||433MHzcommunication is established.|
|Lora Relay 915M||RFM95W-915MHz||915MHz|
Free ISM bands world Wide(come from TI)
Lora Relay based on the Arduino, users can program it with Arduino IDE, which is very easy especially suit for the none-programmers. There are also guide for users to learn how to create the first IoT project with this board, with which the starters can learn the hardware and programming skill quickly.
1. Lora Relay 2. Maduino Lora Radio 3. USB-to-UART tool 4. DC12V Adapter(at least 200mA) 5. microUSB Cable 6. PC
This guides help you how to use a Maduino Lora Radio transmit messages to control the Lora Relay switch on or off. You can get Maduino Lora Radio from:
This Lora Relay can be used to switch the AC bulb light on or off. We integrated the 30A current relay, which will give you a wide use for large current device. Notice: Maduino Lora Radio and the Lora Relay must have the same work frequency. Otherwise, it receive nothing from another.
• ATMEL Atmega328P: High Performance, Low Power Atmel®AVR® 8-Bit Microcontroller
• Speed Grade:20Mhz
• RAM: 2KBytes
• EEPROM: 1KBytes
• DC12V input
• Max Switch current:30A
• Max Switch Voltage: 250VAC
• Max Switch Power:7200VA
• Relay Contact form: SPDT
• Relay Coil Rated voltage：12V DC
• Relay Coil Rated current：75mA
• Relay Coil Rated resistance：160Ω±10%
• Relay Coil Pick-up Voltage: 75%Max
• Relay Coil Dropout Voltage: 10%Min
• Relay Coil Maximum voltage: 130%Max
• Mechanical Service life: 100,000 operations min. (at 1,800 operations/hour)
• Electrical Service life: 10,000,000(at 1,800 operations/hour)
• Temperature Range: -40C to 85C
|PWR||Light on when powered on, light off when powered off|
|RL||Light on when COM connect to NO, Light off when COM connect to NC Normally light off|
|Status||Blink, can be controlled by PIN D5|
②PWR: power LED
④Status: Status LED
⑧DC: DC12V in
⑨RL: Relay LED
⑩Relay: 30A Relay
Lora Relay requires a USB-to-UART tool to upload firmware to it, you can get it from:
Install the CP2102 driver from:
|Lora Relay||USB-to-UART Tool|
After a Arduino IDE installed, there is a default package to support Lora Soil Moisture Sensor(Arduino Zero ),
From the top Arduino IDE menu, select Tools-> Board-> Arduino Pro or Pro Mini
Open LoraTransmitterADCAHT10.ino, verify and upload the firmware to Lora Soil Moisture.
Modify the frequency macro according to your board is 433Mhz or 868Mhz or 915Mhz.
If your Lora board is 433MHz:
#define RF95_FREQ 433.0
If your Lora board is 868MHz:
#define RF95_FREQ 868.0
If your Lora board is 915MHz:
#define RF95_FREQ 915.0
Tips: Lora Soil Moisture designed as a product, so it not integrates the USB-to-UART on board. If you upload the firmware fails, press and hold the Reset button before upload the firmware. When the IDE shows below, then release the button that may helped to upload the firmware success. That’s we need a reset the MCU when upload the firmware.
Install the AAA*2 batteries and put the Lora Soil Moisture aside, now we need to make the Lora Radio Receiver.
Open the code LoraReceiver.ino
Select the Arduino Pro or Pro mini
Verify and upload the firmware.
You can list your questions here or contact with firstname.lastname@example.org for technology support.