Random Building Lights

March 2018


I had a request for how to do building lighting with lights that turn on an off randomly to simulate an occupied building. I found a great sketch created by Dr. Geoff Bunza that does this quite well. Geoff is prolific author of Arduino projects for model railroaders and has been a great inspiration to me. One of his articles got me to take the jump into Arduino land. Thanks Geoff! This show is for you.

Parts required for this show:

  • 1 Arduino
  • 12 LEDS, preferably white but any color will work
  • 12 resistors, value of 300k to 1000k ohms
  • 1 push button switch
  • Jumper wires

Links:

Link 1 A link to the sketch hosted at create.arduino.cc

https://create.arduino.cc/editor/Mrltrains/8afb08f4-a3eb-414a-a1c5-d3fc5d5b5817/preview


Watch the workshop on Youtube