Go Down

Topic: Seeking an I2C 8-16 channel relay board (Read 1 time) previous topic - next topic

CRC_failure

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

Wawa

Does it have to be I2C.

CrossRoads (moderator here) sells 8-relay boards with shift registers.

http://www.crossroadsfencing.com/BobuinoRev17/

Leo..

CRC_failure

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.

There's nice ones at https://www.ereshop.com/shop/free/I2C-RL8xxM_SHEET.pdf but the shipping is a killer.

Our supply is 2 x 13.8vdc AGM batteries.

Wawa

I2C looks better to us.
In what way?

Shift registers can be controlled with (8Mhz) SPI.

Design your own relay board with e.g. a TPIC6C596.
Leo..

CRC_failure

The Mega system we are using has I2C available to us.
We are already using its digital outputs for other functions.

We do not want to design & manufacture our own boards; we want to buy them as needed.

CrossRoads

I don't know, I'd go with SPI, fast, easy to control.
Code: [Select]

digitalWrite (ssPin, LOW);
SPI.transfer(on_off_state0); // repeat for each board
digitalWrite (ssPin, HIGH);


Here are 3 daisychained, got lazy with the code example and didn't them unique
https://www.youtube.com/watch?v=oHTRGXyd3xU
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

Can use shiftOut() also if the D50-53 pins are not available for SPI on the Mega.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CRC_failure

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.

avr_fred

Quote
Is it SPDT? Contact rating?
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...

https://www.tindie.com/products/jap/8-channel-relay-board-for-raspberry-pi-and-arduino/
https://www.freetronics.com.au/products/relay8-8-channel-relay-driver-shield#.WfM4FUEpChA
http://www.robotshop.com/en/8-relay-add-on-unipi.html?gclid=CjwKCAjwssvPBRBBEiwASFoVd9Yd3XgFJ5IHqgyWijOn4egQrfl2bRbUtkNqR1SVZ7KIpJOaHebMFhoCmEgQAvD_BwE

CRC_failure

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.


Quote
https://www.tindie.com/products/jap/8-channel-relay-board-for-raspberry-pi-and-arduino/
https://www.freetronics.com.au/products/relay8-8-channel-relay-driver-shield#.WfM4FUEpChA
http://www.robotshop.com/en/8-relay-add-on-unipi.html?gclid=CjwKCAjwssvPBRBBEiwASFoVd9Yd3XgFJ5IHqgyWijOn4egQrfl2bRbUtkNqR1SVZ7KIpJOaHebMFhoCmEgQAvD_BwE
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.

If you know of others, please let me know.

avr_fred

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.

CRC_failure

Yes, DIN is good and know about Phoenix Connect.

Now considering
PCF8574-I2C-Bidirectional-I-O-Expander-Relay-Control-SmartHome-Ardiuno-Raspberry <https://www.ebay.com/itm/282692860765>  & 8-Eight-Channel-5V-Relay-Module-Board-with-Optocoupler-Power-Supply-PIC-ARM <https://www.ebay.com/itm/322834065204


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.



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.

https://www.ebay.com/itm/PCF8574-IO-Expansion-Board-I-O-Expander-I2C-Bus-Development-board/351875821618?hash=item51ed6ef032:m:mRxQbdJsdU7r1HQPlvNq_QA

CRC_failure

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.

CrossRoads

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.


Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up