Water Level Tank with Ultrasonic ft. Arduino

20
Arduino Water level tank with Ultrasonic sensor By: Andzany Putri Yuslianata Arip Rahman Hakim Moch. Bagas Hermansyah Refrigeration and Air Conditioning Departement Bandung State of Polytechnic 2016

Transcript of Water Level Tank with Ultrasonic ft. Arduino

Page 1: Water Level Tank with Ultrasonic ft. Arduino

Arduino Water level tank with Ultrasonic sensor

By: Andzany Putri YuslianataArip Rahman HakimMoch. Bagas Hermansyah

Refrigeration and Air Conditioning DepartementBandung State of Polytechnic

2016

Page 2: Water Level Tank with Ultrasonic ft. Arduino

Water is the driving force of all nature

- Leonardo da Vinci

Page 3: Water Level Tank with Ultrasonic ft. Arduino
Page 4: Water Level Tank with Ultrasonic ft. Arduino

Source Of Idea“Measuring water level with ultrasonic sensor by vonPongrac”

Go Check : http://www.instructables.com/id/Measuring-water-level-with-ultrasonic-sensor/

Page 5: Water Level Tank with Ultrasonic ft. Arduino

Wiring

Page 6: Water Level Tank with Ultrasonic ft. Arduino

What are the Purpose of this project?

1. To complete instrumentation subjects tasks

2. To know and understand the principle of Ultrasonic sensor

3. To know the spesification of Ultrasonic, and make a program for this project.

Page 7: Water Level Tank with Ultrasonic ft. Arduino

What kind of tools are used ?

Page 8: Water Level Tank with Ultrasonic ft. Arduino

Microcontroller ATmega328POperating Voltage 5VInput Voltage (recommended) 7-12VInput Voltage (limit) 6-20VDigital I/O Pins 14 (of which 6 provide PWM output)PWM Digital I/O Pins 6Analog Input Pins 6DC Current per I/O Pin 20 mADC Current for 3.3V Pin 50 mA

Flash Memory 32 KB (ATmega328P)of which 0.5 KB used by bootloader

SRAM 2 KB (ATmega328P)EEPROM 1 KB (ATmega328P)Clock Speed 16 MHzLength 68.6 mmWidth 53.4 mmWeight 25 g

The Uno is a microcontroller board based on the Atmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.. You can tinker with your UNO without worrying too much about doing something wrong, worst case scenario you can replace the chip for a few dollars and start over again.

https://www.arduino.cc/en/Main/ArduinoBoardUno

Arduino UNO

Page 9: Water Level Tank with Ultrasonic ft. Arduino

•Working Voltage: DC 5V•Working Current: 15mA•Working Frequency: 40Hz•Max Range: 4m•Min Range: 2cm•Measuring Angle: 15 degree•Trigger Input Signal: 10µS TTL pulse•Echo Output Signal Input TTL lever signal and the range in proportion•Dimension 45 * 20 * 15mm

“HC-SR04 is an ultrasonic ranging module that provides 2 cm to 400 cm non-contact measurement function. The ranging accuracy can reach to 3mm and effectual angle is < 15°. It can be powered from a 5V power supply.”

http://www.electroschematics.com/8902/hc-sr04-datasheet/

Ultrasonic sensor HC-SR04

Page 10: Water Level Tank with Ultrasonic ft. Arduino

Material : AlGaInP

Forward voltage : 2,1V @ If=20mA

Angle : 40 degree

• Lumination : 200mCd @ If=20mA

LED (Light Emitting Diode)

Page 11: Water Level Tank with Ultrasonic ft. Arduino

Pump

Page 12: Water Level Tank with Ultrasonic ft. Arduino

LCDBuzzer PowerBank

PCBResistor

Page 13: Water Level Tank with Ultrasonic ft. Arduino

How much do you need?

Page 14: Water Level Tank with Ultrasonic ft. Arduino

Component Quantity Cost

Arduino Uno 1 Rp.150.000

Ultrasonic 1 Rp. 35.000

LCD 1 Rp. 35.000

LED 5 Rp. 2.500

Resistor 4 Rp. 1.000

Buzzer 1 Rp. 5.000

PCB 1 Rp. 7.000

Cable - -

Pipe 1 Free

Acrilic 30x30 cm Free

Powerbank 1

Total Cost : IDR 285.000

Pump 1 Rp. 50.000

Page 15: Water Level Tank with Ultrasonic ft. Arduino

Working principles

The working principles of this project is so simple, when the water has reached the set point, then the red LED will ON and the buzzer will beeping and then the valve should be open for water to be recirculated. When the water is at a safe limit , the Green LED will ON , buzzer stops beeping and the valve should be close. Having close the pump will circulated water into the tank.

Page 16: Water Level Tank with Ultrasonic ft. Arduino
Page 17: Water Level Tank with Ultrasonic ft. Arduino

How about the program ?

Page 18: Water Level Tank with Ultrasonic ft. Arduino
Page 19: Water Level Tank with Ultrasonic ft. Arduino
Page 20: Water Level Tank with Ultrasonic ft. Arduino

Thanks For Your Attention...

Thanks To Allah SWT.....Our best supervisor Mr. Ismail Wellid and other Supervisor in this subject