This is a tutorial on how I made my first pack lights. This guide has been on my blog here for a long time, I just haven’t posted it in here yet. Today is my birthday, and my gift to myself is giving you this tutorial to maybe help at least one buster and make me feel like a better person.
When I made these I had no formal training on this stuff, I just happened to have a PIC programmer from flashing mod chips. So I learned a little assembly and, after many hours of tinkering, here is the result.
Might seem daunting to the electrical newcomer, but it can be done, just check out GBFans member AlmightyCornDogg’s lights turned out: http://www.youtube.com/watch?v=LKvT2pCJFHs
And here’s a video link to what mine look like: Community Videos - GBFans.com | GBFans.com
This only covers the blue power cell lights and and red cyclotron lights. They are actually independent chips so you can use one or the other or both.
What you need:
-
PIC programmer. I bought serial JDM programmer on eBay.
-
PIC 12F509 (cyclotron)
-
PIC 16F628A (power cell)
Note: you can also use 12C509, but beware those are not rewritable.
-
12 blue LEDs (got mine on eBay)
-
4 red LEDs (eBay again)
-
appropriate resistors for each LED (a very wide range of resistor values will work, I usually use 220ohm)
-
a breadboard is nice when working this stuff out
-
free flashing software. I like PICPgm for the 16F628a and PICProg4U for the 12F509.
Download the HEX file, source code, the bottom side of the main PCB, and a crude pinout HERE
I used the laser toner and hot iron method to make my prototype. Go to Instructables.com and run a quick search for “etch pcb” and you will find many methods of etching a circuit board.
I don’t have a single sided PCB PDF for the power cell mounting, I made mine on some perf board. It is very crude.
For each pin on the PIC that will control an LED, the wiring goes like this:
PIC pin > resistor > +LED- > ground (negative on battery or PIC).
All the negative LED pins are connected. I’ll get a schematic up here some day to make it easier.
Powering the project
These PICs like 5 volts, so shoot for that. I first used 4.5V (3xAA) and that worked just fine. However I have now switched over to a regulated 5V supply. Here’s an easy to build one: [urlhttp://www.tkk.fi/Misc/Electronics/circuits/psu_5v.html[/url]
If you have questions, feel free to ask. I’ll probably update this post from time to time with more info.
-Devin
here are some pics of my first prototype: