Relay x16 strange behavior

…yeah, need 8. :frowning:

Then 2 Y sockets or 1 x Y and 1 x X or 7 relays on relay board and 1x relay X1.

I understand you are trying to help. But coming up with low-level work arounds that rely on having to build our own interfaces rather than using prebuilt components is exactly what we were trying to get away from. If we need to do something like that, we might as well switch to a different platform. We would like the module to work as advertised.

1 Like

I agree, I wasted more than 2 weeks on this relay board and basically I was forced into low level as I couldn’t get it work. I hope someone comes up with a solution soon.

It would be interesting to have GHI implement a way for one to turn ON and OFF a socket, through managed code, kind of like what they did with the LCD display…

I wonder what would happen if the firmware can start up with all sockets OFF…

Similar to what Netduino go does.

Edit: you want to try the CPU registers to turn off the socket, this might give you a hint…
https://www.ghielectronics.com/community/forum/topic?id=13119

Cheers,
Jay.

This still wouldn’t work for relay board because shift registers are powered from relay board’s 5V instead from gadgeteer socket so whenever board gets 12V it turns on shift registers - connected to socket or not. Relay board urgently needs a new revision.

Using the X1 to later turn on the 12V to the relay board takes care of all my start up issues. The issues I’m having now is that randomly all the relays turn on during operation.

@ NXTwoThou.

What type of load are you switching?

If it is inductive, you might find the links regarding a similar issue with the X1 useful.

https://www.ghielectronics.com/community/forum/topic?id=13132&page=2

You might need to install a SNUBBER network if the load is inductive.

DC solenoids for air. All 12VDC. Have diodes in place on the solenoids. http://www.stcvalve.com/STC-DOWNLOAD/4V110-410.pdf It’s, again, where we produced 6 previous machines that worked flawlessly, but the two new relay boards we got in are having issues. Either we got incredibly lucky or whatever vendor supplied GHI with the relay boards are having issues and these aren’t as stable as previous boards. The link provided in the other topic is on AC circuits, will this still apply?

I did while the last working one was here. Switching boards worked, so I’m pretty sure nothing else is wrong. But that’s now off to a customer, so, I’m stuck with two machines I was supposed to ship tomorrow but are in a holding pattern until I can figure out what’s wrong. :frowning:

Page 4 of this topic, message #35

The machine that was working had a relay board that had a 16211H2 under the 1982A part number on the relay board. The two new boards have 28388H2 under the 1982A number on the relay board. Moving the 16211H2 onto both the newer machines worked, which makes it appear that none of the solenoids, power supply, spider, display board, flash memory board, or our homemade sensor board were having problems. Using either of the 28388H2 boards didn’t work on any of the three rest of components worked.

I no longer have the machine with the 16211H2 here for further testing.

That number on the board appears to be a batch number put on my the PCB company.

The only way to check if there is a difference is a visual inspection of the tracking.

By the way, I would try the snubber network on the relays. The diode won’t work as it has nowhere to dissipate the voltage when the relay opens. The capacitor in the snubber network will absorb the spikes.

Could someone post a picture of how they set up their snubber network?

snubber setup : https://www.ghielectronics.com/community/forum/topic?id=13132

Sorry…an actual picture of everything set up and working. Not discussion. Not link to third party discussion/video.