The problem with MPLAPXIDE was that there was no compiler selected (thanks Dan). Here is what I did. I followed Supercap"s instructions (thanks again Dan) and successfully built a new project, copying and pasting Adam's asm file into the new project. I then went and edited the asm file and replaced all "GPIO, 0" to "GPIO, 2". I then successfully programmed and verified the PIC. With the power supply set to 4vdc, operation is as follows:
1) Upon applying power to the circuit, the LED starts flashing on/off very rapidly. I don't have a scope, but I would guess a rate of 100hz or so.
2) During this flashing, the power supply to the PIC is 1.7vdc. I would assume my meter (Fluke 87) is averaging and the actual voltage is approximately 3.6vdc, cycling with the LED. This tells me that the capacitor is not keeping the PIC alive and it is shutting down and re-starting as fast as it can.
3) Pressing the switch for less than 500ms momentarily stops the flashing, then it continues when switch is released.
4) Pressing the switch for more than 500ms permanently stops the flashing. At this point, the switch does nothing, regardless of how long it is pressed. The only way to get the output to come back on is to remove power to the circuit and re-apply. The flashing then starts all over again.
5) When the LED shuts off after a long switch press, there is 3.65vdc powering the PIC.
This is all I can do here. I use these computers to run my business and cannot open them up to remote access.
1) Upon applying power to the circuit, the LED starts flashing on/off very rapidly. I don't have a scope, but I would guess a rate of 100hz or so.
2) During this flashing, the power supply to the PIC is 1.7vdc. I would assume my meter (Fluke 87) is averaging and the actual voltage is approximately 3.6vdc, cycling with the LED. This tells me that the capacitor is not keeping the PIC alive and it is shutting down and re-starting as fast as it can.
3) Pressing the switch for less than 500ms momentarily stops the flashing, then it continues when switch is released.
4) Pressing the switch for more than 500ms permanently stops the flashing. At this point, the switch does nothing, regardless of how long it is pressed. The only way to get the output to come back on is to remove power to the circuit and re-apply. The flashing then starts all over again.
5) When the LED shuts off after a long switch press, there is 3.65vdc powering the PIC.
This is all I can do here. I use these computers to run my business and cannot open them up to remote access.
Last edited: