sowbug / G35Arduino

An Arduino library for GE Color Effects G-35 holiday lights.
Other
64 stars 24 forks source link

Introduction

G-35 Lights, Green Read the blog post that started it all.

This library makes it easy to replace the controller in GE Color Effects Christmas lights with an Arduino, and to run much better light programs. If you can program C or Processing, it's pretty easy to make new programs, too!

See a demo. There is also a not-awful professional demo of the original, unmodified hardware.

Features

Requirements

Installation

  1. Download this project from GitHub as a ZIP file.

  2. In your Arduino IDE, look for Sketch → Include Library → Add ZIP Library …, then select the ZIP file you just downloaded.

  3. Look for the new G35Arduino submenu in your Examples menu.

  4. Upload the BasicExample sketch to your Arduino. You should see the pin-13 LED flicker as the sketch tries to send data to your lights.

  5. Chop off the stock controller on your lights, being careful to note the function of the three leads from the first light (from left to right looking at the first light pointing upward, they're V+, DATA, and GND).

  6. Put V+ on the Arduino 5V pin, GND on the GND pin, and DATA on pin 13, and your lights should come back to life!

I've been happily running two strands on my house directly off the Arduino (i.e., not using the stock power transformer) with an old USB power supply rated 5V/1A from a Kodak Zi8. Your mileage may vary.

Contributing

Source-code contributions are welcome. If you think you might contribute improvements back to the project, git clone into libraries/ instead of unzipping, and to avoid going insane, check the "external editor" option in the Arduino IDE and use a text editor directly on the library source.

We try to follow Google's C++ coding standards: 2 spaces, no tabs, 80 columns, and follow the existing naming/capitalization conventions in the code.

Further Reading

Credits