-
1 Attachment(s)
I think I'm starting to get some progress.
If I write the code, as below, my ONA does not turn on when measured with a multi-meter.
But if I put a LED over PORTD.0 (ONA) AND GND and I press the on button, it flickers.
So with the loop ONA does not stay high, but flickers
Without the loop ONA does stay high?
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=477&stc=1" border=1">
-
I Think I have found my problem.
The plates in the breadboard creates a capacitance on my circuit, that is why the led was flickering.
I have build a pcb and now it looks like it is working.
-
That happen often even if you have a brand new or older breadboard.
Out of curiosity, what about if you remove those capacitor around your crystal on your BreadBoard???
-
Great! Thanks for the schematic. Looks like that took awhile to draw.
I should have the circuit built up later today. Just crawled out of bed. Need Coffee...
I'll get back to you later.
<br>
-
After posting that last one. I saw that you have it working.
Not what I wanted to see.
<br>
-
Hi Darrel
Thank you very much for your help.
You said that it's not the right way to connect the one pin of the pic directly to ground, what is the correct way of doing this.
-
The problem arises when you try to scan the keypad.
Each ROW is scanned by placing a LOW signal on it, and testing the upper bits of PORTB for the Column results. But, if 1 of the rows ALWAYS has a LOW signal on it, there's no way to distinguish which row had the button press.
So, your stuck between a Rock and a Hard place.
Don't have that "correct way of doing this".
<br>
-
1 Attachment(s)
Read the attached about keypad scanning.
-
Thank you arniepj, I will read it!