Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO-Based Multi-Sensor Environmental Monitor with Wi-Fi Connectivity

Image of Arduino UNO-Based Multi-Sensor Environmental Monitor with Wi-Fi Connectivity

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO as the central microcontroller, interfaced with various sensors and modules including the Adafruit BMP180 barometric pressure sensor, ESP-01 WiFi module, a photocell (LDR), a DHT03 humidity and temperature sensor, an MQ-4 methane gas sensor, and a 16x2 LCD screen with I2C interface. The circuit is powered by an MB102 Breadboard Power Supply Module capable of providing both 3.3V and 5V outputs. A resistor is also included in the circuit for the photocell voltage divider.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • Features digital I/O pins, analog input pins, and various power pins

Adafruit BMP180

  • Barometric pressure sensor
  • Capable of measuring temperature as well
  • Interfaces via I2C

ESP-01

  • WiFi module based on the ESP8266
  • Provides wireless connectivity to the circuit

Resistor

  • Passive component used to limit current or divide voltages
  • Resistance: 10,000 Ohms

Photocell (LDR)

  • Light-dependent resistor
  • Changes resistance based on the intensity of light

MB102 Breadboard Power Supply Module 3.3V/5V

  • Provides regulated 3.3V and 5V to the breadboard

LCD screen 16x2 I2C

  • Alphanumeric liquid crystal display
  • 16 characters by 2 lines
  • I2C interface for communication

Humidity and Temperature Sensor (DHT03)

  • Measures ambient humidity and temperature
  • Provides a digital signal output

MQ-4

  • Methane gas sensor
  • Analog and digital outputs

Wiring Details

Arduino UNO

  • 5V connected to sensors and modules requiring 5V
  • GND connected to common ground
  • A0 connected to DHT03 data signal
  • A1 connected to photocell (LDR)
  • A2 connected to MQ-4 analog output
  • A4 (SDA) connected to I2C data line
  • A5 (SCL) connected to I2C clock line
  • D10 connected to ESP-01 TX
  • D11 connected to ESP-01 RX

Adafruit BMP180

  • SDA and SCL connected to I2C bus
  • +3V3 and GND connected to 3.3V and ground from the power supply module

ESP-01

  • RX connected to Arduino D11
  • TX connected to Arduino D10
  • VCC and CH_PD connected to 3.3V
  • GND connected to common ground

Resistor (10k Ohms)

  • One end connected to photocell (LDR) and Arduino A1
  • Other end connected to common ground

Photocell (LDR)

  • One end connected to 5V through a dot (junction point)
  • Other end connected to Arduino A1 through a 10k Ohm resistor

MB102 Breadboard Power Supply Module 3.3V/5V

  • 5v output connected to 5V sensors and Arduino 5V
  • 3.3V output connected to 3.3V sensors and ESP-01
  • GND connected to common ground

LCD screen 16x2 I2C

  • SDA and SCL connected to I2C bus
  • VCC connected to 5V
  • GND connected to common ground

Humidity and Temperature Sensor (DHT03)

  • Vcc connected to 5V
  • Data-signal connected to Arduino A0
  • GND 1 connected to common ground

MQ-4

  • A0 connected to Arduino A2
  • D0 not connected in this circuit
  • VCC connected to 5V
  • GND connected to common ground

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code is a template and does not include specific functionality. It needs to be populated with the setup and loop code to initialize and control the connected sensors and modules.