First steps into connected lamps

Posted by Genesor on May 6, 2016

Connecting my Infrared lamps


One of my hobbies is to connect things. I’m currently owning three types of Phillips Hue lamps, but as you know those lamps are already connected so there is almost no challenge to use them with a web UI or a mobile app.

What I want to do is to “connect” some of my infrared generic lamps to my Raspberry Pi using LIRC and Go. Then I’ll be able to interact with the lamps using an API and a Web UI (maybe an iOS app if I’m brave enough)

I’ll start by connecting the three following lamps, a multicolor LED bulb and two multicolor table lamps

The three lamps i’m trying to connect


Schematic:

IR electronic schematic

The basic schematic of my IR receiver/emitter available here

I intend to use the GPIO 8 to read the incoming IR signals from the different sources and the GPIO 1 to send the signals. To do so I only need to have the good LIRC configuration.


Parts:


External ressources:
  • 123D Circuits Raspberry Pi B+ GPIO - link
  • 123D Circuits Schematic - link
  • Golang - link
  • LIRC - link