Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
Elecrow community is a shared platform and we are not responsible for any design issues.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
closed
user-img

Howie Durant

Published: May 24,2024

4-channel relay module suitable for LORA projects

ccc ccc
Copyright Info

Attribution-ShareAlike (CC BY-SA)

Read More⇒
  333
  1
  0
cover-img
 
  • thumbnail-img
  • thumbnail-img
 

Tools, APP Software Used etc.

  • Arduino IDE

    Arduino IDE

    Arduino

Story

By making a simple transmitter and receiver, it can monitor and provide real-time feedback from a distance of 10 kilometers without using any WIFI and Bluetooth signals.

That is, I only need to use a few simple small buttons to control the lights connected to the relay module and get feedback from the LEDs. Know whether to send or receive signals.

 

Required component for Transmitter

REYAX RYLR896 Lora Module

Arduino Nano

220-ohm Resistor

4.7k Resistor

10k Resistor

5-mm LED 3no

Push buttons 4no

 

Required component for Receiver

REYAX RYLR896 Lora Module

ESP8266 NodeMCU

5v 4-channel Relay Module

4.7k Resistor

10k Resistor

 

Lora transmitter circuit

A voltage divider was made using 4.7k and 10k resistors to step down the 5 volt logic level to 3.3 volt logic level.

Used the INPUT_PULLUP function in the Arduino IDE instead of using a pull-up resistor

Power the circuit using any 5V DC power source or 9V battery.

The connection diagram is as follows

 

Lora receiver circuit

A voltage divider was made using the same 4.7k and 10k resistors to step down the 5 volt logic level to the 3.3 volt logic level.

Connect the LoRa module after powering the NodeMCU

Power NodeMCU and relay module using 5V 2Amp power supply

(Please take appropriate safety precautions when connecting)

 

Making PCB for receiving LoRa circuit

Gerber files can be downloaded on the right

 

Assembly and solder

Next we can start assembling and soldering the PCB components

Required PCB components

1. Relays 5v (SPDT) (4 no)

2. BC547 Transistors (4 no)

3. PC817 Optocuplors (4 no)

4. 510-ohm 0.25-watt Resistor (4 no) (R1 - R4)

5. 1k 0.25-watt Resistors (5 no) (R5 - R9)

6. LED 5-mm (5 no)

7. 1N4007 Diodes (5 no) (D1 - D5)

8. Push Buttons (4 no)

9. Terminal Connectors

10. 5V DC supply

 

Remaining installation and connections

Connect the NodeMCU board with the PCB.

Connect the Appliances With the Relay Module

Connect the LoRa Module With Arduino and ESP8266

 

AT Commands

1.AT Commands used for the Transmitter LoRa module

AT+ADDRESS=1

AT+NETWORKID=5

AT+BAND=865000000

  •  

2.AT Commands used for the Receiver LoRa module

AT+ADDRESS=1

AT+NETWORKID=5

AT+BAND=865000000

 

Codes for This LoRa Project

Code can be downloaded below

Finally, you can control appliances using the transmitter LoRa circuit and also monitor real-time feedback from the receiver LoRa circuit.

Code
  • Arduino

    Code_Arduino_119636c03269bf2ccc57af0ac6f0244f.zip
    Download(1)
*ELECROW community is a shared platform and we are not responsible for any design issues.
user-img

Howie Durant

+ Follow

Topic

View All
Arduino Lora
  • Comments( 0 )
  • Like( 1 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All