Your cart is empty.
Your cart is empty.This is a 5V 4-Channel Relay interface board, Be able to control various appliances, and other equipments with large current. It can be controlled directly by Microcontroller (Arduino, 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic).
Rini Boo
Reviewed in Canada on March 8, 2023
I have been running the Raspberry Pi 3 with this Sainsmart relay module for 6 years 24/7 home automation on my LAN, there has been zero problem. Recently I want to re-write my code to use MQTT cloud and upgraded to Pico W, then I bought another Sainsmart relay module. I read a lot of articles and YouTube videos saying you have to mod it because both Pi 3 and Pico W GPIO output is 3.3V and the easiest way I learned is to short the Sainsmart onboard LED to get that 1.7V difference. Of coz there are other ways. According to the electronic guys, without any mod, the 3.3V GPIO *may* work but it is not reliable. But I tell you, I am not an electronic guy and I didn't do any mod. My Pi 3 running for 6 years and the relay opens/closes at least 10-15 times a day and I didn't experience any problem or errors.For my new Pico W, I just tested it, it's exactly the same as my Pi 3. Without any mod, I connected Pico VBUS (40) to Relay JD-VCC, then VSYS (39) to Relay VCC, Pico Gnd (38) to Relay Gnd, Pico GPIO 16 (21) to Relay IN1.I can switch the relay on and off using Python, notice that it's "Low level trigger" meaning the following MicroPython code will turn on with value 0. You can see the photo, I have the relay LED lit up:Pin (16, mode=Pin.OUT, value=0)Even if you don't take JD-VCC and VCC jumper off and don't connect Pico VBUS (40), it works fine too. I just want the power isolation.
kazu
Reviewed in Japan on June 26, 2021
情報が少ないのでお伝えするとこのリレーはそのままではラズベリーパイ やAridomiで利用できません。これは、ラズベリーパイ などの基盤がGPIOで出力できるのが3vな為ですしたがって、このリレーを動かそうとすると5vにアップした出力ができる回路を別途作る必要があります英語でのコメントにもそのように書いてあります
横浜発信
Reviewed in Japan on April 15, 2018
簡単な配線で繋いで使用してます。どなたか、リレー接点の最大接続、切り離し回数の制限を教えてください。
Customer
Reviewed in Canada on January 30, 2016
Great product, solid, quality build. Notice that the relays are activated by setting the board input pins to LOW, so it doesn't matter if your micro controller (in my case Raspberry PI 2 B) outputs 3.3v on the pins, because you're gonna set them to LOW to activate the relays. So make sure your output pins are normally on HIGH, and then set them to LOW when you want the relays activated.
SKY1
Reviewed in Japan on May 7, 2013
リレ−の反応もよく毎日動作しています制御用に使いやすい部品です
Professor dot biz
Reviewed in the United States on March 28, 2013
The entire SainSmart line is well made, very well priced, and extremely functional, a great buy. Note that they also sell many other relays here on Amazon, including solid state. HOWEVER, when Amazon posts videos of guys "handling" the board with chasing LED's, and lists it as a toy, they are taking on extreme liability as well as endangering folks with less experience.These little monsters can handle 4x 220x 10A-- PLENTY OF POWER TO FRY YOU! DO NOT work with this as you would your 3.3/5 or 12v (low current) microprocessor boards if you're controllling A/C devices, appliances, etc.! Most folks know this, but for the few that watched the guy's video with him handling the board like a toy, be aware that you need to COVER AND SHIELD, THEN NOT TOUCH any components using A/C! Holding the business end of the relays is the equivalent of dropping 4 toasters in the bathtub-- VERY LIKELY FATAL if you're using the highest rated capabilities of this device for automation, control, etc. of high powered devices!Also for beginners, a "sketch" is what Arduino calls code, or a program. Some of this device's controls require sketches to select function, this is NOT a manufacturing error. Amazon gives a dot rar website in the description (you need to go to the Amazon AWS host of SainSmart to download it, then open it with WinZip-- rar is a compressed format. Do NOT download a "rar opener" from a site you don't know (WinZip is Corel)-- they are loaded with trojans, worms and viruses due to embedded zips in the files). The Sainsmart site is ONLY a .pdf schematic, no instructions are provided, but plenty are available if you check YouTube and the forums.NC and NO selections on this board mean "Normally Closed" and "Normally Open" -- there are some reviewers here who apparently didn't realize that this is a choice with this switch! If one or the other fries your micro or requires code or transistor work arounds, just select the other! Also, there aren't really two versions, 3.3 and 5, those also are selectable with either components or code-- see the schematic for details.Have fun, but realize this is NOT FOR KIDS if unsupervised by an adult that knows what they are doing!
Jay
Reviewed in the United States on March 16, 2013
This sketch will stop the Relays from toggling on reset... From arduino serial monitor numbers 0-7 control the relays and print back their state. Here it is, Enjoy!//From the Serial monitor- 0=Relay 1 off, 1=Relay 1 on, 2=Relay 2 off, 3=Relay 2 on, 4=Relay 3 off, 5=Relay 3 on, 6=Relay 4 off, 7=Relay 4 onvoid setup(){ Serial.begin(9600); //Set all the pins high so they do not toggle on Reset or Power on! digitalWrite(2, HIGH); digitalWrite(3, HIGH); digitalWrite(4, HIGH); digitalWrite(5, HIGH); //Set all the pins we need to output pins pinMode(2, OUTPUT); pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT);}void loop (){ if (Serial.available()) { //read serial as a character char ser = Serial.read(); //NOTE because the serial is read as "char" and not "int", the read value must be compared to character numbers //hence the quotes around the numbers in the case statement switch (ser) { {case '0': int pin(2); digitalWrite(pin, HIGH); Serial.println(" Relay 1 OFF");} break; {case '1': int pin(2); digitalWrite(pin, LOW); Serial.println(" Relay 1 ON");} break; {case '2': int pin(3); digitalWrite(pin, HIGH); Serial.println(" Relay 2 OFF");} break; {case '3': int pin(3); digitalWrite(pin, LOW); Serial.println(" Relay 2 ON");} break; {case '4': int pin(4); digitalWrite(pin, HIGH); Serial.println(" Relay 3 OFF");} break; {case '5': int pin(4); digitalWrite(pin, LOW); Serial.println(" Relay 3 ON");} break; {case '6': int pin(5); digitalWrite(pin, HIGH); Serial.println(" Relay 4 OFF");} break; {case '7': int pin(5); digitalWrite(pin, LOW); Serial.println(" Relay 4 ON");} break; } }}
Emmaly
Reviewed in the United States on July 19, 2012
Great with Raspberry Pi!This thing is super responsive. It's worth every penny and then some. It's been a great joy working with it. And the built-in LEDs (one per input/relay) help test the inputs.How do you use this thing? Connect VCC to +5v. Connect GND to ground. Connect any of IN1/IN2/IN3/IN4 to any of the GPIO/control pins. If the input LEDs don't light up, be really sure that you have VCC and GND connected correctly. Use a multimeter to verify this if you have one handy (and if not, buy one!). If you want to just test to see if the input works, connect any of the input pins to GND and it should cause the relay to click on and the LED for that input/relay to light up. If you don't get that, you did the VCC and/or GND wrong.If you're using this with a Raspberry Pi, all of these pins (GPIO, +5v, and ground) are on the P1 header. Assuming that the pin up against the P1 marker is pin #1 and the pin across from it is pin #2: +5v is pin #2, ground is pin #6, and then pick any of the GPIO pins. You'll have to look up the GPIO pins on a Raspberry Pi site since Amazon will strip out any links I put here. For example, GPIO4 is pin #7.By the way, this product is categorized as a toy but it obviously doesn't belong in this category. I would like to think that the person at Amazon that will be reviewing my review of this product will notice and do something about it. I shouldn't hold my breath.
Recommended Products