element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Relay board for Raspberry Pi?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 667 subscribers
  • Views 2602 views
  • Users 0 members are here
  • pi
  • raspberry_pi
  • adafruit
  • relay
Related

Relay board for Raspberry Pi?

alfredos
alfredos over 12 years ago

Hi,

 

I need to move about 10 relays off a Raspberry Pi for my home automation project. I can find easily ready made, inexpensive boards that will connect to anything at 5V, like an Arduino. But there doesn't seem to be much on offer for the Pi's 3V3 GPIO. My current best find is Adafruit's 3-to-5 and any 5V relay board off DX or so.

 

I am looking for a ready made board or ready to build kit, as compact as possible. Ideally powered off the 5V pin available on the Pi, but I can live with another P/S.

 

Any recommendations?

  • Sign in to reply
  • Cancel
  • mconners
    mconners over 12 years ago

    I had gotten some sain smart relay boards from amazon pretty inexpensively. They seem to work well. The relay fires on a low signal, and I read in the comments that it works fine with 3V, but I haven't tried it. The have them in several configurations, 2, 4, 8, 16, they may have a 10. Just go to Amazon and search for Sain Smart Relay and you should get a bunch of results.

     

    This is the one I have :

     

    http://www.amazon.com/SainSmart-2-Channel-Relay-Module-Arduino/dp/B0057OC6D8/ref=wl_it_dp_o_pC_nS_nC?ie=UTF8&colid=M760SG5PMAT8&coliid=I2GQZEOG05XYU1

     

     

    Hope this helps,

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago in reply to mconners

    BTW, I would still get some sort of buffer/driver to put in between it and the Pi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • alfredos
    alfredos over 12 years ago

    Hi, that board looks nice and has a fair price.

     

    Thinking about other options, how about SPI or I2C? Or even USB?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago in reply to alfredos

    I don't know of any relay modules that run off of USB or the others, but if you were going to go that route, get a cheap arduino that you configure to control the relays and control the arduino through the pi. You can get a leonardo or Uno from amazon for ~$20, or I have seen Arduino pro mini's for ~$15, simple solution, isolates the pi.

     

    Good luck,

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    I know of a pretty nifty board. It comes from China. Its cheap, easy to use, and comes with a disk containing a PDF file on how it operates. I have used them the past 4 years for a haunted attraction and have only had to replace 2. Heres a link: http://www.futurlec.com/AC_Opto_Output_4.shtml

     

    Shipping is the only down side, 2 weeks standard shipping...image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to mconners

    Hi couple questions...
    @Michael Conners: why is a driver/buffer needed? Are there dangers with relay boards?

    @Christopher Miller: Are those boards you gave the link to (AC Opto Output 4) better than using relays? If so why?

     

    Thanks and sorry for n00b question image

     

    Cheers!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago in reply to Former Member

    Not really dangers, but the relay boards are designed to run at 5 volts, it would be good practice to try and isolate the pi. I have heard they are not very forgiving of overvoltage and you don't want to blow up one of the gpio lines when you could stick a cheap buffer in the circuit.

     

    Mike

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to mconners

    A buffer would work well indeed! Thanks for the feed back image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to mconners

    Thanks Michael and Christopher. Any pointer where I could find some schematics and info about such type of buffer? Thanks again for the tips and clarifications image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Here's what you need.   A special Relay board shield for the PI that is just plug and play.

     

    http://www.robogaia.com/4-relays-raspberry-pi-plateshield.html
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube