Arduino Water Level Tank with Ultrasonic Sensor

Post on 20-Jan-2017

301 views 3 download

Transcript of Arduino Water Level Tank with Ultrasonic Sensor

Arduino Water level tank with Ultrasonic sensor

By: Andzany Putri YuslianataArip Rahman HakimMoch. Bagas Hermansyah

Refrigeration and Air Conditioning DepartementBandung State of Polytechnic

2016

Water is the driving force of all nature

- Leonardo da Vinci

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

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

Wiring

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.

What kind of tools are used ?

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

•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

Material : AlGaInP

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

Angle : 40 degree

• Lumination : 200mCd @ If=20mA

LED (Light Emitting Diode)

Pump

LCDBuzzer PowerBank

PCBResistor

How much do you need?

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

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.

How about the program ?

Thanks For Your Attention...

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