VOTE NOW!
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Design 1/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Usability 2/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Creativity 3/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Content 4/4

Home Automation + LED Controller


Raspberry Pi Relay & APA102 LED controller allows control & switching of APA102 addressable LED strips (and LED driver) using a web GUI. Motor controller functionality is also built-in to control hard-wired home automation type blind / projector screen motors. Ideal for use in home cinema applications. Unlike regular "dumb" RGB strips, addressable strips have independently controlled LEDs, allowing for the creation of light effects & sequences.



Features


  • APA102 LED control
  • 2x changeover relay control
  • 2x mains AC input detection
  • Motorised blind / projector screen control
  • 2x TTL inputs for external buttons


Motivation


This project was created for use in my own home cinema build. I wanted a single-room home automation solution that would offer addressable RGB control, with the ability to directly switch a mains AC powered LED driver. Additional relay channels where added to the prototype to allow other circuits to be switched using the controller, such as spotlights. The motorised blind control relays were added into the design during my home cinema build.

Home cinema build log: https://www.avforums.com/threads/ongoing-plasmadans-living-room-cinema-office-build.1992617/


Responsive Web GUI



The GUI includes controls for the changeover relay channels, motorised blind / projector screen, a full RGB color picker for the APA102 LEDs and a preset control to cycle built-in light modes / effects. There is also the ability to reboot the Raspberry Pi directly from the GUI, making development & testing easier for your application.

Built on bootstrap 3; the GUI is fully responsive and adapts to any screen size / orientation.


App Features


As well as support for mobile devices, the GUI includes modern manifest data to allow it to work more like a native app. This means when you save the GUI to the home-screen it will load & function without an address-bar, just like an app.


Chrome Extension


The specially created Chrome extension makes the web GUI even easier to use on desktop, allowing for GUI control without the need to leave the current web page. The Chrome extension also provides the ability to map keyboard shortcuts to each function of the web GUI, including toggle on / off, LED preset & blind control.

https://chrome.google.com/webstore/detail/apa102-led-controller/jnmjhaaahpdapgcddlgaldjhapmoapje


Wiring


The controller offers a single-room home automation solution with the ability to directly integrate with existing 2-way (3-way if you’re outside the UK) lighting circuits. With built-in changeover relays, a standard 2-way and even additional intermediate switches can be used to control the lights without replacing any light switches or running any additional cables.



Full documentation and source code available on GitHub.

https://www.avforums.com/threads/ongoing-plasmadans-living-room-cinema-office-build.1992617/

Bill of materials used in this project

X2 Rated Suppression Capacitor
2
Generic 5mm LED
1
26 Way IDC Straight Boxed Header
1
2-way 5.08mm Pitch Terminal Block
1
3-way 5.08mm Pitch Terminal Block
7
1.1A Resettable Fuse PTC
1
100 Ohm 0.25W Metal Film Resistor
2
220 Ohm 0.25W Metal Film Resistor
1
1K Ohm 0.25W Metal Film Resistor
6
1.2K Ohm 0.25W Metal Film Resistor
4
47K Ohm 0.25W Metal Film Resistor
2
470K Ohm 0.25W Metal Film Resistor
2
74AHCT125 Quad Level-Shifter
1
BZX55C5V1 0.5W Zener Diode
2
G2RE 5VDC 16A SPDT Power Relay
3
KSD240D5R-W or CX240D5R 5A Solid State Power Relay
1
1N4007 1A 1000V Rectifier Diode
2
P2N2222 NPN Transistor
6
SFH615A-2X Optoisolator
2
10uf 16V Electrolytic Capacitor
1
220uf 16V Electrolytic Capacitor
2
Raspberry Pi Mobel B+ or Higher
1
26-way to 40-way Ribbon Cable Adaptor for Raspberry Pi
1
Oct 26,2020
925 viewsReport item
  • Comments(0)
  • Likes(3)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
    View More
    VOTING 1 votes
      • 2
        design
      • 3
        usability
      • 4
        creativity
      • 8
        content
      4.25