Interactive LED matrix project based off the Peggy2 board (http://www.evilmadscientist.com/2008/peggy-version-2-0/) consisting of two parts:
- A Peggy2 LED matrix board (http://www.evilmadscientist.com/2008/peggy-version-2-0)
- Arduino Diecimila (https://www.arduino.cc/en/Main/arduinoBoardDiecimila)
The Peggy2 LED board has 625 addressible LEDs (25 x 25) with 16-level brightness capability. This project involves sending serialized byte arrays (frame buffers) via USB to an Arduino acting as a TWI/I2C master device, which then transmits the data over 3-wire TWI/I2C to a modified Peggy2 board for real-time display.
#Installation + Setup These instructions have been compiled from the firmware README provided by Jay Clegg and my own setup steps. ###Firmware Installation (Peggy2 board) The Peggy2 LED board must be configured as a TWI/I2C slave device. See the README for installing firmware code on unmodified Peggy2. ###Wiring See Hardware Interfacing Instructions ###Serial Receiver Setup (Arduino) #####Test Pattern Using the Arduino development IDE, upload the TwiSendTestPattern sketch to the Arduino. Confirm the test pattern is displayed on the LED board. #####Serial Receiver Using the Arduino development IDE, upload the Serial2TwiPeggy sketch to the Arduino. This sets up the Arduino to receive serial input from a computer via USB.
###Serial Sender Setup From a PC (or Raspberry Pi), run the peggytest python script, taking care to change the serial port to the correct value.
- Jay Clegg (http://planetclegg.com/projects/Twi2Peggy.html)
- Evil Mad Scientist (http://www.evilmadscientist.com/2008/peggy-version-2-0/)