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”

Developing A Sega Game Gear Flash Cartridge

[Gerry O’Brien] tackled his most recent project, designing a flash ROM cartridge for the Sega Game Gear, with great success. Above you can see the test rig he used to reverse engineer the communications between an original ROM chip and the circuit board that it came on. He removed the chip, soldered a ZIF socket to the pads, then used a DIP socket as an adapter for that chip. Connected to each pin is a test lead for a logic analyzer. That’s a heck of a lot of channels to decipher!

It turns out that the cartridges use Integrated Mapping (does anyone have a link explaining this?) so dropping in a flash memory chip is not an option; you need a memory bank controller. [Gerry’s] solution to this issue is twofold: you can etch your own board with a controller chip and ZIF socket for the flash chip, or you can modify a Sega Master System cartridge to use as an adapter board. We’ve got pictures of both methods after the break, as well as his five instructional videos walking us through the fabrication process.

This isn’t [Gerry’s] first time working with flash cartridges. We looked at his work with Game Boy ROMS earlier in the year.

Continue reading “Developing A Sega Game Gear Flash Cartridge”

RepRapped Transistors

[Mr. Kim] and [John Sarik] made a presentation(pdf) at last weekend’s Botacon conference on how they made organic field-effect transistors (OFETs). A wooden RepRap, the fancifully named Unicorn from Makerbot (or printed from Thingiverse), hacked felt pen, a handful of chemicals, and a couple of pieces of lab equipment were needed to print (plot) out transistors. We were unable to attend the conference, so this is what we inferred from the slides. Silver ink is printed onto a glass slide to form the gate regions, cured and partially masked-off. A layer of CP1 Resin is spin-coated onto the slide to form the dielectric barrier between the gate and the semiconductor, the drain, and source regions. Silver ink is once again used, this time to print out the drain and source regions. The last thing printed is P3HT dissolved in toluene to form the semiconductor region. It would be interesting to see this process modified so that all coatings and curing can be done without removing the slide from the printer.

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”

Garage Monitor Has An Extra Arduino

[Jody] wanted to know when his garage door was open. He details his setup which uses a temperature sensor read by an Arduino to send over XBee radio to a computer running a Windows Service. We have seen this twice before, and is noteworthy as a lesson. The XBee radios have the ability to read analog data, relay digital signals, and a lot more. This means the Arduino is completely unnecessary. For example, the Tweet-a-Watt uses two of an XBee’s ADCs to measure voltage and current in a Kill-a-Watt power meter. Programming an XBee is really simple, with the help of tutorials from SparkFun and Adafruit. A bit of programming and soldering should get [Jody] back his Arduino. We hope this note will help you find more creative uses of XBees without microcontrollers.

[Via Make]

Inventing Robot Athletes

The human body is an amazing instrument from an engineering standpoint. Replicating just one part of it proves extremely difficult but these athletic legs show a lot of promise. This is the work of a Japanese researcher named [Ryuma Niiyama]. He’s been working on the design for years, and is now using pneumatic actuators to mimic the muscles in a human leg. The lower portion of the leg uses a spring mechanism that resembles some running prosthetics currently in use. These serve as a spring to store energy and reuse it by bouncing against the ground. He’s trying to teach his robot to use these legs; taking it through a learning process necessary to use the thigh actuators for locomotion and balance. We were surprised at how life-like the motion in the video after the break is. Even when falling down the movements are very life-like.  We thought the movements of Little Dog were real enough to be creepy, and this robot may be close enough to our own mannerisms to fall into the uncanny valley.

Continue reading “Inventing Robot Athletes”

Make Your Own Minimalist AVR ISP

Giving a programmer is a great way to get people started in microcontrollers so If you want a cheap simple AVR programmer this might just be what you’re looking for. It combines the V-USB firmware, USBtiny software, a few resistors, and some zener diodes. An interesting trick using this programmer is if your trying to program another 8 pin ATtiny you can use some tape to isolate the USB data pins and then piggyback the target ATtiny on the programmer.

Unfortunately in order to flash the ATtiny for your programmer you need a working programmer so it’s somewhat of a catch-22.  Make sure your careful when setting the fuse bits because it will use the reset pin making it hard to reprogram without additional programming hardware. AVRs in general are a great way to start using microcontrollers so if your interested give out tutorials a go. You’ll find some tips to get started in addition to information about using an Arduino, or a DAPA cable to flash the firmware to this chip.