Why are you using voltage-dividers on your buttons??
Why don't you use current-limiting resistors with the LEDs??
What type of relais is this?
I can't read anything
You are using IO-pin 0 and IO-pin 1 for your level-sensors
IO-pin 0 and IO-pin 1 are used for the serial connection.
You should never connect anything to IO-pin 0 and IO-pin 1
because this interferes with serial output
there are three water level sensors - floating reed switches - inputs
and there are three buttons - inputs
pause - can be temporary stop water pump
Auto/Manual - when power turn on - Auto mode is active, if i want to run the water pump manually, press one time
SEMI AUTO - this button uses for at the time of water level below high sensor, when i press this button, pump start to run till water comes to high sensor and auto off
and there are three LED's for water level indicators
Four LED's for displaying Auto/Manual/Running/Standby (standby led is fading up/down when the system is standby)
1 is for PAUSE indicator
1 is for SEMI AUTO indicator
and there is an another LED for Timer ON, it means, just turn on the pump, Timer is also starts to count down some desired time, however pump not stopped via sensors, timer supports stop the water pump automatically.
MY PROBLEM IS this code is working properly, after 5-10 minutes power turn on, when goes the water level passing low sensor, pump not automatically turn ON,
but as soon as we power on the system, the water level goes down passing low sensor, the pump turn ON automatically,
No I don't have a tinker-cad account
I will not create a tinker-cad account
If you want me to run a simulation
rebuild your circuitry in the WOKWI arduino simulator
Yes and you should connect the sensors that is currently connected to IO-pin 0 and the sensor that is currently connected to IO-pin 1 to a different IO-pin.
This is an exception:
You should go on writing in english because this is the english speaking / writing forum.
Just to make sure that you will understand what I write here I translated it to singhalesian and to tamil
Write descriptively in your native language, then use google-translate to translate it. The grammar will not be brilliant, but it will be easier to understand as you can describe it in more detail.
பின்னர் google-translate ஐப் பயன்படுத்தவும்.
உங்கள் தாய்மொழியில் விரிவாக எழுதவும், பின்னர் கூகுள் மொழியாக்கம் செய்ய அனுமதிக்கவும். இலக்கணம் புத்திசாலித்தனமாக இருக்காது, ஆனால் நீங்கள் அதை இன்னும் விரிவாக விவரிக்க முடியும் என்பதால் புரிந்துகொள்வது எளிதாக இருக்கும்.
no, I have used timer also for this project, as soon as possible turn on the water pumps, it stops when the water level reaches HIGH sensor at the AUTO mode,
however, one of the two sensors MID or HIGH, blocked by debris in floating water or any caution, mortor never stops know..? So that's why as soon as the water pumps turn ON the timer is also starts the count down the time desired time given by the code.
I have used digital pin 0, 1 and two for water level sensors (floating sensor),
I have used all digital pins and analogues pin for this project, you can see my project
my problem is, This project is working properly in first 3-5 minutes after connecting usb power to the computer, however, though the water level goes LOW by passsing LOW sensor , its not working about 10-15 minutes later THAT IS MY PROBLEM
there are three water level sensors - floating reed switches - inputs
and there are three buttons - inputs
pause - can be temporary stop water pump
Auto/Manual - when power turn on - Auto mode is active, if i want to run the water pump manually, press one time
SEMI AUTO - this button uses for at the time of water level below high sensor, when i press this button, pump start to run till water comes to high sensor and auto off
and there are three LED's for water level indicators
Four LED's for displaying Auto/Manual/Running/Standby (standby led is fading up/down when the system is standby)
1 is for PAUSE indicator
1 is for SEMI AUTO indicator
and there is an another LED for Timer ON, it means, just turn on the pump, Timer is also starts to count down some desired time, however pump not stopped via sensors, timer supports stop the water pump automatically.
MY PROBLEM IS this code is working properly, after 5-10 minutes power turn on, when goes the water level passing low sensor, pump not automatically turn ON,
but as soon as we power on the system, the water level goes down passing low sensor, the pump turn ON automatically,