Good day folks. A task was given to me to redesign the control system for a pump system in a remote location. The idea is that there's a tank which has a float or some sort of switch/sensor to detect when it's full/empty and this runs some pumps accordingly. The trouble is the pump and the tank are like 4km apart, from what the chap who inspected them on our behalf told me, so the way this currently works is by using some unknown boards based on SIM cards (see the pictures). From what I can assume, when a contact closes at the "client side" (the tank), it calls up the "server side" (the pump) and tells it to switch on one of its outputs. The problem is they've been having really bad reception in the area and there were times when the float switch failed to tell the pump to stop, which caused the tank of overflow, hence they want to switch to a wired connection which our company will provide, but first we have to redesign this to work over ethernet.....
Not wanting to reinvent the wheel but also not wanting to blow a fortune on PLCs and equipment that's not needed and possibly exaggerated for such a purpose, I was thinking of making my own system from scratch, though I don't know much about programming
I DID play with this example for the Arduino a while back, as some of you may remember when I was working on reading sensors remotely from those sewage treatment vats we were working on.
I got it working up to the part where I was able to send commands to my arduino "server" just like in the article, by using that "Hercules" client program. What I need to happen in this case is to have an arduino on one side acting as the client and another one on the other side as the server, talking to each other over ethernet. The way I picture it, the server side which is to sit at the pump, is technically functional (the one above), so now I need to design the client end which replicates the commands sent by the Hercules client. The client would read the input from our float switch or whatever on one of its pins (or several, if there's multiple floats - not sure yet) and send a string out over ethernet which the server would pick up, strip down and identify what it's supposed to do....at least that's the idea.
This is the most basic version. A more advanced one would also have a webpage which can actually monitor the status of the pump/tank level and also have protection features. I worked on this too at some point, but I stopped part-way because I couldn't get the SD cards to work and I just gave up at that time. Thoughts and suggestions please ? As always, thank you for your time to put up with a noob
!
Not wanting to reinvent the wheel but also not wanting to blow a fortune on PLCs and equipment that's not needed and possibly exaggerated for such a purpose, I was thinking of making my own system from scratch, though I don't know much about programming

I got it working up to the part where I was able to send commands to my arduino "server" just like in the article, by using that "Hercules" client program. What I need to happen in this case is to have an arduino on one side acting as the client and another one on the other side as the server, talking to each other over ethernet. The way I picture it, the server side which is to sit at the pump, is technically functional (the one above), so now I need to design the client end which replicates the commands sent by the Hercules client. The client would read the input from our float switch or whatever on one of its pins (or several, if there's multiple floats - not sure yet) and send a string out over ethernet which the server would pick up, strip down and identify what it's supposed to do....at least that's the idea.
This is the most basic version. A more advanced one would also have a webpage which can actually monitor the status of the pump/tank level and also have protection features. I worked on this too at some point, but I stopped part-way because I couldn't get the SD cards to work and I just gave up at that time. Thoughts and suggestions please ? As always, thank you for your time to put up with a noob

Comment