Hi All, I have just gone through the UNO starter kit so am only a beginner.
My project in simple terms: I need to replicate an analog voltage at another location on my property and thought I could use my wifi network and a pair of UNOs with wifi modules to do this.
In more detail:
I have a commercial irrigation controller mounted in a shed at one end of my property which controls solenoids in the back yard. At the other end (approx. 60m away) in the front yard I have more solenoids which are not connected to anything yet. I want to use the existing controller to activate the front yard solenoids as well (as it is convenient to program all the times and durations at the one location). There are spare stations on the controller (24v DC output) which I can use but there is no way to run physical wiring from the back to the front yard. The shed has a wifi extender which is on the same network as the house on the front of the property where the front yard solenoids are located. The network connection between the shed and the house is achieved via ethernet over mains wiring (powerline ethernet).
My plan/concept is as follows:
Hardwire 24v output from irrigation controller to a relay to pass a lower voltage (eg: 5v) or digital signal to the UNO. Use the UNO+wifi module to transmit the ON state of this signal to the network extender in the shed so that it is then available on the network in the house. Use a second UNO+wifi module within wifi reach of the house which sees the state of the signal and then outputs a digital signal to a relay that passes a 24v DC voltage to the wiring that connects to the solenoid in the front yard.
See the attached schematic of the concept.
I need help with the following:
Is the concept OK/sensible? Or is there an obvious other or better way to achieve the same result via Arduino HW and code?
What is the best hardware solution at both ends? Is there a single module with wifi inbuilt or do I need to connect a wifi module to something like a UNO (I already have 1x UNO)? Basically, what HW should I use?
The code to achieve the sending and receiving of the signal (ON state). I’m not expecting someone to have a sketch already created for this exact situation but if there is an example of a similar project or general guidance on what is required it would help greatly.
If anyone is able to help with the above it would be most appreciated.