Skip to content
Arduino code to go with lightwall.
Arduino
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LightDuino.ino
README.md

README.md

LightDuino

LightDuino is the Arduino complement to lightwall.

LightDuino connects to lightwall via a TCP connection over WiFi. lightwall then pushes RGB values to LightDuino which are then output via DMX. The end result is an illuminated wall at TinyFactory.

LightDuino takes advantage of the ProtoShield, Arduino DMX, and WiFly sheilds.

The ProtoSheild is needed to connect pin 7 with the reset pin so the Arduino can reset itself whenever the heartbeat from the node.js server stops.

Usage

The SimpleTimer, DmxSimple, and WiFly-Shield should be in your sketches/libraries folder.

Another file, 'Credentials.h' is required before LightDuino can start working. It should look something like this:

#ifndef __CREDENTIALS_H__
#define __CREDENTIALS_H__

// Wifi parameters
char ssid[] = "SSID";
char passphrase[] = "PASSPHRASE";

#endif

Issues

Currently, the baud rate is only set at 9600. This becomes a problem when the color is updated frequently and a buffer overflow occurs. I'm working on a fork of the WiFly-Shield library to increase the baud rate.

If the Arduino loses connection to lightwall, it needs to be restarted in order to reconnect. Hopefully I will be able to address this by modifying WiFly-Shield.

Something went wrong with that request. Please try again.