Because I'm stuck at home at the moment, I figured I'd make life a little easier for myself on my little Texas ranch. So, allow me to explain my desired operation, equipment that I've found I think will work, and ask some questions afterwards. This will be my first time doing this with an actual use that'll be permanent, with a PCB board, etc. Also, trying to do this as cost effective (ie. cheap) as possible.
So, I have 3 areas where livestock are housed on my property, and fresh/clean water becomes an issue, with multiple trips with water pails several times a day for 2 areas, which house various chicken stock. My 3rd area houses goats, and this presents 2 different issues. First, chickens will climb all over anything in their coops, and make the water dirty, but heating the water only becomes an issue when it's sub-freezing. Second, the goats, being picky, like water around lukewarm our warmer, no matter the temperature , which equals to 95°F-100°F or warmer. They also go through a LOT if water while browsing through the roughage they like, like briars, saplings, and grassy areas.
My desired operations is for the chickens, to have water level sensor an a trough for them that when it hits a lower mark, will empty out the trough through an electronically controlled drain valve, flush the sides, and then refill to the top of the sensor. Frequency and amount that will be optimal will he determined through testing once it's operational. As far as heating, I'm in Texas, so that won't be an issue until later on in the year.
The goat side operation, I would like to have the same water level/drain idea, although it'll differ somewhat. I have an added issue of keeping the water warmer. Most devices I see available are for keeping water thawed out, and won't work for a goats particular picky needs. Also noted, is that these devices have a tendency to have electrical issues, resulting in a shock to the livestock over time. The available devices typically sit int the livestock water. I don't wish to shock them. I should point out that these goats are also extremely young, and the warmer water helps keep their temperature regulated.
So, I am understanding that I am probably missing some key things with where I'm thinking this through. I have found the point of use water heaters, which I think will work well for the warming part of the goat water. I have found solenoid valves that will work (1/2" connection) for controlling water flow, although they seem to either run on 110VAC our 12VDC-24VDC. Seeing as I never controlled in AC circuit from a DC circuit, I found some solid state relays on sparky, and again on Amazon that fit the power requirements for the components I have picked out so far. I have a pack of divided, transitors, opamps, darlingtons, and some things available at this moment. I kind of halfway have an idea for a servo motor on the drains for faster drain times.
Simply, I am thinking the best way to do this is used an Arduino to monitor the water sensor, and when it reaches a specific level, drain the water on a timer, then use a valve to spray the sides down, close the spray, close the drain, refill the troughs. I'm thinking the same thing for the goats, but I think a low volume circulation pump to keep the water warmed would/should be added to accomplish this. I believe using a temperature sensor to aid the circulation times would be effective.
My questions are, is this something that is plausible, or might there be issues creating it? Mains power isn't an issue, I have plenty of experience with staying safe with it. Having never considered controlling an AC circuit from DC control circuit, I have found that these solid state relays seem to be the way to do it. So, given that, my plan is to use some transistors, NPN to PNP to get the control voltage/amperage to the required setting for the SSR's to control the AC circuit. This means either a rectifier and then a voltage regulator, or a transformer then to a voltage regulator. I'm not sure which would be more cost effective/better to use in this particular instance. Also, the solenoid valves to control water flow, the cheaper ones are the low voltage, DC ones, but mains power is more readily accessible with less wiring required. But, if a solution for using the DC is already presented with the control circuit, eliminating the requirement for an SSR, using the DC valves would be more effective.
-
Will Arduino work for this? Will it require multiple boards, or can I control it all off one board?
-
Beefing up the voltage/amperage on control circuit, should I stay on a DC circuit or use mains power for the "working" circuit and buy accordingly?
-
Either way, should I be using a rectifier with a voltage regulator or a transformer and then a rectifier to accomplish AC to DC conversation? I would imagine that I'm looking at a desired output of 12VDC to 18VDC around 5A-10A max. I think.
Thanks for reading and help