Alex Weber over at Instructables built a great programmable LED based on the AVR chip.Β Since I am tooled for PIC, I thought it would be fun to replicate what he has done. This simple project is fun and it provides a great building block for playing with collective behaviors.
This is a How-To for constructing a PIC-based programmable LED.
Following Alex Weberβs post on Instructables on 6 March 2007, I cre-ated a programmable LED on a PIC 12F683. The recorded sequence is saved to EEPROM, so it is retained when power is removed from the PIC. The software includes input codes for playing a stored sequence or recording a new sequence. Also included is a description of a simple SOIC chip package prototyping board.
Introduction
When I saw Alex Weberβs AVR Programmable LED[1], I knew I had to
build one for myself. It was immediately clear to me (and to others, see the
comments on the Instructables post) that this was a great building block for
playing with collective behaviors. Once the basic unit is created, it can be
replicated quickly. Each unit has input and output and the use of the LDR-visible LED combination for makes it possible for units to communicate and humans to watch.
Download detailed instructions and software LEDRec.c, LEDRec.h, LEDRec.hex for a PIC-based programmable LED.
For more Detail: pic12f683 Microcontroller based Programmable LED