We have need for relay boards driven by I2C; that being a task for the Meg2560 box.
I've turned over rocks hither and yon, and spotted many "close" but few successes. There are lots of non-I2C relay boards which seach engines insist on showing me. Then there are I2C decoders with no relays. I've found one in the Pacific rim but they want more to ship than the board costs.
Basic needs:
I2C in
In/out I2C connections (daisy chain)
programmable address (we'll have 4-8 boards on a system.)
Compact.
SPDT relays, 1A+
rational shipping costs.
DIN rail mounting*
24V relay supply*
Starred items might be sacrificed; i.e. I can find a generic DIN foot, use an external 24->12V regulator, etc.
Any suggestions for someone manufacturing boards meeting these demands?
Thanks
Yes, I2C. Our choices were I2C or SPI; I2C looks better to us.
We'll be driving 4-8 of the boards (32-64 relays) with the system.
We may actually end up with >8 boards eventually.
CrossRoads:
Can use shiftOut() also if the D50-53 pins are not available for SPI on the Mega.
Not familiar with the board shown. Is it SPDT? Contact rating? We'll have up to 64 channels we're switching. We debated which output to use but at the time we didn't find any more SPI boards than I2C.
Your basic observational powers are severely lacking... it's a custom board with a very nice photo that had you spent 5 seconds observing said photo you could have clearly seen the relays are Omron G5T-1A. SPST 5A 250V AC.
I wonder how many I2C relay boards you've ignored...
avr_fred:
Your basic observational powers are severely lacking... it's a custom board with a very nice photo that had you spent 5 seconds observing said photo you could have clearly seen the relays are Omron G5T-1A. SPST 5A 250V AC.
I wonder how many I2C relay boards you've ignored...
It looks like a nice board; I didn't research the relays, but did see the terminal strips.
The first is Peter Jacobs of London; I wrote him Wed or Thursday via Tindie but have not heard back. The second I'd seen, but is a form factor unsuitable for this job. The third looks interesting. It is single power supply vs. many others that allow a separate relay supply. And it's not yet available.
So you have found boards, they're either not acceptable or available. Got it.
So it appears your specs don't align with the market choices. Time to think outside the box? Perhaps go half custom and address the difficult portion of your needs, I2C.
Find a suitable parallel input relay board. Then, build a small custom board with a MCP23017 to convert I2C to parallel such that it mounts on the relay board header. You could have these designed (if you're not able) and built at nominal cost if you're building any quantity.
If you want din-rail mounting, have a look at Phoenix Contact, they build a full range of mounting clips and pic board holders.
It looks like a straight IDC cable would connect the two boards. But that's 2 boards to mount per bank, and not keen on depending on eBay as a supply channel.
That seller would never see my money... but that's just me. Here's a similar model from a more reputable seller. Reasonable shipping too, especially with a 10pc order.
The #1 issue issue with FleaBay; it's a crap shoot re: venders. I risked $5 on the first one, and also got a mix of relay boards from several places. The one is 24V but it's screw term not IDC headers.
Can't tell the spacing of the 10 pin headers until they arrive, then seek an IDC cable. Have to find a 4-pin I2C female connector as well.
Just looked for DIN clips; prices from "gulp" to insane. Phoenix is mostly the latter.
The board I offer uses Phoenix brand (Made in Germany) screw terminals, the same 3.5mm pitch terminals I use on the Mega and Uno screw shields I offer.
The Terminal strips are 0.1" pitch for connecting the control signals from an Arduino and then daisychaining to subsequent boards.
Power for the relay coils is passed along thru the DC power blocks, or optionally thru screw terminals as well.
avr_fred:
That seller would never see my money... but that's just me. Here's a similar model from a more reputable seller. Reasonable shipping too, especially with a 10pc order.
Hopefully they will stack like railroad cars as we may have 8 of them. (Or eventually 16)
Wish vendors would include dimensions.
Lacking any clips that {unknown} width may have to make a /_________\ slot in a bar of some plastic to slide them in from the end; then DIN-clip the bar to the rails.
The TPIC6C595 shift register that sinks the coil current can handle that no problem, it's rated to 33V.
I've designed in an LED indicator per channel, and can customize the board size if you can define what it is you want. Right now it's 50x80mm.
If you want IDC, I can even add that too, altho that usually implies 2x3 or 2x5 or 2x8 or whatever length header and smaller 28 gage 0.05" spaced ribbon cable. What kind of currents are you switching?