Content: |
LSDJ-MC2 Tutorial
![]() Above is a photo of the proto-board completed with all the electronic components. The large and small ICs are the heart of operations. The larger one is the PIC16F268, Now when you order one of these things they don`t come programmed with all of the awesome programming that we need to get this thing to work! Firestarter said that you will be able to order them from him already programmed, and if this option is available at the time you are reading this, go a head and order one from him, it will save you a lot of time and money. ***UPDATE SEE BOTTOM ABOUT PIC!! However if you are one of those DIY persons, a good DIY programmer can be fond out on the net, try a google search. If that just looks like a whole lot more work then you want to tackle I would suggest the PIC Development Package from Spark Fun Electronics, it comes completed, and is XP compatible. I ordered the one from Spark Fun Electronics and I recommend this to anyone that wants to save some time, it was really simple to set up! All you have to do is download the latest vesion of IC-prog open up the hex file you downloaded, select the IC that your going to program, and the hardware model (JDM if you have the one from Spark Fun), and burn that sucker. The only draw back to this is that the Development package is really expensive, about $30 plus S&H. You could just get the programmer (SKU Number: PIC-P18B), and the ICSP connector (SKU Number: PIC-PG1) the only difference is that it that you wont get a power supply and a serial cable you didn't really didn't need in the first place (the programmer runs off the power from the seral cable, and the ICSP can connect directly to the back of your PC, if you don't already have a serial cable), then the total comes to about $27 plus S&H. All the other parts on the parts list can be found at mouser.com I got all my parts from a local electronical store in the town over from mine, I'm sure you will be able to find most of the parts locally, but mouser is a good place to find the Opto-coupler (and other parts) if you are having trouble finding one, or too. Also a converson table helped me figure out what kind of compactors I needed, not all brands do measurements in Pico farads. Once you get all your parts, you can start putting everything together. The best way to start is on a Proto-board, it will save you a lot of time as you will be able to check if you have the LEDs positioned correctly among other components. One tip on putting the proto-board together, you want the 20mhz crystal and the two 22pf capatiors as close as possable to the PIC, you can see how close mine are in the photo above. You should start with putting the power circuit together, then test it with a mulitmeater, if it reads 5v between a ground and the far right pin of the voltage regulator you`re golden. We will be using the five volts from the power circuit to power the whole unit. I've labeled the different circuits in the picture below, and where the power and ground lines are.
![]() Once you get everything setup and working on the proto-board, its time to move to a project board, and solder all the components to the board. ![]()
![]() ![]() ![]() ![]() Reply |