Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Controlled LoRa and Dual Relay System

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled LoRa and Dual Relay System

Circuit Documentation

Summary

This circuit integrates an ESP32 microcontroller with a LORA_RA02 module for wireless communication and two 4-channel 5V relays for controlling external devices. The ESP32 is responsible for handling the logic and communication, while the relays enable the ESP32 to switch higher power devices on and off. A 5V battery provides power to the relays and the ESP32 through a common ground and voltage supply network.

Component List

ESP32 (30 pin)

LORA_RA02

Relay 4 Channel 5v (Two Instances)

5v Battery

Wiring Details

ESP32 (30 pin)

LORA_RA02

Relay 4 Channel 5v (First Instance)

Relay 4 Channel 5v (Second Instance)

5v Battery

Documented Code

There is no code provided for the microcontroller. The code would typically initialize the ESP32's GPIO pins for communication with the LORA_RA02 module and to control the relay channels. It would also handle the logic for when to activate each relay and manage the wireless communication via LoRa.