Evil Mad Scientist Laboratories Evil Mad Scientist Laboratories

Making the World a Better Place, One Evil Mad Scientist at a Time

 
About EvilMadScientist  :  Buy Stuff  :  Contact  :  Forums  :  Links  :  Articles  :  Search  

Meggy Jr RGB

Meggy Rainbow

Meggy Jr RGB is a new kit that we designed as a platform to develop handheld pixel games. It's based around a fully addressable 8x8 RGB LED matrix display, and features six big fat buttons for comfy game play. The kit is driven by an ATmega168 microcontroller, and you can write your own games or otherwise control it through the Arduino development environment. Meggy Jr is fast, programmable, open source and hackable. And fun.



Standard Handles Batwing Handles (Smoke)

A unique feature of Meggy Jr RGB is that it is designed to be mounted inside a "handle set" -- a wooden or plastic case that's safer and more pleasant to hold than a bare circuit board. You can make, mod and customize your own handle sets to suit your taste-- These are like faceplates in that you can switch whenever you want to suit your mood or the game that you're playing, however different handle sets can radically change what the Meggy Jr looks and feels like. Above, you can see what our basic handles (left) look like, as compared to a set of custom smoke-colored batwing handles (right).

You can design your own custom handles, starting from our templates-- either to make them on your own or to have them fabbed by laser shops like Ponoko or Pololu. (Ponoko in particular offers some veryinteresting materials to make cases out of, like felt and bamboo!)

You can download the two handle designs shown above as PDF and Inkscape SVG files here (780 kB .ZIP file). Each handle design consists of a sandwich of two pieces of material that go above and below the circuit board. For a perfect fit, fab the front piece (the carapace) from 0.24" thick material (or slightly thinner), and the back piece (the plastron) from 0.12" (or so) thick material.

Hot Custom Meggy Jr

Above, a sweet custom handle set for Meggy Jr: Transparent blue carapace, transparent red plastron. The possibilities are... interesting.


Meggy Jr PCB

The Meggy Jr RGB printed circuit board, fabbed in white with black printing. A lot of the small components are mounted underneath the LED matrix display-- it's a big space saver. The two big chips under there are STP16DP05B1R LED driver chips. Up above the display are eight extra programmable LEDs that can be used for displaying extra data-- like lives, score, ammo, or level. There's also a little buzzer that can make appropriate bleeps buzzes and bloops, and a 16 MHz crystal oscillator.

Beyond the display, buttons, and interfaces, there are some less obvious features on the board. If you are not using the buttons at a given moment, those six inputs to the chip can be repurposed as analog or digital inputs or as digital outputs, and access points are provided. Also, the serial port TX and RX lines are not utilized while running the LED matrix, which means that they are available for turning Meggy into an ambient data device, or whatever else might come to mind. This is an open source hardware project, so you're welcome to hack it. Start by downloading the schematic here (64 kB PDF file). You can also download the circuit board design here (114 kB .ZIP file. The circuit board was designed in gEDA PCB-- free, open-source printed circuit board software.) We are releasing the design for this board under open source licenses and under a creative commons license as well.


USB-TTL connector

Meggy Jr RGB is designed to be programmed through the popular Arduino software environment, when you hook it up to your computer with an FTDI USB-TTL cable (shown above). This is the same programming arrangement that you'll find on some of the popular Arduino-compatible boards such as the Boarduino and Bare Bones Boards (not to mention Peggy 2.0). And of course, Meggy Jr RGB also supports programming through a regular AVR ISP (in-system programming) connection, such as the USBtinyISP.


Gameplay--Front

The first version of the Arduino library for Meggy Jr RGB has been uploaded and is now available as open source project through Google Code. This library provides fast interrupt-based screen redraw, multiple brightness levels, simple functions to write data to a video buffer, and example programs. (Additional example programs will be added soon.)

Colortests Disco Floor 2

The 8x8 LED matrix is able to produce a pretty good range of colors. While it's probably not suitable for displaying video (or true colors of any sort, really) it works extremely well for its intended purpose-- displaying brightly colored pixels for games or the display of information. This would make an excellent computer-controlled status display. Or disco floor for your Lego minifigures.


Meggy Jr RGB

Now blast those bits! Meggy Jr RGB kits are available at the Evil Mad Science Shop. If you make some interesting mods, we'd love to see pictures in the Evil Mad Science Auxiliary.




Quick Links

