Raspberry Pi Used to Control Layout Lighting?

Doorgunnerjgs Aug 29, 2017

  1. Doorgunnerjgs

    Doorgunnerjgs TrainBoard Member

    424
    391
    9
    Is anyone using Raspberry Pi to control the lighting of buildings, street lights, yard lights, etc.? Was finally playing around with mine last night to turn on and off a LED. Got to thinking that it would be pretty cool to use it to turn on (and off) lights in sequence both in overall structures and within them. For example porch light goes on, hall light goes on, porch light turns off, kitchen on/off, bedroom on, hall off, etc. At the same time street lights go on in block sequence.

    Would love to see some examples of code, hardware, and lighting in action. Would a capacitor allow a ramp up from off to dim to full, or would something else be needed?
     
  2. drken

    drken TrainBoard Member

    276
    54
    12
    If you're just going to be controlling LEDs, you'd probably be better off just using an Arduino or similar microprocessor. They're cheaper and much simpler than a Rasp Pi. You could program in any variations in brightness or flashing you want, no capacitors necessary.
     
  3. Doorgunnerjgs

    Doorgunnerjgs TrainBoard Member

    424
    391
    9
    Thanks, drken. Was thinking about using the Pi to control multiple Arduino processors. Central control but offloading the details. Would possibly ease wiring with central com bus and mini hubs outlying.
     
  4. lnxlnx

    lnxlnx TrainBoard Member

    24
    19
    5
  5. Doorgunnerjgs

    Doorgunnerjgs TrainBoard Member

    424
    391
    9
    Cool, should have thought to look at mrh. Some great ideas there.
     
  6. Doorgunnerjgs

    Doorgunnerjgs TrainBoard Member

    424
    391
    9
    So, a year and a half later and I've gotten the Arduino bug. With a lot of help from Geoff Bunza and others, I've learned a lot about using the Arduino Uno and Nano. The sequencing processing I talked about in my first post in this thread has become a reality, at least on the prototype board used for testing. I'm planning on installing it in some kind of building in the future by putting a Nano board in a basement of a building. Will use a simple power on sequencing start. Really amazing stuff!
     
    BNSF FAN likes this.

Share This Page