Author Topic: Stand-alone Scalable FPP using GPIO Relays  (Read 1715 times)

Offline oceanwanderlust

  • Newbie
  • *
  • Join Date: Sep 2015
  • Location:
  • Posts: 46
  • Kudos: -1
Stand-alone Scalable FPP using GPIO Relays
« on: November 24, 2015, 09:42:34 PM »
Here's a stand-alone FPP controller/player I built to turn old-school strings of christmas lights on-and-off.

I used an 8 channel relay board from ebay connected directly to the Pi GPIO ports with a re-purposed IDE ribbon cable.

It's rather simple compared to the other lighting setups on this board, but I am building a few of them and plan to create a network of synchronized neighbors!

let me know if you have any questions or want more details about my setup

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,939
  • Kudos: 142
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #1 on: November 24, 2015, 09:50:47 PM »
Glad it's working for you.

Keep in mind that those relays are not rated for a high duty cycle turning on and off constantly.  You will be better off in the long run to invest in a Solid State Relay (SSR) board rather than one with physical relays.
-
Chris

Offline Chevyboy67

  • Newbie
  • *
  • Join Date: Feb 2016
  • Location:
  • Posts: 5
  • Kudos: 0
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #2 on: February 08, 2016, 01:31:33 AM »
Forgive me for asking but what is the black USB device you have on the right hand side there?

Offline gadgetsmith

  • Hero Member
  • *****
  • Join Date: Apr 2014
  • Location: Charlton, NY
  • Posts: 907
  • Kudos: 14
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #3 on: February 08, 2016, 04:39:19 AM »
Forgive me for asking but what is the black USB device you have on the right hand side there?
That appears to be a usb hub with a Wi-Fi dongle, and a usb thumb drive. Many people like to use powered usb hubs in this way. It eliviates power problems on the usb ports.

Offline oceanwanderlust

  • Newbie
  • *
  • Join Date: Sep 2015
  • Location:
  • Posts: 46
  • Kudos: -1
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #4 on: February 08, 2016, 10:25:43 AM »
Yes, that was a USB hub with an Edimax WiFi and SanDisk 8Gb USB . The hub added $15-$20 to the cost but did not help the reliability. The biggest revelation was when I realized that I could just power the Pi from the 5v I was supplying the relays.

I've attached pictures of 2 more FPP nodes; I had 4 total including one on my roof which never needed to be touched after installation. The ones with GFCI tripped whenever it rained, so on future builds, I'll put the Pi upstream of it to minimize the risk of corruption.

I also wrote a quick WebView app in Basic4Android which let my neighbor easily pull up the FPP webpages and start sequences without having to goto a laptop and remember an address.

Offline mickali

  • Newbie
  • *
  • Join Date: Nov 2016
  • Location:
  • Posts: 5
  • Kudos: 0
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #5 on: November 10, 2016, 02:23:36 PM »
hi,

I did the same thing as you, I plugged my pi directly on my relay card and then transferred my file (vixen converted by xlights) to ffp and my relays do not turn on. I did the same test with led and with the led it works.
What do not I do correctly?
Thank you for your help.

Offline Yamr6rider

  • Full Member
  • ***
  • Join Date: Jan 2017
  • Location: Florida
  • Posts: 102
  • Kudos: 2
  • Here we go!
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #6 on: January 22, 2017, 08:52:53 AM »
let me know if you have any questions or want more details about my setup

How did you set up your Pi''s GPIO pins in Xlights?
Jon

Working on my first year display:
 1 - Raspberry Pi3,  1 - Falcon F16V3,  3 - 30A 360W PSU's, 1200
12v Pixels - Mounted in 3/4" SCH40 PVC (3-1/4" spacing), and 3 pixel strip arches.

Offline 67comet

  • Newbie
  • *
  • Join Date: Oct 2017
  • Location: Roy, UT
  • Posts: 5
  • Kudos: 1
  • Look slow, go fast, and act surprised.
    • Justin's Blog Hole
Re: Stand-alone Scalable FPP using GPIO Relays
« Reply #7 on: November 08, 2017, 11:42:50 AM »
I'm also trying to use xLights to setup my GPIO to 8 relay board. And more info on how this is done? Youtube doesn't have much (has one I found, but he's using a single relay and not in the most expandable way).
Linux abuser, FoMoCo driver, and Gov't worker.

 

Back to top