One more question, in looking at the schematics, is pin 5 of the mag jack supposed to be connected to the center of the two resistors and the cap?? I found this site that outlined the same Ethernet chip for a different processor, but the circuit was similar
http://www.kandi-electronics.com/uCEthernet/Ethernet_1.aspx
on page 2 they have this schematic http://www.kandi-electronics.com/uCEthernet/uC%20Ethernet1.pdf and they show pin 5 connecting similarly to pin 4...
Any thoughts on this? is the Ethernet circuit working on anyone who has gotten that far with the way it is? I know it's not shown as connected on the sample circuit on the datasheet....
Zen, did you get an answer from anyone on your questions (in PM or other contact)? Inquiring minds want to know.
I worked a bit on the relay part of the controller so here is the progress.
2x opto-isolated 10A 4 relay board from futurlec
http://www.futurlec.com/Opto_Relay_4.shtml
1x American DJ power strip
http://www.amazon.com/American-DJ-P...8&s=musical-instruments&qid=1278899261&sr=8-1
1x MCP23008 port expander (same as on the controller)
http://mouser.com/ProductDetail/Mic...3008-E-P/?qs=sGAEpiMZZMvcAs5GUBtMdVgPLCS8TUZv
The nice thing about the relay boards is that they come with cables and 2 can be chained together so that you have only one 10 pin cable (8 channels, 5v, gnd)
Most of the work is in the Power strip really. First had to open it. The lid has 4 metal screws, 2 on each side:
![]()
It is fairly neat inside, and the nice plugs allow for easy modification:
![]()
I interrupted the short black single wire. That is the negative/return/neutral whatever it is:
![]()
Since most of the plugs are not well crimped, it is very easy to pull the wire out of them:
![]()
I used a metal scribe to expand the pins a bit so I can crimp the longer wire.
The power strip uses 18AWG wire so that's what I used too. I used 8x 6ft pieces to make this:
![]()
Note that half of the terminals are smaller, so when/if you do this pay attention to pair a small one with a big one.
Connecting the wires back:
![]()
After that, I cut each wire exactly in the middle to end up with 16 wires. I tried to braid them, but it's no easy task to braid with 16 stiff wires (no, they are not solid core, just very stiff). I drilled/filed a cut next to the power cord and used a couple of zip ties to limit the movement.
![]()
In the end I ended up with 8 pairs of wire that can be connected to the relays, which are controlled by the Hydra via the MCP port expander.
![]()
I almost forgot, make sure you label the wires BEFORE you start braiding, or it will take a while to figure out which is which (unless you have 9 colors of wire). If you do forget, plug the power cord in one of the outlets and turn ON only that outlet. With a multimeter on continuity mode check which two wires complete a circuit. That is your pair for that outlet.
I've done some of the programming for controlling the relays, but have some more work to do.
It worked out pretty well. I think 8 outlets will be enough for me (1 power head, 1 return, 1 heater, 1 skimmer, 2 lights, 1 top-off) but the nice thing is you can add quite a lot of these to a hydra by just getting another set of components.
Total cost for 8 controlled 10A outlets comes to a bit over $60. Not bad imho.
hello everybody,
Just saw this thread and I am pretty impressed. I just read the first 5 pages right now and you guys were talking about relays to turn ON and OFF pump, chiller, lights .....
Why are you not using Triac ? Very easy to drive and you don't have the mechanical problem like the relays can have if you switch to fast (like if you want to do a wavemaker)
Wonder how the cost would compare. Although I think that is hard to figure out because this is more of a hobby and its hard to put a dollar amount to your work. But its really cool reading this.
So my question I guess. Would it be possible to configure these to send a signal to a sprinkler valve / wired solenoid to turn it on and off? I was reading about the ocean motion 4 and 8 way devices and they are really nothing more than a wired solenoid from what I can tell. You could do a closed loop with these and achieve the same thing or even just use it for returns. I just do not know how they would react to salt water vs fresh which is what most use for irragation. I do know they are heavy duty though.
Second question or thought I guess. Would be cool for those of you doing the ethernet interface to have it automously broadcast temp, ph, or any other stat for that matter to a set location. Then create a gadget in windows to display it in real time.
Anyway great tech thread here.
I think I've figured out - conceptually - how to get an Arduino to send text messages via Google Voice. There are some blog posts out there that have documented the form submissions necessary. The only trick is that there is some parsing of page source that needs to be done, and some session-related stuff (cookies, IIRC) that need to be sent. I've never written an HTTP client (especially not on an Arduino!), so I'd just have to work out how to do that stuff efficiently.Yes - the Ethernet interface would easily be able to do that. You can write a webserver to run on it, such that you can check specs from any web browser. The direction I've been planning on going is to put a tweeter client on it, and have it tweet alarms and stats to an account I will "follow" via email and/or SMS.