Projects
Circuits

Circuits

The solution will comprise of four inter-connected circuits, each using one of the three most popular boards. The boards will exchange data with each other using UART (Serial) wired communication and LoRa wireless communication. The ESP32 will exchange data with an MQTT Broker over WiFi and the IoT App over BLE. The solution will also have a shared power supply and an LCD display module.

1. Access Control Circuit

This circuit will use an Arduino Nano as the microcontroller and have the following modules:

  • Breadboard Power Supply module (this will be used by other circuits as well)
  • LCD with I2C Backpack (this will be used by other circuits as well)
  • Matrix keypad
  • RFID reader

2. The Nano Sensor and Controller Circuit

This circuit will use an Arduino Nano as the microcontroller and have the following modules:

  • RGB LED
  • LCD with I2C
  • Buzzer
  • Gas Sensor
  • Ultrasonic Distance Sensor
  • PIR Motion Sensor
  • Raindrop Sensor
  • Soil Moisture Sensor
  • LoRa Communication Module

3. The Pico Sensor and Controller Circuit

This circuit will use a Raspberry Pico as the microcontroller and have the following modules:

  • RGB LED
  • LCD with I2C
  • Temperature and Humidity Sensor
  • Infrared Sensor
  • Ambient Light Sensor
  • Sound Sensor
  • Relay
  • Servo Motor

4. The ESP32 Communication Circuit

This circuit will use an Espressif ESP32 as the microcontroller and have the following modules:

  • RGB LED Module
  • OLED Display
  • LoRa Communication Module

5. The Power Supply and LCD

This will not have a microcontroller, only a shared power supply for the components across circuits and an LCD display module for all circuits to display their data on.

Circuit Diagram

The complete circuit diagram with all four circuits, the breadboard power supply, and the LCD module and their inter-connections is show below.

ESP32 Circuit Diagram