Version 5 of the Aurora LED wall project.
||LEDs ▶︎|LED Controller ▶︎|Node.js server ▶︎|Web app| |-|-|-|-| |Function|Display patterns|Communicate with LEDs|Generate patterns|Control pattern parameters| |Hardware|WS2812/Neopixels, Adafruit LED matrix, WS2801, etc.|FadeCandy board, SmartMatrix board, etc.|Raspberry Pi, BeagleBone Black, etc.|PC, smartphone, tablet, etc.|
- Raspbian
- Flash SD Card
- Update apt-get
sudo apt-get update
-
Install Node
-
wget http://nodejs.org/dist/v0.10.16/node-v0.10.16-linux-arm-pi.tar.gz
-
tar xzvf node-v0.10.16-linux-arm-pi.tar.gz
-
sudo mv node-v0.10.16-linux-arm-pi /opt/node
-
node -v (to make sure the version is 0.10.16)
-
Install Aurora
-
git clone https://github.com/gregfriedland/AuroraV5.git
-
cd AuroraV5
-
npm install
-
Install Aurora to start when the system boots
- Serial version
sudo cp AuroraV5/system/aurora-serial-init.d /etc/init.d/aurora-serial
sudo chmod 755 /etc/init.d/aurora-serial
sudo update-rc.d aurora-serial defaults
- Fadecandy version
cp AuroraV5/system/aurora-fc-init.d /etc/init.d/aurora-fc
chmod 755 /etc/init.d/aurora-fc
cp AuroraV5/system/fcserver-init.d /etc/init.d/fcserver
chmod 755 /etc/init.d/fcserver
-
Setup Raspberry Pi Camera V4L2 driver (so )
-
Follow instructions here
-
Reboot
-
Optional for Rasperry Pi
-
Comment out this line in node_modules/serialport/serialport.js which is slowing things down:
//debug('Write: '+JSON.stringify(buffer));
Notes
- To get it running on two side by side SmartMatrix panels for 64x32, I used the rgb48 branch of my SmartMatrix fork and overclocked the Teensy 3.1 to 144Mhz.
Work in progress
- Trigger program with opencv face detection
- Get color speed working