Lifetime customer support
8-Channel 5V Relay Module
This is a 5V 8-Channel Relay interface board, Be able to control various appliances and other equipment with large current. It can be controlled directly by Micro-controller (Raspberry Pi, Arduino, 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic).
- 5V 8-Channel Relay interface board and each one needs 15-20mA Driver Current
- Equipped with high-current relay, AC250V 10A ; DC30V 10A
- Standard interface that can be controlled directly by microcontroller (Arduino, 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
- Indication LED’s for Relay output status
- You May Also Like: 8-CH 12V USB Relay Module
1. Christmas Light Project
A Relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate the switch and provide electrical isolation between two circuits.
- This 8 channel 5V relay has both optical and magnetic isolation, providing a lot of protection to the inputs from electrical faults on the outputs.
- Works well with both 3.3V and 5V logic (Raspberry Pi, Arduino, Teensy..), requiring little current drive.
- Breadboard friendly, using Female/male Dupont makes it extremely convenient for prototyping.
- LED indicates its working status. Red refers to errors.
- 3 terminals per SPDT relay.
All of these features make SainSmart relay a great component for automation projects.
- Diagram: How to wire a Raspberry Pi to a Sainsmart 5V relay module
- Strongly recommended: SainSmart 8 channels WiFi remote control model.
It works with the 8 channel relay to help you realize controlling your other devices remotely.
This Model helps you to avoid complicated wiring processes and saves you much time to accomplish your goal. You can feel free to enjoy the remote controlling of your other devices with the SainSmart 8 channel relay by using our codes and app.
WHAT'S IN THE PACKAGE
1 x 8-Channel 5V Relay Module
I have purchased other 8 channel relays in the past, but they certainly do not compare to this one!! I am using the relay with a raspberry Pi for home automation in my man cave. Controlling items such as curtains and movie screen. The relay has worked flawlessly. Will certainly buy again for future projects.
We've used many of these sainsmart boards to control valves, fans, etc., and they've been a great economical option to interface with National Instruments DAQs.
As Advertised, great product!
As Advertised, great product!
python code to talk to the relay
Please post how to "board.setBitMode(0xFF,0x4)" via pyserial, so I can remove ftd2xx dependency Tested on: python3.4, Win 10 Packages: pip install ftd2xx code: import ftd2xx import sys import os import time os.system('cls') dev = None try: dev = ftd2xx.listDevices() if (None != dev): print ('FTD2xx device available...') else: print('No FTD2xx devices available, please check that its plugged in...') except: print ('No FTD2xx devices available, please check that its plugged in...') exit() try: board = ftd2xx.open(dev = 0 ) print ('Connection to FTD2xx successful!') except: print ('Something went wrong trying to open communication with the FTD2xx device...') exit() try: m = board.getBitMode() board.setBitMode(0xFF,0x4) board.resetDevice() m = board.getBitMode() #all relays off s = board.write('\x00') time.sleep(2) #relay 1 on s = board.write('\x01') time.sleep(2) #relay 2 on s = board.write('\x02') time.sleep(2) #relay 3 on s = board.write('\x04') time.sleep(2) #relay 4 on s = board.write('\x08') time.sleep(2) #.... #relay 8 on s = board.write('\x80') time.sleep(2) #relays 1 and 2 on s = board.write('\x03') time.sleep(2) #all relays off s = board.write('\x00') time.sleep(2) board.close() except Exception as e: print ('Unable to get the BitMode of the device...') print (e) board.close()
So flexible, reliable and simple
I now use these for virtually all of my IoT and Web of Things projects.
IMPORTANT NOTE: this module have 5 v operating voltage ...
IMPORTANT NOTE :this module have 5 v operating voltage and the input is 12 volt ..so the relay will got hot ....because the coil of relay conected directly to input voltageso you have to make some change to put the coils to 5 v.
Very easy way to trigger lights without knowing so much about electric circuits
Works great with a Raspberry Pi 2.
It's a relay. Works as expected. Installed in a garage to run a garage door opener and gate opener from a Raspberry Pi 2. Able to open/close door and gate using an iPhone and Apple Watch via homebridge running on the Pi.