i\p & o\p same pin

Status
Not open for further replies.

sahu

Advanced Member level 2
Joined
Oct 9, 2009
Messages
516
Helped
68
Reputation
130
Reaction score
62
Trophy points
1,308
Location
Uttar pradesh (INDIA)
Activity points
3,876
i have requirer i\p & o\p same pin .i\p as logic high\low & o\p is for relay drive ...
it may possible ?
 
Last edited:

And how can you detect the input voltage when you provide an output to a relay,
the input should be able to change that output voltage , how can this be done.

The only possible solution would be if with a pin that changes between input and output function (in a fast fast rate) and with loads (maybe relay can work) that will not react to that fast switching and will stay on.

Alex
 


i hope my hardware & software problem ?
sages me
 

it is not possible to read an input on one pin and then use that same pin to drive a relay.
it is a hardware related thing, how can something give you an output and then also receive an input ?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…