Author Options:

How do I connect 3 x SainSmart 16-Channel Relay Module to an arduino mega board? Answered

I have seen several posts regarding relay modules and arduino, but none specific about connecting this configuration. 

I want to control 48 light bulbs with an arduino MEGA 2560 board. Can anyone help me with the requirements? I mean, I need to know whether I can connect those 3 relays modules (16 channel each) directly to the arduino, if so, which pins should I use. If not, should I use an extension board? Also, I am not sure about the power suply for the whole system. Should I use two power sources? (one 9 volts for the arduino and other 12v to the relay modules?), and how do I connect the power sources to that system?

Any help is welcome. Thanks in advance.


The forums are retiring in 2021 and are now closed for new topics and comments.