March 11th, 2009

Micro Pong game

micro pong game

Looking at the schematic and the firmware this is probably the most compact pong game project, the PIC12F675 has only 6 pins which can be used, an very small flash and ram resources, only 64 byte of RAM!

The TV output is PAL, no other format is supported, the game is controlled with two consoles made of potentiometer and push button, both dual and single player mode is available with two speed option, the small hardware has even an audio output which sends outs the beeps.

The source code is written in assembler language and highly optimized yet reasonable commented, but I don’t recommend reverse engineering it, it is easier to read the authors documentation.

This project shows the real power of assembler language if used properly, this doesn’t mean that every project should be implemented in assembler language, but if space and speed requirements are scarce, then it’s the only solution.

Micro Pong game: [via] [link]

Temperature sensing LED glowies

The Glowies use a small microcontroller, but they are really quite simple in both parts and function. The core of the unit is a silicon diode used as a temperature sensor (actually, two of them). This is very simple, and is very well-understood application – and you can’t get much cheaper!

The electrical characteristics of a silicon diode changes depending on temperature. Specifically, the forward voltage will change depending on the temperature. It’s not much, but it’s enough to measure.

The microcontroller used (PIC12F675) has built-in Analog-to-Digital convertors. These are used to measure the forward voltage of two identical diodes. One of the diodes sticks out a little from the Glowie and serves as the main temperature sensor. The other diode is lightly insulated from the ambient temperature. This makes it slower to “catch up” to temperature changes. Temperature changes are detected by comparing the main sensor to the insulated one

Temperature sensing LED glowies: [Link]

 PIC12F675 Magnetic Card Reader (for track2 credit cards ) assembled on pcb

Bernie writes: The PIC12F675 looked like a good match for this project. The pair of 10k resistors on GP0 and GP1 are to allow in-circuit programming via a protoclip. RS-232 levels are generated by robbing the negative voltage from the computers transmit line (which is not otherwise used here), and creating usable signal levels from the device to the computer. For schematics and source codes visit the projects page.

PIC12F675 Magnetic Card Reader (for track2 credit cards ): [Link]



© 2007-2011 YourITronics | Any logo, trademark and project represented here are property of their respective owners | Wordpress | Privacy Policy    RSS