bonuts
08-22-2007, 02:47 AM
I think I successfully programmed a 16f688 with the diag code. I tried to test it but my test failed. Instead of using a PC power supply, a LED and a resistor, I tried the following. Can anyone see glaring error on my part?
1) Tried using a cell phone wall wart (seems like the IC type rather than a wired transformer). It's output was 5.1VDC 800mA.
2) Stuck some solder wire in the middle of the power cylinder. Wrapped some solder wire around the cylinder housing. Multimeter seemed to verify ~ 5volts.
3) On a breadboard tried connecting power from wall wart to pin 1 of 16f688 (using the solder wire). Tried connecting ground of wall wart to pin 14 of 164688 (solder wire again).
4) Because I didn't have a LED or resistor, tried to use the multimeter. I connected the positve wire of the multimeter to some solder wire stuck into the breadboard on pin 13 of the 16f88.
Held the ground wire of the multimeter on the ground of pin 14, and waited for the meter to show some DC current on and off, like a LED blinking. It never did.
5) Verified hardware in WinPic800 again just to make sure I didn't fry the chip.
I guess tomorrow I will try a real computer PSU and try to get a resistor / LED, but I don't know why tonight's test did not work. Any ideas? Thank you.
1) Tried using a cell phone wall wart (seems like the IC type rather than a wired transformer). It's output was 5.1VDC 800mA.
2) Stuck some solder wire in the middle of the power cylinder. Wrapped some solder wire around the cylinder housing. Multimeter seemed to verify ~ 5volts.
3) On a breadboard tried connecting power from wall wart to pin 1 of 16f688 (using the solder wire). Tried connecting ground of wall wart to pin 14 of 164688 (solder wire again).
4) Because I didn't have a LED or resistor, tried to use the multimeter. I connected the positve wire of the multimeter to some solder wire stuck into the breadboard on pin 13 of the 16f88.
Held the ground wire of the multimeter on the ground of pin 14, and waited for the meter to show some DC current on and off, like a LED blinking. It never did.
5) Verified hardware in WinPic800 again just to make sure I didn't fry the chip.
I guess tomorrow I will try a real computer PSU and try to get a resistor / LED, but I don't know why tonight's test did not work. Any ideas? Thank you.