AI Assistant
Detail Karya Portofolio

Water Level Detection System

Ahmad Rio Ramadhani Oleh: Ahmad Rio Ramadhani

Ringkasan Portofolio

This project is a water level detection system using an HC-SR04 ultrasonic sensor and Arduino Uno. The ultrasonic sensor functions to measure the distance between the sensor and the water surface. This distance data is then processed by Arduino to determine the water level. Two LEDs are used as indicators: a red LED will light up if the water level exceeds a certain limit, while a yellow LED will light up if the water level is within a safe limit. This circuit consists of several main components: an HC-SR04 ultrasonic sensor, an Arduino Uno, two LEDs (red and yellow), and several resistors to limit the current to the LEDs. This system is very relevant for applications monitoring water levels in tanks or other containers.

Deskripsi & Detail Proyek

This project is a water level detection system using an HC-SR04 ultrasonic sensor and Arduino Uno. The ultrasonic sensor measures the distance between the sensor and the water surface. This distance data is then processed by Arduino to determine the water level. Two LEDs are used as indicators: a red LED lights up if the water level exceeds a certain limit, while a yellow LED lights up if the water level is within a safe limit. This circuit consists of several main components: an HC-SR04 ultrasonic sensor, an Arduino Uno, two LEDs (red and yellow), and several resistors to limit the current to the LEDs. This system is relevant for applications monitoring water levels in tanks or other containers.

Objective: To build a water level detection system that uses an ultrasonic sensor to measure water levels in real-time and display the results on a 16x2 LCD screen.

A. Components Needed:

  1. Arduino Uno

2. Ultrasonic Sensor (HC-SR04)

3. LED

4. Jumper Wires

5. Additional components such as resistors and capacitors if needed

Steps:

B. Assembling the Circuit:

  1. Connect the VCC pin of the HC-SR04 sensor to the 5V pin on the Arduino.

2. Connect the GND pin of the HC-SR04 sensor to the GND pin on the Arduino.

3. Connect the TRIG pin of the HC-SR04 sensor to digital pin 8 on the Arduino.

4. Connect the ECHO pin of the HC-SR04 sensor to digital pin 7 on the Arduino.