View previous topic :: View next topic |
Author |
Message |
MAKInnovation
Joined: 16 Nov 2010 Posts: 61
|
|
Posted: Thu Dec 16, 2010 11:29 am |
|
|
Thanks alot PCM for your keypad program
Ash |
|
|
miji88
Joined: 06 Apr 2011 Posts: 25 Location: Malaysia
|
|
Posted: Sat May 07, 2011 2:18 am |
|
|
may i ask question.. if i'm using this code, it can be used with the keypad encoder?? or it can be connected direct to the PIC? _________________ i'm student that realy need help to learn |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat May 07, 2011 12:01 pm |
|
|
The code discussed in this thread is for a keypad that is directly
connected to the PIC pins. |
|
|
miji88
Joined: 06 Apr 2011 Posts: 25 Location: Malaysia
|
|
Posted: Sun May 08, 2011 11:55 am |
|
|
thanks pcm _________________ i'm student that realy need help to learn |
|
|
miji88
Joined: 06 Apr 2011 Posts: 25 Location: Malaysia
|
|
Posted: Sun May 08, 2011 11:23 pm |
|
|
hi all.. I just want to ask.
When I want to burn my hex file into pic using mplab ide.
Mplab ide state that "target power no detected". What does it mean?? _________________ i'm student that realy need help to learn |
|
|
newguy
Joined: 24 Jun 2004 Posts: 1909
|
|
Posted: Mon May 09, 2011 7:48 am |
|
|
miji88 wrote: | hi all.. I just want to ask.
When I want to burn my hex file into pic using mplab ide.
Mplab ide state that "target power no detected". What does it mean?? |
"Target Power Not Detected"
Target: the PIC you're trying to program.
Power Not Detected: the programmer doesn't "see" the supply voltage (Vdd) applied to the PIC. |
|
|
gogutier
Joined: 12 Jul 2011 Posts: 4
|
|
Posted: Wed Aug 09, 2017 10:09 pm |
|
|
edp2009 wrote: | PCM programmer wrote: | Quote: | In terms of hardware, I have read that I need to pull up the rows. |
Those are pull-down resistors. Pull-up resistors connect to the Vdd
voltage.
Also the resistors are on the wrong pins. They should be on the row pins
(like you said in your post). Also, 1K will work but there is no need for
such a low value. 10K would be better. |
I changed to 10K and pullups on rows.
Works flawlessly.
Thanks so much for your help! |
Had the same problem, thanks! Weirdly enough it didn't work on simulation but it did in real life. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Thu Aug 10, 2017 12:22 am |
|
|
Not weird at all.
See the sticky at the head of the forum about Proteus simulator.
Same applies to any other simulator really....
As I (repeatedly) say, the problem is that simulators do not simulate the PIC variants at all well. Think for a moment about a couple of different PIC18's for example. Unless they are variants of the same 'core' (so 2520, 4520 etc.), there will be tiny variations in their behaviour. Some errata (I don't think there is any PIC without at least one erratum), but also just tiny timing differences etc.. The simulators know nothing about these.
You can develop a program in the simulator, and then have to start development again when you start with the real chip....
This is why you will repeatedly see the 'old hands' here (try not to emphasise the first word in this...), will say 'test in the real chip'. Unfortunately some of the 'newcomers', will think "old fogies, they don't know anything", but then a few months later discover as you have, 'why'.... |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9243 Location: Greensville,Ontario
|
|
Posted: Thu Aug 10, 2017 5:54 am |
|
|
re: 'old hands', 'old fogies'
Well you put a smile AND a frown on my face.
Yes, I'm one of them......
Sigh, I've spent HALF my life 'playing with PICs'
That's like 3 decades....
Still have 16C71s with quartz windows here, WORKING though where the UV eraser is...hmmm.. that I have to find, one day....
Sad thing is I'm almost ready to toss out all my 7400 and 4000 series chips, 1000s of $ worth of parts as a 50c PIC will replace them.
I do remember when th ul914s came out and pop was amazed,signalled the end of vacuum tubes...
Jay |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Thu Aug 10, 2017 7:23 am |
|
|
As I said "try not to emphasise the first word in this..." |
|
|
|