Need relays module / shields for Fez Panda 2

Hi, as subject, i need a module or shield relays compatible with Fez Panda 2. On GHI catalog at this address i can see one module like what i need. But this isn’t what i mean…
Because i need to command 50+ relays to attach and detach the electrical current i need a electronic board with relays preinstalled. In a nutshell what i need is this:
Problem is i don’t understand if fez panda 2 is compatible and/or if need other modules to make this work and as i can see i don’t know if this product is discontinued…
Please, can you tell me if exists other module like this (fez panda 2 compatible) and manufacturers or sellers?
Than you :wink:

Use duinoproto plus relay module.

Welcome to the community.

I think GHI got the 16 relay board from, but will let them confirm. It uses I2C, so any microcontroller that supports I2C will work, including the Panda2.

thanx for replies. Please where i can find “duinoproto plus relay module” ? googling i can’t :frowning:

ransomhall, i can’t relays module on :frowning:

opss, maybe you mean using a proto board and attach relays? if yes, this isn’t reply i expected, i need preassembled module…

DuinoProto is here
Relay module is here

This will let you use this relay module as a shield on a Panda2. I was guessing on the manufacturer of the 16 relay board.

thanx ransomhall, now i understand what ghi support user mean, but this is not solution within my reach, for costs and knowledges :frowning: so i need a preassembled module… i’m only a .net programmer, not electronic engineer… I do not know how to assemble such a thing :frowning:

see here: 16-Channel 12V Relay Module –
but isn’t compatible with fez (!?)

That should work, but there’s little-to-no information there on how to drive it. You may need external drivers capable of putting out more current, or not. There’s no datasheet, no full schematic, nothing. You’d be on your own there.

From the schematic it looks like you get one pin per relay. So, 16 pins required… Not ideal if you are planning to drive 50 relays. You might check out these guys. I have an XBee controlled board I bought from them years ago before I knew how to build one myself that works really well. They have some nice relay boards but they can be a bit pricey.

yes, one pin per relay is a problem, big problem :frowning:
Thank you for link, yes too high price for me :frowning:
I don’t understand! how it’s possible ghi haven’t designed a multi relays board commanded from one (or two) pin of microcontroller !
How is possible i can’t find any manufacturer of this type board without having to occupy all digital pin… !
Can be incredible… but this type of issues exists for other microcontroller like netduino, arduino etc…
i’m really disappointed !

Here’s an I2C relay board (8 relays):

TI makes an 8-channel relay driver that can be controlled over SPI. That’s not 2-pin (it’s 3 pins, plus one per IC, so 4 for one, 5 for two, etc), but it’s not many pins: TPL9202

You could always use a set of ULN2803 drivers and some 74HC595 shift registers to drive an arbitrary number of relays with 3 pins.

There are LOTS of options. When you’re dealing with pre-built whole solutions, however, they’re generally quite expensive.

GHI at one time supplied a 16-relay board that could be controlled over I2C:

your usage case is very specific. I doubt ANYONE ANYWHERE has created a commercial product that allows you to control 50 relays with only using an I2C or SPI type connection with minimal data pins being used. And if they did I bet they sold 1. No, maybe 2. And if they’re expensive you know why right, because it has a heap of relays on it (!!!) and because not many people wanted to buy it so there’s no economies of scale.

Hate to say it but you’re going to have to either learn to become an EE and design this yourself, put up with the limits of the existing devices you can find, or design something yourself that is a combination of the constituent parts as godefroi says.

thank you for replies.
Dear Brett, this is not my first steps… I already tried to make myself module like i need, with 74hc595 shift register, mosfet and relays… as you can see in the attached picture. I’m not an electronic engineer, i’m programmer and i was not lucky because unfortunately the cards that i built for one reason or another do not work properly. So i decided to simple buy one or more preassembled boards so I would devote myself only to programming.

Thank you again…

well, you have a great start, why not see if we can help you get it working?

What parts of the setup did you have issues with?

I’ll give you some practical experience I have with '595 shift registers. I was, for the heck of it, looking to interface a HD44780 LCD display with a Fez using a small number of pins, and this being one of my first forays into shift registers and also interfacing something I decided I needed a way to make sure what I was doing made sense. In my case what I did was set up my shifty and on the output side I had a series of transistors that then allowed me to switch LEDs on and off, so I could see that the bit pattern I sent arrived correctly. Once I had that portion sorted out it was only a matter of connecting the shifty’s output to the LCD (and removing all my wait states so I could visibly see what was going on :slight_smile: ) and hey presto, LCD worked.

Do you want help me? Ok tell me how to make a board with 16 relays, how to wire this (schematic), how to connect this to the fez panda II pins, how to predispose this board connecting other same boards (using same pins on the fez panda) so i can add other relays… (parallel)
Maybe this is not so quite simply… this is the reason i decided to buy… if exists… but seem not…
Maybe i can be repetitive, but i’m not electronic egineer and if ask me where is the failure on the board i created, i can’t answer… :frowning:
I’m started from this or other schematic / tutorial…

I understand you’re not an EE - either am I :slight_smile: I did play with 74HC595’s and got that working so that’s not insurmountable.

Fundamentally, we all have projects, and often we don’t know how to achieve them. Then we come ask for help, and people are generally willing to help. i’m willing to help you try to make the most of what you have already started, if you’re willing to try a bit longer?

Tell us about what equipment you have access to (multimeters, soldeirng irons, breadboards etc) and what electronics components you have (LEDs, resistors etc) and tell us a bit more about your current boards. How did you make the board you showed us? I can see there’s a board with 16 relays on it, and then there’s a different type of board as well with what looks like power transistors on it? Can you tell us more about both boards? Draw a diagram how they’re wired?

And back to the question of what didn’t work. Can you tell us what did work, if anything? How far did you follow the netduino example? Did you try just using the shift register with LEDs like their example talks about, which will give you the great feedback about your code and your circuit and help your learning experience.

Now onto other questions.

The board that GHI offered is INEXGLOBAL which should meet your goals. If you’re serious about wanting to buy commercial, try contacting them to see if they can supply you.

What are your up to 50 relays going to switch? What load do they each need to handle? What relays did you choose for your current 16 you’ve built on your board?

How many pins can you “afford” to use for each bank of 16 relays? If we had to use a separate set for each 16, would that be an issue? Did you start thinking about this (for instance looking at i2c or SPI-like control?)

What about RS485 controled relays?
You can use 6x 8relay boards:

Check the Gadgeteer thread on a custom designed 8-relay device, seems like a good thread to check out to see if there’s any different in your current approach.

I built a 16-“relay” module using shift registers and optotriacs. I use them to switch 24VAC power to solenoids in my sprinkler controller, but you could just as easily switch something else, if it’s low enough current. Optotriacs are nice in that they’re cheap, and they don’t wear out :wink: