Automatic water level controller using arduino
HTML-код
- Опубликовано: 6 ноя 2020
- Automatic water level controller using arduino
JSN-SR04T sensor - amzn.to/3HYHZvT
16x2 lcd display - amzn.to/3sNRiZ7
Ac volt amp meter - amzn.to/3Bruy4Y
circuit diagram - www.mediafire.com/file/lf5usa...
code -www.mediafire.com/file/2p01obl...
Song: Nekzlo - Palm Shadows (Vlog No Copyright Music) Music promoted by Vlog No Copyright Music. Video Link: • Nekzlo - Palm Shadows ...
=================
Thanks for watching
================= Наука
The king is back❤🆒️
1k loading🔥🔥
Yeah road to 1k
Подскажите, где на схеме установлены кнопки включения насосов, которые видно на видео?
Вы имеете в виду этот трехпозиционный тумблер?
Hey Would it be a good idea to use the relay before the single phase motor starter ?
To avoid high voltage ?
Give it a try.
bro can i ask a doubt i cant see the 7805 ic and 100nf capaciter on circuit diagaram...can u tell where should i connect it pls
It is not included in the circuit diagram. It is used to power Arduino and LCD display.
can i know how you resolved that ultrasonic sensor problem, because it can measure distance above 20CM .Also if the distance is less than 20cm some junk values are comming.Can you suggest some ideas
In this controller it will show as 100% if distance is less than 20cm
Hi. Great work. 👍.
I have a doubt. The distance between overhead tank (to fill) and the sump (waster supply tank) / motor is around 100 metres ( when cable routed properly). What effect would this have on the circuit? And will it work for such long cabling?
Also for dry run, can i use a 2nd ultrasonic sensor for sump level measurement on a single arduino nano?
Make sure to use good cables. Check continuity using a multimeter. Then you can use it for 100m. If your cables are bad, then Arduino won't get any signals from ultrasonic sensor. Arduino will display 100% all time.
Yes, you can use 2 ultrasonic sensors.
@@ElectroRetro 😀 fast response. Thankyou very much. 🙏
what is cap & dryin ?
на схеме не понятно , что подключается к разъему H1 ? А можно скеч переделать под I2C дисплея 16х2?
Разъем H1 - это всего лишь два провода для защиты от сухого хода. 7:59 здесь вы можете видеть, что я сделал датчик сухого хода из ПВХ и двух токопроводящих стержней. Вы можете изменить код для работы с 12c lcd.
@@ElectroRetro Все понял спасибо! Я не программист, по этому просил дописать скеч для I2C для LCD 16х2. Заранее спасибо! Можно на личку прислать : ini50@ya.ru
@@user-yo7pn9rh5w ruclips.net/video/q9YC_GVHy5A/видео.html
Привет1
Начал собирать вашу схему, у вас pin Echo датчика SR04 соединен с PIn D04 LCD , а так же с Pin D5 и D9 Arduini Nano ? А в скече не подключения к PIn D04 LCD и Pin D5 Arduini Nano ? #include //lcd library
#define echopin 9
#define trigpin 8
#define autopin A0 //auto switch pin
int relaypin = 6; //output relay pin
#define dryout 7 //dryprotection pin
#define dryin 15
#define cap 16
извините, я не правильно понимаю
Я хочу спросить: правильно это или нет, что в схеме pin Echo датчика SR04 соединен с Pin D04 LCD , а так же с Pin D5 и Pin D9 Arduini Nano? А в скетче не прописано подключение к Pin D04 LCD и Pin D5 Arduini Nano ?
Вывод Echo подключается только к D9 Arduino, а Arduino D5 подключается к D4 ЖК-дисплея.
@@ElectroRetro Спасибо! Теперь стало понятно! Спасибо! На почту можно скинуть?
Пожалуйста, да
Agr use na kre to bhi koi problem thodi agr sump tank any time full ho to
Hi
How are you
In drow there's only one capstor
What about Ather capstors
This is called a complete tutorial, thanks a lot for making such informative detailed tutorial.
It would be nice if you share that graphic image you have printed, it looks nice and professional.
and what if we dont need dry run protection circuit? simply just dont attach it or anything will be adjusted in the code or circuit too?
I designed that graphic image on inkscape I will share it asap. If you don't need dry run protection you need to change little bit in the code. Thank you.
png file = www.mediafire.com/view/4ujgb973oqkuoeg/water_level_controller.png/file
here is the svg file so you can open it in inkscape and edit the dimension and other things = www.mediafire.com/file/lyc715nyporrvvi/1119975_%25281%2529.jpg.2020_10_07_11_55_23.0.svg/file
@@ElectroRetro really appreciate that. thanks a ton. keep that good work up.
You are welcome 😊
👌💪
Can you please make a circuit using Arduino for submersible pump contactor type starter which has starting capacitor need to be connected for 2sec. Two relays should be used. One for switching ON and other for OFF.
Sure
@@ElectroRetro Thanks a lot.. Can I know where are you from..?
India
У вас на видео на 9мин 10сек под тумблером "AUTO- Manual" установлены кнопки включения насосов в ручную! Я на схеме их не нашел?
Это необязательно. Это переключатель стартера однофазного двигателя, который я использовал для включения и выключения двигателя, прежде чем сделать этот автоматический контроллер. Он не включен в принципиальную схему. Я добавил это, потому что плата Incase arduino является жалобой, мы все еще можем использовать этот переключатель. Обычно я использую этот трехпозиционный тумблер для включения вручную.Кстати это гугл переводит могут быть ошибки
Понял, спасибо! На личную почту можно скинуть файлы вашего проекта в EasyEda?
Yes
Hi!!
Need a small help here....I built one and it is able to turn on the pump but doesn't turns it off.
I am using lower limit at 26cms.
Make sure it is in auto mode.
@@ElectroRetro this is happening in auto mode only
Is all connections OK?
@@ElectroRetro yes
Try uploading original code and check if it's working properly.
hi, I done it. It run
But several days LCD lost signal, no character. I haved turn off power and turn on again...
What happen..., help please?
Maybe noise issues.
Hi, to disable Dryrun. I have to remove code lines for Dryrun, help please?
You need to remove code lines for dryrun.
Sir
I don't know electronic but i need full product for my use at agriculture pumpsets can you give
With sump dedection also required
And to control 5 to 6 solenoid valves for drip irrigation with timer programme module with separate relays
The cost will be sent to you
Thanks
hey man great video . i was wondering if the relays can handle the high voltage from the single phase motor starter
This relay can handle max 30a at 230v
@@ElectroRetro so the starter capacitor volts is less than the relay ratting ? For a single phase motor
Yes
@@ElectroRetro thanks man appreciate it
use contactor between relay & pump
What are good cables to connect ultrasonic sensor and Arduino for a distance of 7m ?
Use Cat5 cable
@@ElectroRetro Thank you!!
Bro I did it without "dry run" using Arduino UNO. Everything working great 👍except Manual mode 🤔. There is a peculiar happening , when normally powered by 12v 4Amp adapter through 7805, after switch over to Manual mode, "Manual" lcd print not coming & motor = off. But same time if I connect usb cable from my laptop to Arduino UNO then MANUAL lcd print is coming & motor=On. Can't understand 🤔. If guess anything please help/suggest me. Thanks in advance. Thanks
Can you Send me the code
Try adding a filter capacitor in the input
@@ElectroRetro sure. Please share your mail ID .
@@ElectroRetro Bro filter capacitor in which input? If u mean to say UNO 5v input? That's already I did. 2200uf/10v. Please suggest. Thanks.
Input of 7805 ic
🆒️
I am using waterproof ultrasonic sonic sensor but measurement value cant read acutely and also change other code
This sensor can only read values from 20cm.
@@ElectroRetro the Waterproof sensors just read value from 20cm, is it mean the 20cm is 0cm for starting measure..? or 20cm still 20cm? it's make me confuse..
bro can u make it wireless by using Rf modules?
bcoz running long wires for sensor is not practical if overhead tank is at 4th or 5th floor and RF modules are very cheap. we can power both circuits separately from our solar batteries or using mobile chargers
Maybe I will try in future.
@@ElectroRetro thanks btw you should have said very near future to be precise..lol
any update? and btw code is missing, will u share full code?
Currently in testing a wireless version with Esp32. You can get the link to the full code in the description box.
@@ElectroRetro ok bro waiting for that wireless version, any idea when will u upload that video?
" A complete project"
Many Thanks Bro. Need a small help, if I want to avoid dry run circuit then what to do changes in CODE ? Please help me out. Thanks again.
Just delete code lines for dryrun
@@ElectroRetro Thank you Bro. Many thanks. I will do it at weekend holiday & feedback to u Bro. Thanks 😊
Bro I did it without "dry run" using Arduino UNO. Everything working great 👍except Manual mode 🤔. There is a peculiar happening , when normally powered by 12v adapter through 7805, after switch over to Manual mode, "Manual" lcd print not coming & motor = off. But same time if I connect usb cable from my laptop to Arduino UNO then MANUAL lcd print is coming & motor=On. Can't understand 🤔. If guess anything please help/suggest me. Thanks in advance. Thanks
Superb project bro.....nyc.....but can I add leds for measuring indication to this
Yes, you need to edit the code a little bit.
Will the circuit diagram work if the water pump is large (220 volts, 1200 watt)? thanks
Yes,make sure to use higher ampere relay.
You make this project
I make this project per does not work
I will try to do a simulation using the Proteus application
agr manual mode krke pump on kru to off automatic hoga kiya
No,you need to turn off manually.
😁
😁
😄
😃
😄
😁
Can you please send me Gerber file so that I can order pcb
Dear I trying to make pcb in software, can you upload both side clear picture of dry run circuit only
Link in description
@@ElectroRetro sorry dear, I need picture of dry run pcb wired by you not circuit
@@nareshjain3732 Sorry I don't have it
@@ElectroRetro ok,
thanks verry much
👍🏻
Could you please share the Arduino PCB connection for my project work.
Please check description box.
Dear friend, let me know which line in code to be change for tank height, I can't understand,
Thanks
8:35 you can see cm to percentage.
Dear please help me, I am weak in coding, I think this line will change "distance = map(distance,20,123, 100, 0); //cm to percentage", please tell me with example, suppose tank height is 100cms, then what will changes in above line
Change 123 to 100
Thank you very much for quick response ❤️
Thanks very much but the important thing I want u to send me the diagram that can help me to construct the project
what is 'dry run' function?
It prevents motor from running without water.
@@ElectroRetro ok.. thanx for the answer..
Can you please share the gerber file ?
Can we use aluminum wire dipped in the water tank for dry run detector?
Yes,you can use aluminium wire.
@@ElectroRetro Can you please share the diagram in simplified form ?
You can get circuit diagram in description box.
@@ElectroRetro It is little complicated please share simplified diagram
Will it measure the height of tank automatically??
Sir i want full imformation like code connections,parats,componant,can we chat whatapp or any other .....i want a fuul imformation plzz sir
Everything is given in description box
Dear friend, I made it successfully, thanks for your support, let me know about water proof sensor, is it work in water tank, I think it will not work because of water vapours on it
happy to hear that, I think water vapors wouldn't affect its working fine for the last 7 months for me.
@@ElectroRetro Lots of THANKS for lots of suport and information,there are few persons on youtube distribute free knowledge,like you,great
You are welcome.
How to start 3 wire (RYB) submersible pump,
please program for motor on time 5 seconds extra relay control
Replace switch with relay
@@ElectroRetro ❤❤❤❤❤❤
@@ElectroRetro bro I'm sorry my English is not good so, I don't know how to explain my problem
@@ElectroRetro in India submersible motor starter have 2 capacitors and one contactor, if I want to on motor push the green button for 3 to 5 seconds then motor contactor will be on and motor running
@@ElectroRetro images.app.goo.gl/y4bNkdzd8bfW3Hrs8
I want extra relay and it will be on only 5 seconds when motor power on relay working same time.
Bhai is me tanck ki Hight set kese kare ge ye samjh nhi aya
You can change in code
plz tell how to make dry run protection circuit saparatly
You can find the circuit diagram in description box.
Mene waterproof sensor use kiya to reading show ni kr rha or normal ultrasonic lagaya to sahi dikha rha esa kio
Is it showing a random number and stuck at it?
@@ElectroRetro but value not stable
Where change tank height in code
You can see tank height in cm in code.
Apke code me tank height kitni set kr rkhi he
Yes
great, you are perfect... How to change high tank water?
Do you mean changing tank height?
@@ElectroRetro my tank depth is different soo how to adjust it as per my need?
In code, "distance = map(distance, 20,123, 100, 0); //cm to percentage", in this line change 123 to your tank size in cm.
@@ElectroRetro you mean the depth of tank right? Let's say my tank is 4 ft depth.. Soo should I change it to 400?
@@boopeshkumarprabhakaran yes, 4ft = 121.92 Centimeters. So you need to change to 121.92cm.
Pake kabel apa itu om buat perpanjang sensor.. thx
Cat5 cable
Nice But You Can Use Ultrasonic Sensor
It's a waterproof ultrasonic sensor.
Great.. can try us LCD whith I2C.
Yes, you can use I2C LCD but you need to edit the code a little bit.
Hello Dear, I need your help, please let me know can you provide me codes for microcontroller instead of Arduino nano
Which microcontroller?
@@ElectroRetro Any microcontroller PIC or 8051
Sorry bro, I don't know how to program these microcontroller.
Dear friend, Maine circuit proteus me simulate kiya to auto mode me dry run detect nhi karta ,agar Arduino ke pin D7 ko 1k5 resistance se ground kar de to dry run detect ho jata hai, 2nd problem jab dry run wali wires ko connect kar de to motor apne aap nahi chalti circuit ko restart karna padta hai
Can you pls tell me in English
@@ElectroRetro I simulate the whole circuit in proteus but dry run not detected, dry run detected if pin D7 of Arduino ground through 1.5k resistance, 2nd problem is when I connect the wires of dry run, motor should be turns on automatically , but system is still in dry run and motor is not start, if I reset the circuit motor turns on
Adjust the potentiometer in dry run circuit
@@ElectroRetro Thanks for quick reply,i will try
@@ElectroRetrorelay k1 cunducted ,but dry run not detected
Or yr dryrun circuit kis liye use kiya
It is used for detecting dry running of pump
Could please help me for the manual mode connection??
Yes
So where is the manual motor starter is connected in the circuit??
@@shivenduanand5561 connect one wire to phase and other wire to any of the motor wire. Neutral directly goes to the motor. It's connected like a switch
I can't see anything in the serial monitor. Is it normal??
@@shivenduanand5561 yes
Can we use arduino uno ?
Yes
Bro blynk ki url kha milegi plz reply
Can you pls tell me in English.
Please tell me How to connect the manual stater switch
Connect in series
@@ElectroRetro series to the manual and auto switch??
Please send the connection diagram of the stater switch and how the stater works even after switch off the whole circuit...
www.mediafire.com/file/l2a0bhzr2m1izyf/Screenshot_20210120_184855.jpg/file
@@ElectroRetro thanks bro..👍
Where to find the blink url?
Do you mean blynk app?
Yes
For google automation
You can get the app from playstore
I confused in code : pin 15 and 16 ?
Pin 15 and 16 are analog pin A1 and A2 they are used as a digital pins
Dear friend, let me know the changes in codes for without dry run
@@ElectroRetro what is this, link required the access
Can you send each detail documentation for the the project plzzz
New version available:- ruclips.net/video/ou_pa8sLPI8/видео.htmlsi=Pn9uin5nTIASmaGv
Sorry Mr I need the circuit diagram of that project
Everything is given in the description box
Can u give me the diagram so I can make the priject
Link in description
I don't see the diagram
Click the link
code not compile show error
Can you please send me that error message.
Tx led blin slowly birghtenes
Hello bhai circuit diagram share karo
Link in description
Hy sir plz uplode code file without dryrun circuit
drive.google.com/file/d/1WsBvjo9e-wMc_H8EbnqhqwrdHWvodgJL/view?usp=drivesdk
@@ElectroRetro thanks sir
@@ElectroRetro hy sir how to set tank hight and low level for moter on and high level for moter off in auto mode
You can change that in your code. To set tank height change 123 to your tank height in centimetres.
distance = map(distance,20,123, 100, 0);
if(distance=100&&analogvalue==0)
digitalWrite(relaypin,LOW);
50 is the start percentage and 100 is the stop percentage. You can change that as you wish.
Hi
Than send me I my email
Send me in my email
Circuit diagram - www.mediafire.com/view/j2xfbat9pds3nrf/Schematic_automatic_water_level_controller_2020-11-03_18-40-50.png/file
Code - www.mediafire.com/file/2p01oblhoy6jcu4/water_level_controller.ino/file