View previous topic :: View next topic |
Author |
Message |
iso9001
Joined: 02 Dec 2003 Posts: 262
|
Wake on EXT isr question |
Posted: Tue Dec 07, 2004 7:40 pm |
|
|
Can a pic detect a change (and then wake from sleep) on a port if it goes from no conection to ground ? (Float to Low) ? |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Dec 07, 2004 8:13 pm |
|
|
No connection can pick up stray noise and cause you to int when you don't want it. But to answer your question, it has to see the change so if the input were to go to ground then it would need to be high first. The only way to ensure this is to put it there. |
|
|
iso9001
Joined: 02 Dec 2003 Posts: 262
|
|
Posted: Wed Dec 08, 2004 2:18 am |
|
|
Thats what i figured. Thanks,
Well.. I guess I could put a pullup on the line and then the int could be any change or L_to_H... problem is it will always be draining a little power then.
Maybe I could put some crazy high value resistor in there though. Is there a min value amperage value the pic can read ?
Ie: if I have 5V to a 100k resistor, obviously the strength of the signal will be low, but is there a "too low" amperage ? |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Dec 08, 2004 8:43 am |
|
|
The input impedance of the input is pretty high. What you are concerned with is noise affecting the signal. If the impedance is too high, then the noise could still affect the signal. |
|
|
|