Pin Problems
nrsmac
Posts: 42
Ok, so I have my BOE with my basic stamp. Whatever I connect to PIN 1 goes HIGH. When I use it as IN1, It stays as a 1.
I have checked for shorts. Don't see any though. What is wrong with my pin? Is this hardware related? or is it software related? How do I fix this problem? Thanks in Advance
I have checked for shorts. Don't see any though. What is wrong with my pin? Is this hardware related? or is it software related? How do I fix this problem? Thanks in Advance
Comments
What program is in the Stamp?
Assuming that whatever program is in the Stamp doesn't set I/O pin 1 to output a high logic level, then you have a short circuit somewhere that shorts I/O pin 1 to the +5V supply, either directly or via some other pin.
Is the program (intentionally or unintentionally) making p1 an output and putting it high? What device are you connecting to PIN 1 that makes the pin go HIGH?
When used as an input, is there anything external that connects to +5 volts? It will make the pin look like a "1".
If you have accidently shorted the pins to ground for an extended period or put a high voltage on the pin you could have damaged the internal circuitry of the the Stamp.
With more information, we can make a better attempt at helping.
[code]
Main:
LOW 1
PAUSE 500
HIGH 1
PAUSE 500
GOTO Main