Peggy 2 Projects

Posted by

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.


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.


  • 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.


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


Peggy2Render (GitHub repository)

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


  • 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)

An interrupt driven display buffer Arduino library.


  • 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)

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


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


Evil Mad Scientist Laboratories
Making the World a Better Place, One Evil Mad Scientist at a Time.
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.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.