Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Identify Micro Controller High Impedance input

Status
Not open for further replies.

ranaya

Advanced Member level 4
Joined
Jan 22, 2012
Messages
101
Helped
4
Reputation
8
Reaction score
9
Trophy points
1,298
Location
Kelaniya
Activity points
2,164
Hi every1...

How can we identify whether a micro controller input pin is occupied or not using programming code? . Means when an analog or a digital input pin is not connected to anything (high impedance state) is there a way to identify it ? (say pic mcu)

Thanx
 

THey do this all the time in ATE design ( for at least 50yrs) It is call back driving test pin and sense voltage. It must be an analog port for accuracy otherwise you need to be clever... e.g. drive low then floating = input then measure & repeat... notice if pull up, pull down or drift due to RC load. measure time constant then time out. THis is done all the time in Analog audio ports for PC with drivers.
 
  • Like
Reactions: ranaya

    ranaya

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top