[Vince] teaches an Embedded Systems class at the University of Maine, and some of his students were working on video games for their finals. He decided to “test the hardware” that the students were using by putting two 8×8 displays, one 4×7 segment display, and a Wii Nunchuck on the I2C bus. He then wrote a version of Tetris that accepts trigger presses and accelerometer input for control. Judging by the video (embedded after the break), the Raspberry Pi runs the game without issue. The bus is, of course, more than capable of handling everything.
Unfortunately, [Vincent] had some trouble getting the controls just right. Sometimes dropping a piece can cause the next to drop too quickly, and the accelerometer control seems a bit too sensitive. We imagine using the joystick for rotation and adding some strategic pauses in the game could help. He graciously released the source code for the project, so maybe we’ll see some embracing and extending in the near future.
Continue reading “Wii Nunchuck-Controlled Tetris on a Raspberry Pi”
If all [Blake] wanted to do is scroll “Blake loves Kim” on some LEDs he could have stopped with the breadboard version of the project. Or hastily craft a cardboard heart around the marquee. But he really just used this heart-shaped electronics project as an excuse to get his feet wet with several different types of manufacturing.
The project started as a simple scrolling message pendant. Something along these lines. His very small LED module was being driven by an ATtiny85. He planned to run it from battery which is a perfect excuse to learn how to use the sleep functions built into the chip.
The initial design worked so well he decided to lay out his own circuit board. This made it quite simple to add in a side-positioned button to wake from sleep, and a coin cell battery holder on the back. He used OSH Park for board manufacturing — good thing they allow creative board outlines. To protect the circuitry he also ordered laser-cut acrylic plates that work in conjunction with stand offs to form a case.
He mentions he missed his Valentine’s Day delivery date by a long shot. But that’s how these sort of things go, right?
Continue reading “Heart-shaped project takes no shortcuts”
Simple tools used well can produce fantastic results. The hardware which [Gilad] uses in this project is the definition of common. We’d bet you have most if not all of them on hand right now. But the end product is a light box which seems to dance and twirl with every sound in the room. You should go watch the demo video before reading the bill of materials so that the simplicity doesn’t spoil it for you.
A wooden craft box serves as the enclosure. Inside you’ll find an Arduino board, microphone, and an 8×8 RGB module. The front cover of the project box diffuses the light using a sheet of tracing paper on a frame of foam board. It’s the code that brings everything together. He wrote his own particle system library to generate interesting animations.
If you don’t have a project box on hand this might work with an extra-deep picture frame.
Continue reading “Arduino particle light box generates animations from sound”
[Jason] has been hard at work on this Arduino-based low-res gaming platform. He even had a fab house deliver circuit boards to pull everything together. It’s a little small in his hands, and the graphics are limited to the 8×8 pixels provided by the display. But it still looks like a lot of fun and the code was written to make adding new games quite painless.
The board hosts an ATmega328 which drives the bi-color LED display using a pair of TPIC6B595 shift registers. Control is provided by a collection of buttons to either side of the display. The unit is powered by three AAA batteries held in a pack soldered to the back side of the PCB.
The image above shows [Jason] giving a Space Invaders game a try. The clip after the break shows respectable action, sound from a piezo buzzer, and it even scrolls your score at the end of the game. But you’re not limited to just one title. Adding new games is as easy as implementing a class in a new header file. You can get a feel for how this is set up by viewing the source code repo.
This reminds us of the Pixel Bros low-res system.
Continue reading “Prototyping a low-resolution handheld gaming rig”
This is the back side of [Dmitry Grinberg’s] 8×8 LED matrix pendant. He had seen the other projects that used a 5×7 grid but wasn’t really satisfied with the figures that can be drawn in that confined area when each pixel has only the option of being on or off. His offering increases the drawing area and includes the ability to display each pixel at several different levels.
He’s using an ATmega328 microcontroller soldered directly to the pins on the back of the LED module. He mapped out the IO in his firmware to make the soldering as easy as possible. To protect the hardware he fashioned a mold around the edges of the LED package using duct tape. The tape held epoxy in place as it hardened, encasing the microcontroller and holding the power wires and ICSP header tightly.
After the break you can see about six seconds of the device in action. The four levels of brightness for each pixel really do make quite a difference!
Continue reading “8×8 LED matrix pendant sealed in a block of epoxy”
[Greg] is really working on a small scale with his LED Matrix backpack PCB. It’s a toy that he designed as an activity. He constrained himself to a board which would exactly match the outline of an 8×8 bicolor LED matrix package.
What you see here is the side of the PCB which will be facing the underside of the LED dot matrix module. Let’s call this the top of the board. The underside has a CR2032 battery holder which provides enough juice to run the display. Since the matrix is bi-color there’s a slew of pins to drive. [Greg] uses three shift registers for the high side, and sixteen N-channel MOSFETS for the low side. He’s chosen an MSP430G2201 microcontroller which has a nice sleep mode for power conservation. It has no problem driving tri-color animations as seen the clip after the break, but also has an unpopulated clock crystal footprint if you wanted to use it as a timepiece.
Despite the small footprints and cramped board [Greg] still hand soldered all of the components. He even posted a time-lapse of the process in the page linked at the top.
Continue reading “Matrix backpack was a fun design project”
[Bill Porter] is helping a friend out by designing a simple security system for her home. It relies on Xbee modules to alert a base station when doors are opened, or a pressure mat is stepped on.
The door sensors are quite simple, and you’re probably already familiar with them. One part mounts to the door and has a magnet in it, the mating part mounts to the jamb and has a reed switch that closes a contact when the magnet is in place. The floor mat uses two sheets of conductive material separated by bits of foam. When it is stepped on a circuit is completed and can be sensed by the Xbee as a button press.
These sensors report back to an Arduino base station that has a buzzer and three 8×8 LED modules to scroll a message saying which sensor was tripped. [Bill] does a good job of showing what goes into configuring an Xbee network if you’ve never worked with the hardware before.
You’ll find his demo video after the break.
Continue reading “Xbee remote sensors tell you when someone enters your home”