Remote pump control ideas.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dannyx
    CertifiedAxhole
    • Aug 2016
    • 3912
    • Romania

    #1

    Remote pump control ideas.

    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 !
    Attached Files
    Wattevah...
  • Spider1211
    Badcaps Veteran
    • Oct 2019
    • 532
    • Mauritius

    #2
    Re: Remote pump control ideas.

    https://www.controllino.biz/ might be worth a look. Why not add a capacitive level sensor as redundancy?

    Comment

    • diif
      Badcaps Legend
      • Feb 2014
      • 6978
      • England

      #3
      Re: Remote pump control ideas.

      Does the antenna exit the metal cabinet ?

      Comment

      • Dannyx
        CertifiedAxhole
        • Aug 2016
        • 3912
        • Romania

        #4
        Re: Remote pump control ideas.

        Originally posted by diif
        Does the antenna exit the metal cabinet ?
        Haven't seen it myself, though that would be pretty stupid....plus I expect SOMEONE had some brains there
        Wattevah...

        Comment

        • stj
          Great Sage 齊天大聖
          • Dec 2009
          • 30948
          • Albion

          #5
          Re: Remote pump control ideas.

          ethernet? why?

          ethernet has a 100m range before you need a repeater.
          better to use armored fibre-optics
          or twisted pair running high voltage like RS485

          Comment

          • Dannyx
            CertifiedAxhole
            • Aug 2016
            • 3912
            • Romania

            #6
            Re: Remote pump control ideas.

            Originally posted by stj
            ethernet? why?

            ethernet has a 100m range before you need a repeater.
            better to use armored fibre-optics
            or twisted pair running high voltage like RS485
            Ok, ethernet is indeed incorrect. INTERnet would be more like it - there's isn't actually a cable running between the two - each box has its own internet connection and we have to make them talk. Ethernet would only be locally inside the box, between the GPON or router or whatever and the device we'll use, so I was wrong there.
            Wattevah...

            Comment

            • stj
              Great Sage 齊天大聖
              • Dec 2009
              • 30948
              • Albion

              #7
              Re: Remote pump control ideas.

              btw, in your first photo - some asshole has cut a lot of the strands on the battery cable.
              was that intentional to fit the terminal - or just fucking careless??

              Comment

              • stj
                Great Sage 齊天大聖
                • Dec 2009
                • 30948
                • Albion

                #8
                Re: Remote pump control ideas.

                Originally posted by Dannyx
                Ok, ethernet is indeed incorrect. INTERnet would be more like it - there's isn't actually a cable running between the two - each box has its own internet connection and we have to make them talk. Ethernet would only be locally inside the box, between the GPON or router or whatever and the device we'll use, so I was wrong there.
                then you just need a microcontroller board with ethernet.
                i would use a nucleo board from ST - they are really cheap and you can use the arduino compiler with them.

                Comment

                • Dannyx
                  CertifiedAxhole
                  • Aug 2016
                  • 3912
                  • Romania

                  #9
                  Re: Remote pump control ideas.

                  Originally posted by stj
                  btw, in your first photo - some asshole has cut a lot of the strands on the battery cable.
                  was that intentional to fit the terminal - or just fucking careless??
                  Seeing how the positive lead next to it seems intact and it's the same thickness, I'd say it was simply a case of "mneh - good enough" approach and they just left it like that...I'll be sure to solve that issue too when I go there.

                  That board looks interesting. Since I already have SOME example codes, I wonder if they work directly on that board too, aside from the pin numbering (registers).
                  Wattevah...

                  Comment

                  • stj
                    Great Sage 齊天大聖
                    • Dec 2009
                    • 30948
                    • Albion

                    #10
                    Re: Remote pump control ideas.

                    Originally posted by Dannyx
                    Seeing how the positive lead next to it seems intact and it's the same thickness, I'd say it was simply a case of "mneh - good enough" approach and they just left it like that...I'll be sure to solve that issue too when I go there.

                    That board looks interesting. Since I already have SOME example codes, I wonder if they work directly on that board too, aside from the pin numbering (registers).
                    well the nucleo series are a bit like arduino - only 3.3v and MUCH faster.
                    so you also need to design a board to buffer the inputs and provide some relays - judging by what is in the foto.

                    it may be good to design an io with a small mcu and talk to the main board over i2c.

                    Comment

                    • Dannyx
                      CertifiedAxhole
                      • Aug 2016
                      • 3912
                      • Romania

                      #11
                      Re: Remote pump control ideas.

                      Originally posted by stj

                      it may be good to design an io with a small mcu and talk to the main board over i2c.
                      This could get complicated, though it makes sense.....I have a limited amount of time to come up with a viable solution
                      Wattevah...

                      Comment

                      • diif
                        Badcaps Legend
                        • Feb 2014
                        • 6978
                        • England

                        #12
                        Re: Remote pump control ideas.

                        Originally posted by Dannyx
                        Haven't seen it myself, though that would be pretty stupid....plus I expect SOMEONE had some brains there

                        Yes, it would be stupid but not surprising, looking at that photo.
                        What's the thin cream cable at the bottom of the photo if not the antenna ?

                        Comment

                        • Dannyx
                          CertifiedAxhole
                          • Aug 2016
                          • 3912
                          • Romania

                          #13
                          Re: Remote pump control ideas.

                          Originally posted by diif
                          Yes, it would be stupid but not surprising, looking at that photo.
                          What's the thin cream cable at the bottom of the photo if not the antenna ?
                          Probably that's where the wires exit the box...
                          Wattevah...

                          Comment

                          • stj
                            Great Sage 齊天大聖
                            • Dec 2009
                            • 30948
                            • Albion

                            #14
                            Re: Remote pump control ideas.

                            the joke is that at those frequency's your getting huge losses in the cable.
                            they should have flipped the board and mounted the socket against the case top for a direct antenna connection.

                            Comment

                            • Dannyx
                              CertifiedAxhole
                              • Aug 2016
                              • 3912
                              • Romania

                              #15
                              Re: Remote pump control ideas.

                              Not to mention I don't know how long the cable is outside the box either, so a couple of more meters there too
                              Wattevah...

                              Comment

                              • redwire
                                Badcaps Legend
                                • Dec 2010
                                • 3900
                                • Canada

                                #16
                                Re: Remote pump control ideas.

                                I have:
                                1. Used private radios with yagi antennas at each end. Like 900MHz band.MDS TransNET
                                Only works if you have a clear line-of-site. Any hills or valleys in the way and you can't do it without a repeater. Once I put that on a cell tower that would lease the space.
                                Tree leaves cause problems because water in the leafs absorbs microwaves. So every spring the network would go down when the leaves came out. You need need a tall antenna mast to clear the tree line, it's a hassle over 20ft due to lightning and wind etc.

                                2.
                                RS-485 coms. The difference in earth-ground potential caused problems. Lightning surges always zapped the transceivers. I had to add RS-485 isolation, and then the network was reliable.

                                3.
                                Used cellular phone modems. With a yagi pointed at the tower (not pump house lol), they can have good signal. The problem is if the network goes down, or SIM card account not paid up, it's not that reliable.


                                You really need the ability to call out and tell someone the communication link is not working. It should ping and check often.

                                Trenching and laying underground cable is very expensive.
                                With buried metal pipe, you can use a VLF radio signal on the pipeline, just like data over powerlines.

                                Comment

                                • Curious.George
                                  Badcaps Legend
                                  • Nov 2011
                                  • 2305
                                  • Unknown

                                  #17
                                  Re: Remote pump control ideas.

                                  Originally posted by Dannyx
                                  Ok, ethernet is indeed incorrect. INTERnet would be more like it - there's isn't actually a cable running between the two - each box has its own internet connection and we have to make them talk. Ethernet would only be locally inside the box, between the GPON or router or whatever and the device we'll use, so I was wrong there.
                                  Ethernet is a particular hardware communication scheme.

                                  *An* "Internet" is an interconnected group (typically of) computers.

                                  THE Internet is the global network of interconnected computers.

                                  Note that an internet need not use ethernet, at all.

                                  And, an internet need not use the TCP/IP protocol suite.

                                  There's little need for ethernet on a shorthaul between devices in a box -- unless the hardware (and software) was effectively free.

                                  Comment

                                  • momaka
                                    master hoarder
                                    • May 2008
                                    • 12164
                                    • Bulgaria

                                    #18
                                    Re: Remote pump control ideas.

                                    If there is clear line of sight between the two sites, what about implementing some kind of laser comms? Though I imagine that would require at least periodic checking of the laser alignment between transmitter and receiver. And there are some other difficulties around laser comms too... but yeah, just throwing an idea out there for fun, if nothing else.

                                    Comment

                                    • Dannyx
                                      CertifiedAxhole
                                      • Aug 2016
                                      • 3912
                                      • Romania

                                      #19
                                      Re: Remote pump control ideas.

                                      Naah, our company already ran the necessary cables (or maybe even fiber - don't know yet) to hook up each site to that town's network, so we'll have to stick with whatever can be done over a LAN/WAN.
                                      Wattevah...

                                      Comment

                                      • stj
                                        Great Sage 齊天大聖
                                        • Dec 2009
                                        • 30948
                                        • Albion

                                        #20
                                        Re: Remote pump control ideas.

                                        it's piss-poor security to use a public network.
                                        typical corporate scumbags.

                                        Comment

                                        Related Topics

                                        Collapse

                                        • tmhobadcap
                                          Pioneer VSX-522-K remote control not working???
                                          by tmhobadcap
                                          I have this receiver for at least 10 years. Usually, we just use the remote for turning on/off and adjusting the volume. Recently, the remote control started not able to turn the receiver on. Later, the volume also could not be adjusted by the remote control.

                                          At first, I thought that it was the usual problem which can be fixed by cleaning the contacts on the switches and the pcb. I opened the remote and clean it with alcohol. The remote did work again after that. But after one day, it did not work again. I opened it again and clean with alcohol and contact cleaner. Again it worked...
                                          12-24-2020, 01:44 AM
                                        • Document Archive
                                          HP Mobile Thin Client mt44 Mobile Thin Client 3JG86EA Mobile thin client Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP Mobile Thin Client mt44 Mobile Thin Client 3JG86EA Mobile thin client can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the mt44 Mobile Thin Client 3JG86EA boardview and mt44 Mobile Thin Client 3JG86EA schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note...
                                          09-06-2024, 06:50 AM
                                        • piipo
                                          Old Privileg 5.1 speakers remote control question
                                          by piipo
                                          Hi, I have an old Privileg brand 5.1 speakers. I have lost the remote control. I have an universal Harmony remote but there is no Privileg brand in it's software to add. Does anybody have an idea what alternative brand for a remote can I try instead? I'm attaching an image of what the speakers looks like. The image shows 2 main speakers, they are 5 + 1 in total. Thank you very much
                                          09-18-2024, 01:55 AM
                                        • Document Archive
                                          HP mt44 Mobile Thin Client Mobile thin client Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP mt44 Mobile Thin Client Mobile thin client can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the mt44 Mobile Thin Client boardview and mt44 Mobile Thin Client schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification,...
                                          09-06-2024, 06:50 AM
                                        • Document Archive
                                          HP mt44 Mobile Thin Client Mobile thin client Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP mt44 Mobile Thin Client Mobile thin client can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the mt44 Mobile Thin Client boardview and mt44 Mobile Thin Client schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification,...
                                          09-06-2024, 06:50 AM
                                        • Loading...
                                        • No more items.
                                        Working...