Sorry for the botched title. I'm always typing faster than I think.
I am using ICSP for programming my 16F84 (don't worry, I've already ordered some more modern PICs).
I have it set up as shown in the ICSP section linked below:
http://www.best-microcontroller-projects.com/pic16f84.html
I had a matrix keypad set up, and it was working in very sporadic ways/not at all. I had a code program set up (as in correct password activates some action).
I noticed that it was not scanning. Column 1 was on RB0, Column 2 on RB1, and Column 3 on RB2. I noticed that RB0 stayed logic 0; in other words, the program wasn't scanning. Further probing indicated that RB6 (connected for row 2 pin on keypad) was around 1 volt.
Because I am using ICSP, RB6 is connected to PGC (clock) on the PicKit2. If I disconnect the PGC wire from RB6 I get proper function out of my PIC and circuit.
I've never noticed PGC interfering with logic levels on that pin.
Is this normal?
Seems like something is messed up to me. Thoughts?
I am using ICSP for programming my 16F84 (don't worry, I've already ordered some more modern PICs).
I have it set up as shown in the ICSP section linked below:
http://www.best-microcontroller-projects.com/pic16f84.html
I had a matrix keypad set up, and it was working in very sporadic ways/not at all. I had a code program set up (as in correct password activates some action).
I noticed that it was not scanning. Column 1 was on RB0, Column 2 on RB1, and Column 3 on RB2. I noticed that RB0 stayed logic 0; in other words, the program wasn't scanning. Further probing indicated that RB6 (connected for row 2 pin on keypad) was around 1 volt.
Because I am using ICSP, RB6 is connected to PGC (clock) on the PicKit2. If I disconnect the PGC wire from RB6 I get proper function out of my PIC and circuit.
I've never noticed PGC interfering with logic levels on that pin.
Is this normal?
Seems like something is messed up to me. Thoughts?
Last edited: