Grove-4-Channel Solid State Relay and Raspberry PI

Hello i bought a Grove-4-Channel Solid State Relay and i would like to communicate with it directly with a Raspberry PI(or if this is impossible with an arduino, although it would be better if i could do it with a pi).



I have also bought a cable that breaks down the pins of the ssr board.



Is it possible to use the i2c of the raspberry pi(or at least an arduino, but a regular one not at seeduino) to communicate with the board?



if so how can i control the relays through the i2c protocol?



Also i would like to ask if the ssr board comes with the firmware preloaded.



Thanks in advance.

Hi there~



Yes, you can use the regular arduino and raspberry pi to control the relay, for the arduino, you can refer to below link. For raspberry pi, you have to base on arduino library to come out the python code. thanks.



<LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-4-Cha … th-arduino”>http://wiki.seeedstudio.com/Grove-4-Channel_Solid_State_Relay/#play-with-arduino</LINK_TEXT>

<LINK_TEXT text=“https://github.com/Seeed-Studio/Multi_C … no_Library”>https://github.com/Seeed-Studio/Multi_Channel_Relay_Arduino_Library</LINK_TEXT>