Conway’s Game Of Life In HD

We’re going to have to take [Mike’s] word for it that he built Conway’s Game of Life with high-definition video output. That’s because this screenshot is his only proof and it looks a bit fuzzy to us. But we are interested in the project which used an FPGA to generate a 1080p VGA output of the classic programming challenge.

One of the biggest benefits of using an FPGA for this application is the hardware’s parallel processing ability. For every frame of the game, the area around each living cell must be analyzed to produce the next evolutionary step. Most of the time this means processing all of the pixels in the playing area, which is the case here. [Mike] is using VHDL to program a Papilio Plus which has a Spartan 6 chip on it. He separated his code into the different components when writing about it. This makes it easy to find the chunks relating to the game if that’s what you’re interested in. If you just want to see how he implemented the VGA interface that’s well documented as well.

If you’re not familiar, Conway’s Game of Life has simple rules regarding when a cell will live, die, or be reborn. As [Mike] points out, every programmer should give it a shot at some point. We’ve seen many iterations from the very large to the very small.

A Charlieplex Display And A Board Layout Tip

[Ben] is getting himself up to speed with microcontrollers. He jumped into the deep end by taking on this Charlieplex LED matrix build. As you can see after the break, he not only made the display work, but coded Conway’s game of life to run on the ATtiny85 that drives the device. What you see above is the prototype version that [Ben] used to make sure he had the hardware just right. He’s seeing the project through to a manufactured board and this is where the layout tip comes from. In order to make sure he had enough space for all of his components he printed out the board artwork, taped it to some Styrofoam, and then inserted all of the through-hole parts. Now he can be sure that physically the design works, we’ll keep our fingers crossed that everything is also kosher electrically.

Continue reading “A Charlieplex Display And A Board Layout Tip”

How To Build A Ping-pong Ball Display

If you’ve been lusting after your own glowing display we’re here to help by sharing some simple building techniques that will result in an interesting project like the one you see above. This is a super-accurate clock That uses ping-pong balls as diffusers for LEDs, but with a little know-how you can turn this into a full marquee display. Join me after break where I’ll share the details of the project and give you everything you need to know to build your own.

Continue reading “How To Build A Ping-pong Ball Display”

Falling Sand Game On An FPGA

This falling sand game runs on a field-programmable gate array. The Altera Cyclone II resides at the heart of that development board, running the game which was written in Verilog. [Skyler Schneider] modeled his project after a Java version of the game called Pyro Sand Game. He treats each pixel of the 640×480 VGA screen as its own cell, following a set of rules to change the cells around it. This is very similar to Conway’s Game of Life, except that there are different categories of cells that behave uniquely (oil, water, plant, fire, etc.) and gravity is a key factor. Of particular interest to us were the rules for each cell, and the method [Skyler] used to feed and sync the VGA output. After the break you can see his demonstration videos, which walk through all of the features including the Troll button.

Continue reading “Falling Sand Game On An FPGA”

Update: 6809 Computing

[Matt Sarnoff] is designing his own 8-bit computer from scratch. This means not only designing the hardware but also writing his own kernel and custom libraries. Since we last saw this 8-bit machine hes added both video and sound output which has allowed him to start developing some software for his computer (see it play Conways game of life after the break).

Sticking with the retro theme of his computer he uses a TMS9918 chip to output the video and a YM2149 for audio. The YM2149 was the audio chip used in the Atari ST allowing him to play songs generated for that system with a little bit of hacking to account for the fact that the Atari ST ran at 8MHz where his Motorola 6809 only runs at 2MHz.

Via [Retro Thing]

Continue reading “Update: 6809 Computing”

Communicating With An LED Matrix

Most of the LED matrix posts we run delve into the hardware design. This time around [J Bremnant] used prefab modules and focused on writing code to address the display. The hardware combines two 24×16 LED boards from Sure Electronics with a Teensy 2.0 to drive the display and provide a USB connection. The firmware comes in just under 8k, leaving graphic manipulation up to a PC.

[J Bremnant’s] Python script offers a lot of flexibility when working with the display. There are three modes selectable through a terminal interface. One just tests the display and then drops into Conway’s Game of Life. The second mode lets you send commands via serial interface so it can be used as a message ticker. The final feature is frame addressing that allows graphics to be dropped into the display. See each of these featured in the video after the break.

Continue reading “Communicating With An LED Matrix”

Todays Arduino Moment

We have gotten a number of Arduino tips in the last couple days, and we thought we would combine them for your convenience. The first tip we received was for some hints provided by [Bill] on some digitalWrite() alternatives. Similar to some previous research we covered, this tip also includes some tips on how to make the direct register writing a little easier by using #define to simplify things. Obviously this wont be as idiot-proof as digitalWrite() is, but we think you can handle it.

Our second tip is for a set of OLED displays from 4dsystems sold as Arduino Shields. They have a couple of different sizes from .96″ to 1.7″, depending on your needs and budget. There is no official display library for them yet, but 4dsystems have been kind enough to provide a few resources to work from. Hopefully we’ll see a few great applications from this, maybe a much bigger pixel Mario? A much smaller Game of Life? Feel free to send us your projects, or leave your ideas in the comments!