0% found this document useful (0 votes)
32 views4 pages

Sonar Water Level Meter

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
32 views4 pages

Sonar Water Level Meter

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
srzar2021 Microcontroller Projects: Sonar Wal Microcontroller Projects: Sonar Water-Level Meter eval Metor | Electronics For You Somnath Bera fpP egy, Tenfourn ofthe earth is water out of hi ‘est Pointe SF tan 8 97 per cent is saline (in oceans, seas and us groundwater). The remaining 25 per cent to. cad S) 2.75 per cents fresh water, ou of which 1.75. |Seiprnan mo a per cent to two per cent i frozen in glaciers, ice and snow, Fresh groundwater and soll moisture constitutes only 0.7 per cent 0.0. per cent. Less than 0.01 per cent, avalable as surface water in lakes, swamps and rivers, is available to us as drinking water. Its therefore imperative that systems are in place for managing this precious and scarce resource. Water-level indicators for water-storage tanks are mostly mechanical contraptions, Steel wires, pulleys and rails get rusted as these are in continuous contact with water and air, resulting in Unreliable operation. Contactless sonar-level metres are there but their high cost is a deterrent. In this article, a sonar contactless, wireless water-level indicator, which can be fabricated for less than Rs. 2500, has been described. tis capable of measuring water levels up to four metres with an accuracy of less than Sm, ntpsufinew.electronisforu.comielectronics-projectshardware-cymcrocontroler-sonar-watertevelmeter wa srzar2021 Circuit and working ‘The water-level indicator has two units: transmitter unit and receiver Unit, The circuit dlagram of the transmitter unit is shown in Fig. 1. Itis built around ATmega328P microcontroller (MCU) (IC1) with Arduino Uno bootloader, sonar sensor HC-SRO4 connected at CON1, 433MHz transmitter (Txt), voltage regulator 7805 (IC2) and a few other components. @ long spiral antenna is used for enhancement of its range. ‘Attach the contactless sonar sensor at a strategic location on the tank. so that It can always get the reflected signal from the water surface. ‘The best place would be at the centre ofa circular tanks lid on top, or at the intersection of the diagonals of a rectangular tank's top. The calculated tank level will then be transmitted with a coded authorisation to the receiver unit, ‘An ultrasonic ranging module provides 20mm to 500mm non-contact measurement facility. Ranging accuracy is 3mm and aperture angle is 15°. Since we are measuring the level in centimetres In the form of an integer, our accuracy level is maximum Smm, Even a tem level change will be seen very clearly, as every second it takes eight readings, which are then averaged out to get better accuracy. Circuit diagram of the receiver unit's shown in Fig, 2 Itis built around ATmega328P MCU (IC3) with Arduino Uno bootloader, voltage regulator 7805 (IC4), 4*16 alphanumeric display (LCD1), 433MHz receiver (RX1) and a few other components. The receiver checks the code word sent by the transmitter unit and displays the tank level on the LCD. © ntpsufinew.electronisforu.comielectonics-projectshardware-cyimcrocontroller-sonar-watertevelmeter 28 srzar2021 Microcontroller Projects: Sonar Weler-Leval Melar | Electronics For You If the transmitter stalls or its power supply gets interrupted, there is no way for the receiver to find cout that the incoming signal is no longer valid. To circumvent this problem, a counter has been provided on the right side of the LCD display. f the counter does not move, or it stops, it means that the incoming signal has stalled. Blinking of LED2 connected on pin 19 will stop, too. Control relay and contactors can be connected on spare pins of ATmega328P, which finally controls, the running of the water pump. Since there is no physical contact used in the sensory system, it will bbe operational without any interruption, hitps:lwww.electronisforu.comvelectronice-projetsiharaware-slyimicrocontrller-sonar-waterlevelmeter 34 srzar2021 Microcontroller Projects: Sonar Weler-Lovel Meter | Electronics For You Offpeo aoogO a wm [coed 3% “| 08 CO Gessssuesss0e55g C Download PCB and component layout PDFS: click here Software Software comprises one remote sonar_water level transmitter.ino file and one remote_sonar_water_level_receiver.ino file, besides some header files of Arduino. All are packed in the resource directory. Add these libraries to Arduino and upload the two files in the respective transmitter and receiver units. Download source code: click here Construction and testing ‘An actual-size, single-side PCB of the transmitter unit is shown in Fig, 3 and its component layout in Fig. 4. An actual-size, single-side PCB of the receiver unit is shown in Fig. 5 and its component layout inFig. 6, ‘After assembling the two units, switch on the power supply of both the units. If the receiver receives the transmitted signal, LED2 will start blinking, The two small digit counters on the right top of the LCD will start changing and the water level (in centimetres) will show on the lef-top position. Keep the small spiral antennae in vertical position to have the best radiation Somnath Bera is an avid user of open source software, Professionally, he is @ thermal power expert and works as additional general manager at NTPC Ltd nips: eletronieforu.comielectronics-projectshardware-clyimcrocontrolle-sonar-water-level-meter 48

You might also like