by l3v3rz » Sun Dec 06, 2009 2:48 pm
by l3v3rz
Sun Dec 06, 2009 2:48 pm
Actually that was me.
This uses a PIC 16F627 chip to connect to the power (red and black wires you can see - yellow was a signal line I don't use any more). Then 10 of I/O lines are connected to one side of BAR LED. I common the other side of the LED pins together and via a resistor to earth. I also have an IO line connected to a piezo transducer, and two more connected to the TX/RX lines and via wcK cable into the RBC unit. This enables me to control which LED are on /off and sound/tone produced via the on board unit using Homebrew OS.
Hardware-wise it's all built on veroboard - total cost under £10. Although you do need a PIC programmer as well. Software its used SDCC C compiler - which is a bit clunky. For the future I'm think of adding a Analog servo to control the head of another PIC port and building a single board including the IR and PSD sensors, rather than having a separate board at the moment.
l3v3rz
Actually that was me.
This uses a PIC 16F627 chip to connect to the power (red and black wires you can see - yellow was a signal line I don't use any more). Then 10 of I/O lines are connected to one side of BAR LED. I common the other side of the LED pins together and via a resistor to earth. I also have an IO line connected to a piezo transducer, and two more connected to the TX/RX lines and via wcK cable into the RBC unit. This enables me to control which LED are on /off and sound/tone produced via the on board unit using Homebrew OS.
Hardware-wise it's all built on veroboard - total cost under £10. Although you do need a PIC programmer as well. Software its used SDCC C compiler - which is a bit clunky. For the future I'm think of adding a Analog servo to control the head of another PIC port and building a single board including the IR and PSD sensors, rather than having a separate board at the moment.
l3v3rz