new-user
Posts: 4
Joined: Wed Jan 09, 2019 11:48 am

Using 16 channel reply

Wed Jan 30, 2019 12:14 pm

I bought this ( https://www.amazon.co.uk/MAKEASY-Channe ... 16+channel ) relay board. I want to attach 5 electromagnets to it and 5 buttons. I know that I need to attach diodes to the magnets so the current surge doesn't damage the pi. The question is: Do I need to attach diodes to the buttons as well or is the relay board enough to protect the pi?
Thanks

User avatar
Burngate
Posts: 6313
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Using 16 channel reply

Wed Jan 30, 2019 6:14 pm

That is a bit too vague.

What do you want to achieve with the buttons?
When you push a button, what do you want to happen?

I think your best course of action would be to first draw a diagram of what you want to do, and how you think it should all be connected together.

pcmanbob
Posts: 9611
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Using 16 channel reply

Wed Jan 30, 2019 6:22 pm

Well first off that relay board may not even work with the pi gpio without some interfacing circuits.

The relay board needs 12V DC to power it , and it uses a low signal input to active the relays, if it follows the standard design the 3.3V of the gpio will not be able to switch the relays off, connecting this to the pi gpio to this relay board may actually damage your pi.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “HATs and other add-ons”