As we discussed in our meeting about installing a mini test-system and another Raspberry Pi for the water butts, I'm making two new posts, one about the hardware layout I shall be writing the software for, and one about the software design. This is the post about the hardware layout.
As always, if I get something wrong, please correct me
So, what I'm envisioning for the hardware layout is:
- We will have 2 raspberry pi systems, and:
- One of them is a new pi to be installed by the sump.
- This pi will be responsible for:
- Taking measurements from the existing resistance probe in the sump.
- Turn the relay on and off for controlling the auxiliary motor to pump water into the butts.
- Providing and managing communications with the secondary pi.
- Load balancing the sump with the water butts to try to keep the whole system in balance and avoid wasting water, using some (at least at first) simple decision-making logic.
- A new Pi will be installed at/near the water butts behind the wendyhouse.
- The second pi will be moved from the sump, to the water butts, and is responsible for:
- Using a float switch (will later be another resistance probe) to measure the levels on the water butts.
- Saving these readings to a file on its SD card (for debugging).
- Sending each reading over the network to the master pi by the sump.
- Communications will be performed using an ethernet cable running through the pipes from the water butts to the sump.
- I will test the ethernet cable again with my tester just to be pedantic.
- *** In this installation we will _NEED_ a better way of water proofing than we have done by the sump pi. *** This is because:
- There is only a minimal amount of protection under the water butts (if we decide to install the pi there).
- It has as of yet been impossible to be absolutely certain the water butts have no leaks, indeed they appear to have 1 or 2 very, very, very slow leaks, but it could also be dew, so it cannot be guaranteed that a Pi will be safe underneath the butts.
- Installing a plastic box on the side of the wendyhouse might be a good idea as Penri suggests.
- The buttspi will be powered via PoE and a DC-DC converter. It will also have an interface board as described by Terry below.
Hamish