Zapped pin0?
Ryan C. Payne
Posts: 38
Well, I think I gone and done it... I somehow must have had the LCD wired wrong and it appears the CPU.pin0 no longer works? Is there a way to test for sure that this pin is now indeed dead?
·
·
Comments
·· One way to test a pin, although not completely thorough, is to tie an LED with a 470 ohm resistor·between the pin and ground.· Make the pin HIGH, see if the LED lights.· Also tie the LED and resistor to Vdd, make the pin LOW, see if the LED lights.· Next make an input switch and test the pin as an input.· Make sure you download the code to make the pin an input before you wire the switch.· The switch will tie between the pin and ground.· Also from the pin will be a 10K resistor to Vdd.· Then read the input and see if you get a 0 or LOW when the button is pushed, and 1 or HIGH when not pressed.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Here's the skinny.. When I put the led and 470 ohm resistor on the pin and set it high, the pin LED lights. When I tie the pin to Vdd and make the pin low, it does not light. When the pin is made in input it appears to work correctly. It shows high when not pressed and low when pressed?
So what does all this mean? It can source current but can no longer sink it?
Ryan
·· Could you please verify you connections during the second test.· I ask because your wording was that you tied the pin to Vdd, not the LED/Resistor...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Ryan
·· Then yes, it sounds like you have damaged the low-side driver on your Module.· You may have to use that pin for an input only...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Ryan