Arduino UNO Based Environmental Monitoring and Water Level Detection with Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to interface an Arduino UNO with a DHT11 temperature and humidity sensor, a water level sensor, a fan, and a Bluetooth module. The Arduino UNO acts as the central processing unit, reading sensor data from the DHT11 and water level sensor, controlling the fan based on certain conditions, and communicating with external devices via the Bluetooth module.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Purpose: Serves as the main controller for the circuit, interfacing with sensors, controlling the fan, and handling Bluetooth communication.
DHT11
- Description: A basic, ultra low-cost digital temperature and humidity sensor.
- Purpose: Measures the ambient temperature and humidity.
Water Level Sensor
- Description: A sensor for detecting the level of water in a tank or other container.
- Purpose: Monitors the water level to provide input to the Arduino for possible actions.
Fan
- Description: A basic DC fan that operates at 5V.
- Purpose: Provides cooling or air circulation when activated by the Arduino.
Bluetooth Module
- Description: A wireless communication module that enables Bluetooth connectivity.
- Purpose: Allows the Arduino to communicate with other Bluetooth-enabled devices.
Wiring Details
Arduino UNO
- 5V: Powers the DHT11, water level sensor, and Bluetooth module.
- GND: Common ground for DHT11, fan, water level sensor, and Bluetooth module.
- A0: Receives the signal from the water level sensor.
- D13: Controls the fan.
- D4: Receives the signal from the DHT11 sensor.
- D1 (TX): Transmits data to the Bluetooth module's RXD pin.
- D0 (RX): Receives data from the Bluetooth module's TXD pin.
DHT11
- 5V: Powered by the Arduino's 5V output.
- S: Signal pin connected to Arduino's D4 pin.
- GND: Ground connection shared with Arduino.
Water Level Sensor
- SIG: Signal pin connected to Arduino's A0 pin.
- VCC: Powered by the Arduino's 5V output.
- GND: Ground connection shared with Arduino.
Fan
- 5V: Powered by the Arduino's 5V output through D13.
- GND: Ground connection shared with Arduino.
Bluetooth Module
- VCC: Powered by the Arduino's 5V output.
- GND: Ground connection shared with Arduino.
- TXD: Transmits data to Arduino's RX (D0) pin.
- RXD: Receives data from Arduino's TX (D1) pin.
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 actual functionality of the code is not provided in the input and would need to be implemented based on the specific requirements of the circuit's operation.