Hi guys,
This is the first DIY PIC project I've worked on; all of the other projects I have worked on had either a dev board or a predrawn circuit ( and components) supplied.
I'm using a 16F88 (internal OSC set to 8MHz) and a PICKit2. Currently I'm attempting to use 4LEDs to make a POV display, they are connected to PortB.0, PortB.1, PortB.2, PortB.3. I have a 1MΩ resistor connected from VPP to +5V. There are no other components connected.
When I use the PICKit as the PSU it works fine, the lights flash and the loop continues until power is removed, however, if I replace the PICKit with 4AA batteries the PIC freezes on the first (or perhaps last) instruction of the loop.
I have tried placing a 47nF capacitor across the supply with no luck.
Any suggestions?
This is the first DIY PIC project I've worked on; all of the other projects I have worked on had either a dev board or a predrawn circuit ( and components) supplied.
I'm using a 16F88 (internal OSC set to 8MHz) and a PICKit2. Currently I'm attempting to use 4LEDs to make a POV display, they are connected to PortB.0, PortB.1, PortB.2, PortB.3. I have a 1MΩ resistor connected from VPP to +5V. There are no other components connected.
When I use the PICKit as the PSU it works fine, the lights flash and the loop continues until power is removed, however, if I replace the PICKit with 4AA batteries the PIC freezes on the first (or perhaps last) instruction of the loop.
I have tried placing a 47nF capacitor across the supply with no luck.
Any suggestions?