Peggy 2 Projects

Peggy 2.0 is an open-source multiplexed matrix display of 25 by 25 LEDs from Evil Mad Scientist Laboratories. The display is driven by an ATmega168 microcontroller which can be programmed directly from the Arduino environment using a USB-to-TTL cable.

Several of these projects can be found in GitHub repositories.

Sketches

Chronodot Clock (GitHub repository)

Chronodot Clock
A Peggy 2 digital clock that uses a Chronodot to keep time. See this Evil Mad Scientist post for details on adding a Chronodot to a Peggy 2: Peggy 2: Adding a ChronoDot

This program is based on my original Peggy 2 Digital Clock program and it uses the Arduino-Chronodot library

Peggy Life Plus

Peggy Life Plus
A modified version of the original Peggy Life.

Modifications:

  • Hold down the “Any” button while entering edit mode to clear the display.

Digital Clock (GitHub repository)

Peggy Clock
Display the time and date on your Peggy 2.0.

Features:

  • Displays hours, minutes, seconds, month and day.

Libraries

Peggy2Render (GitHub repository)

Peggy2Render
A library that builds upon Peggy2Display to
draw pointslines,circles and sprites

Features:

  • Three drawing modes: Draw, Erase and XOR.
  • Draw to the current display frame buffer or a background frame buffer for page flipping.
  • Clipping allows sprites and shapes to be drawn partially offscreen
  • And more…

Peggy2Display (GitHub repository)

Peggy2Display
An interrupt driven display buffer Arduino library.

Features:

  • Simple to use – Include the library and create a PeggyDisplay object to initialize.
  • Adjustable refresh rate.
  • Create additional frame buffers.
  • And more…

Peggy2Buttons (GitHub repository)

Peggy2Buttons
An Arduino library for reading the state of the pushbuttons on Peggy 2.0.

Features:

  • Get the current state of all buttons.
  • Detect state transitions (pressed and released).

Links

Evil Mad Scientist Laboratories
Making the World a Better Place, One Evil Mad Scientist at a Time.
Arduino
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It’s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.