How to devloped ardino one input by using two output alternate condition

please answer this topic

please read How to get the best out of this forum and post accordingly (including code with code tags and necessary documentation for your ask like your exact circuit and power supply, links to components etc).

Please do not post in "Uncategorized"; see the sticky topics in https://forum.arduino.cc/c/using-arduino/uncategorized/184.

I moved your topic to an appropriate forum category.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.

2 Likes

You need to explain what this means " How to devloped ardino one input by using two output alternate condition"
I can't even make a good guess to ask "do you mean xxxx"?

Please elaborate the question more.

@code_better_al

If you are so lazy that you are not ready to write at least a couple of lines to explain the task, is it worth hoping that someone will help you?

Maybe add a diagram to explain your connections?

2 PUMP SMART CONTROLLER

CONDITIONS

Input output
Float sensor 1 motor 1
Float sensor 2 motor 2
Trip motor 1
Trip motor 2
Float sensor 1 is high then motor 1 or 2 is on
Float sensor 1 is low then both motor is off
Float sensor 2 is high then both motor high
If float sensor 2 is low 1 or 2 motor is off
If trip motor should be switch motor
Thise cycle is always be cyclic

Still only a fraction of the info required,.
None of the ‘wires’ are connected to anything !

Why have the relay module AND the contactor ?

Where is the second float sensor ?

Perhaps a second diagram, showing the physical relationship between the components?

Your code (in code tags) may give some idea of what you’re trying to achieve.

You can't define decision part of condition that way - "then A or B".
This is uncertainty, unacceptable in the program. You must formulate clear rules when the motor 1 is selected and when the motor 2

moto1 or 2 on or off when input as considering float 1 is on or off
condition 1 is motor 1 is on when float first time sense and again sense motor 2 is '
this both conditions should be cyclic that i need program

Looks like a classic dual pump alternating circuit with LOW, HIGH and TOO HIGH switches. Is it a "pump up" (filling) or "pump down" (emptying) circuit?

yes


i developed in plc but i don't know how to write in Arduino uno

What is trip1, trip2 and dry run? When the water is lower than the float, is the switch open (OFF) or closed (ON)?

motor over load is trip , and dry run is water level down to the motor yes float above the motor open nc or closed no condition and also used float 2 is assist duty condition

So, dry run is a float switch? I'm having trouble following.
Float2 is not in your ladder logic.

yes dry run is also float switch ,float switch 2 is rear condition swich is not developed in ladder

Sorry, I can't help, I'm sure other members can, good luck.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.