`
Meggy Jr RGB | 31 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Meggy Jr RGB
From: mightyohm on Wednesday, November 12 2008 @ 01:21 PM PST
I am completely blown away by this - you did an awesome job on this.

The laser cut handles put the whole project over the top.

Nice job!
  • Meggy Jr RGB - From: Anonymous on Wednesday, November 12 2008 @ 02:56 PM PST
  • Meggy Jr RGB - From: Anonymous on Wednesday, November 12 2008 @ 05:15 PM PST
Gorgeous
From: Anonymous on Wednesday, November 12 2008 @ 02:57 PM PST
The project is gorgeous, but I have to say a big thank you for the open source schematic. The STP16DP05 is exactly what I need for a system I am designing where I just couldn't squeeze enough 40mA pins out of an AVR.
Meggy Jr RGB
From: sammydee on Wednesday, November 12 2008 @ 04:08 PM PST
Ooh! Nice!

Accelerometer. Must. Add. Accelerometer.

:)

Ordering one today to play with. Fun!
Meggy Jr RGB
From: Anonymous on Wednesday, November 12 2008 @ 04:52 PM PST
Glad to see these for sale, they looked pretty cool at maker faire Austin. Just curious, where did the name "Meggy Jr." come from?
Meggy Jr RGB
From: Anonymous on Wednesday, November 12 2008 @ 05:04 PM PST
DO WANT
Meggy Jr RGB
From: Anonymous on Thursday, November 13 2008 @ 06:43 AM PST
Why is "B" before "A"?
  • Meggy Jr RGB - From: Anonymous on Thursday, November 13 2008 @ 12:32 PM PST
Meggy Jr RGB
From: Anonymous on Thursday, November 13 2008 @ 07:20 AM PST
Just wondering playing games like Pacman, snake, pong, arkanoid or other in those 64 Led's!!!
I can't program yet, but i have a LOT of ideas of tiny games or apps to put inside that ATmega168!!
I hope that a WIKI would be made for this game console, it'd be very very nice...

Greetings from Spain for this project!
Meggy Jr RGB
From: Anonymous on Friday, November 14 2008 @ 06:12 AM PST
Nice,

I wish we had something like TechShop around here. No chance of making something like that without tools :-(

The PCB looks very clean. I've read you used open source tools for creating the schematic and layout. I gave the geda rpms on opensuse a try, but I can't get the hang of it. There doesn't seem to be a unified GUI for the whole process starting at the schematic level. I'm lost in between too many different tools.

Was there a specific tutorial you used, or did you get used to it the hard way ?
  • Meggy Jr RGB - From: Anonymous on Friday, November 14 2008 @ 08:07 AM PST
Meggy Jr.
From: Anonymous on Tuesday, November 18 2008 @ 01:22 PM PST
I like that you guys are using a completely open-source layout and schematic program, but couldn't you have gone with something other than gEDA. I'm assuming your goal of going open-source is to reach as many people as possible, and therefore using a software that doesn't have a Windows operating system version ruins the whole purpose. I know that windows users can compile their own version of it, but only very few people could do that without proper instructions. I myself do own a Linux box, and have in fact compiled gEDA for Windows, so don't flame me as some "Stupid Windows User". I just thought that the whole point of open-source programs was to reach more people, and gEDA doesn't do that. If you still want to stay open-source, then I'd recommend something like KiCad, which will help everyone get you look at the beauty that is Meggy Jr.

That said, amazing job on the device, and I can't wait to get my hands on one(cant decide between batwing or normal style). Oh and where is the library for it, it was going to be released monday but I didn't see it anywhere... Please don't delay too long, I want to get working on an amazing game I've been thinking up. :)
  • Meggy Jr. - From: Anonymous on Wednesday, November 19 2008 @ 12:47 PM PST
Meggy Jr RGB
From: Anonymous on Sunday, November 23 2008 @ 12:29 AM PST
When will these start to ship? Ordered mine 11/12. Can't wait to get started!
Meggy Jr RGB
From: Anonymous on Sunday, November 23 2008 @ 03:31 AM PST
Hello.
Looks like a nice device to me :)
Have a question: what is the construction of the LED matrix? How can 1 LED have different colours?
Thanks :)

ps: sorry if i posted comment multiple times.
  • Meggy Jr RGB - From: Anonymous on Thursday, November 27 2008 @ 12:39 PM PST
Meggy Jr RGB
From: olafval on Wednesday, November 26 2008 @ 12:51 PM PST
Hey! Nice Job! Especially the design of the acrylic casing looks fantastic to me. I also thought about a laser cut shell for the Mignon Game Kit. Perfect: Now we have game kits in three scales of S, M and L with Mignonette, Mignon and Meggy.
Meggy Jr RGB
From: Anonymous on Friday, November 28 2008 @ 02:04 AM PST
I am working on a flash based emulator for the Meggy Jr... I really hope this will help spread the word and generate a bigger audience:

http://code.google.com/p/meggy-jr-rgb-emulator/
Meggy Jr RGB
From: audioodyssey.org on Saturday, December 27 2008 @ 07:29 PM PST
i would love to turn this into a muscial instrument like the tenori-on