Arduino UNO Based Water Level Indicator with Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed around an Arduino UNO microcontroller, which serves as the central processing unit. The circuit includes a series of LEDs (red, white, and green), a water level sensor, and an HC-05 Bluetooth module. The LEDs are controlled by the Arduino and are likely used as indicators. The water level sensor is interfaced with the Arduino to monitor the level of water, and the HC-05 Bluetooth module enables wireless communication, possibly for sending sensor data or receiving commands.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Purpose: Acts as the central controller for the circuit, interfacing with sensors, LEDs, and the Bluetooth module.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13.
LED: Two Pin (red)
- Description: A basic red LED.
- Purpose: Serves as an indicator light.
- Pins: cathode, anode.
LED: Two Pin (white)
- Description: A basic white LED.
- Purpose: Serves as an indicator light.
- Pins: cathode, anode.
LED: Two Pin (green)
- Description: A basic green LED.
- Purpose: Serves as an indicator light.
- Pins: cathode, anode.
Water Level Sensor
- Description: A sensor for detecting the level of water.
- Purpose: Monitors water level and sends data to the Arduino.
- Pins: SIG, VCC, GND.
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Purpose: Enables Bluetooth connectivity for the circuit.
- Pins: Key, VCC, TXD, RXD, State, GND.
Wiring Details
Arduino UNO
- D3 connected to the anode of the red LED.
- D2 connected to the anode of the green LED.
- D8 connected to the anode of the white LED.
- 5V connected to VCC of the HC-05 Bluetooth Module and Water Level Sensor.
- GND connected to the cathodes of all LEDs, GND of the HC-05 Bluetooth Module, and GND of the Water Level Sensor.
- A0 connected to SIG of the Water Level Sensor.
- D1 (TX) connected to RXD of the HC-05 Bluetooth Module.
- D0 (RX) connected to TXD of the HC-05 Bluetooth Module.
LED: Two Pin (red)
- Anode connected to D3 of the Arduino UNO.
- Cathode connected to GND of the Arduino UNO.
LED: Two Pin (white)
- Anode connected to D8 of the Arduino UNO.
- Cathode connected to GND of the Arduino UNO.
LED: Two Pin (green)
- Anode connected to D2 of the Arduino UNO.
- Cathode connected to GND of the Arduino UNO.
Water Level Sensor
- SIG connected to A0 of the Arduino UNO.
- VCC connected to 5V of the Arduino UNO.
- GND connected to GND of the Arduino UNO.
HC-05 Bluetooth Module
- VCC connected to 5V of the Arduino UNO.
- TXD connected to D0 (RX) of the Arduino UNO.
- RXD connected to D1 (TX) of the Arduino UNO.
- GND connected to GND of the 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 needs to be filled in with the logic for controlling the LEDs, reading the water level sensor, and handling Bluetooth communication.