The Electrician's Work bench

The mindless ramblings of a savage drunk with a screwdriver.

Archive for December, 2009

PIC 18F Programing

Posted by 0ldrunk on December 24, 2009

After some trial and error, trying to program the 18F2550 proved to be harder then I thought. I tried to program it first via the ICSP header on my Velleman K8048 and was getting errors during programing, after some reading I added two 47pF caps for PGD and PGC filtering with still no success. Did yet more reading and built a ART2003 programmer which is a simple LPT programmer meant for the 18F2xxx chips and still no success, so after yet more reading finally I figured out it could be a COM problem with my computer and installed PORT TALK drivers and tried again with the Velleman and success the chip flashed with out any errors. One note is that the software Velleman supplys with K8048 is as about as useless as tits on a bull  use WINPIC , not winpic800 but WINPIC. The K8048 will program 18F chips (18F2550 tested only by me) with the ICSP header and some trial and error and 22pF~47pF  PGC/PGD filtering caps!

I have now tried the programed chip in the PICkit 2 clone and well I have to go back and double check my wiring as there seems to be a problem, windows reports it as a unknown USB device and the PICkit2 software won’t detect it at all, but if I hold down on the button well plugging in the USB the busy LED starts to flash which means its going into bootloader mode to take firmware updates, so this is a good thing I’m guessing it means the chip is flashed and working it just may have to do with my build of the circuit board, stating to realize that its time I just learn how to do printed circuit boards and get the materials needed so that I can eliminate future errors on my part.


Posted in Build Log | Leave a Comment »

PICkit2 Lite

Posted by 0ldrunk on December 21, 2009

Well I have just about finished my PK2 clone all is left is to program the 18F2550 with Microchips PK2 firmware and test it all out.

Posted in Build Log | Leave a Comment »

USB PIC Programmer

Posted by 0ldrunk on December 5, 2009

Well after some some more research and a trip out to my local electronics shop I ended up figuring out that I can build a “Junebug” which is a striped down lite clone of Microchips’ PICKit2. about the same amount of parts to build as the GTP but supports more chips and is supported by software like MPLAB IDE and Flowcode3/4 which I use so this should shave some time and effort on new projects as it will be faster then my old serial Velleman K8048, plus now I can use my laptop for programing since the PK2 is USB . Nothing wrong with the Velleman and its proven it’s self to be a good programmer for the cost and getting started with PICmicros.The old serial programer will still be handy for some chips that need more then 5VDC for programing as my PICkit2 lite will only do 5V chips, as well I need the old serial programer to build the JuneBug as at the core of the new programmer is a 18F2550.

* One important note is if using the Blueroomelectronics schematics for the PICkit2 lite, there is a mistake on the USB connection, PINs 15(D-) and 16(D+) are backwards, when building you have to switch them around or it may not work, if you download the datasheet for the 18F2550 you will see this too!*

Posted in Build Log | Leave a Comment »

GTP USB PIC programmer

Posted by 0ldrunk on December 3, 2009

I came across a great find today surfing the net the GTP-USB-Lite Programmer . I’ve been looking for new PIC programmer and I found one that I happen so have the parts to build it, that saves me a lot of time.

I’m going to start building this one tomorrow hopefully, just pulling out the parts right now!

Posted in Projects | Leave a Comment »