Arduino UNO-Based Environmental Monitoring System with Wi-Fi Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to interface various sensors with an Arduino UNO microcontroller and an ESP8266 ESP-01 WiFi module. The sensors include a sound sensor, a water level sensor, a temperature sensor (TEMP), and an HC-SR501 motion sensor. The Arduino UNO serves as the central processing unit, reading sensor data and potentially controlling other devices based on the sensor inputs. The ESP8266 module provides WiFi connectivity, allowing the Arduino to communicate with a network for IoT applications.
Component List
Sound Sensor
- Pins: Analog, GND, VCC, Digital
- Description: This sensor detects sound levels and provides both analog and digital outputs.
Arduino UNO
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13
- Description: A microcontroller board based on the ATmega328P, used for processing and interfacing with various sensors and modules.
Water Level Sensor
- Pins: SIG, VCC, GND
- Description: Measures the level of water and outputs a signal that can be read by a microcontroller.
ESP8266 ESP-01 WiFi Module
- Pins: TXD, CH_PD, RST, VCC, GND, GPIO_2, GPIO_0, RXD
- Description: A WiFi module that enables the Arduino UNO to connect to a wireless network.
TEMP (Temperature Sensor)
- Pins: 5V, D3, GND
- Description: Measures temperature and provides a digital output.
HC-SR501 Motion Sensor
- Pins: GND, OUT, VCC
- Description: Detects motion via infrared signals and provides a digital output.
Wiring Details
Sound Sensor
- VCC: Connected to 5V on Arduino UNO
- GND: Connected to GND on Arduino UNO
- Analog: Connected to A1 on Arduino UNO
- Digital: Not connected
Arduino UNO
- 5V: Provides power to Sound Sensor, Water Level Sensor, HC-SR501 Motion Sensor, and TEMP
- GND: Common ground for all components
- 3.3V: Provides power to ESP8266 ESP-01 WiFi Module
- A0: Connected to SIG on Water Level Sensor
- A1: Connected to Analog on Sound Sensor
- D2: Connected to TXD on ESP8266 ESP-01 WiFi Module
- D3: Connected to RXD on ESP8266 ESP-01 WiFi Module
- D4: Connected to D3 on TEMP
- D7: Connected to OUT on HC-SR501 Motion Sensor
Water Level Sensor
- VCC: Connected to 5V on Arduino UNO
- GND: Connected to GND on Arduino UNO
- SIG: Connected to A0 on Arduino UNO
ESP8266 ESP-01 WiFi Module
- VCC: Connected to 3.3V on Arduino UNO
- GND: Connected to GND on Arduino UNO
- TXD: Connected to D2 on Arduino UNO
- RXD: Connected to D3 on Arduino UNO
- CH_PD: Self-connected (pulled high)
- RST: Self-connected (pulled high)
TEMP (Temperature Sensor)
- 5V: Connected to 5V on Arduino UNO
- GND: Connected to GND on Arduino UNO
- D3: Connected to D4 on Arduino UNO
HC-SR501 Motion Sensor
- VCC: Connected to 5V on Arduino UNO
- GND: Connected to GND on Arduino UNO
- OUT: Connected to D7 on Arduino UNO
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 should be populated with the necessary setup and loop code to interact with the connected sensors and modules.