Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/21/07 22:37
Modified:
  04/21/07 22:52

Read: times


 
#137741 - Using Analogue Methods to test for Hi-Z
Responding to: ???'s previous message
Do you know analogue electronics? not just digital or programming?

*** KEY: Voltage sources have low impedance - so you can use this characteristic ***

Circuit
---------
Use two equal value resistors (say 10k) in series across the supply (VDD and GND). I assume VDD = 5v for TTL logic.

{The logic probe point is the mid point of the resistors}
----------

Logic States
=============
Hi-Z or not Connected
--------------------
When the probe is not connected to any thing or connected to Hi-Z the probe/mid point voltage (referenced to gnd) will be 1/2VDD.

Logic 0
----------
When the probe is connected to Logic 0, 0v (GND) the mid point voltage will shift to 0v becuase the GND impedance is much much lower than 10k.

Logic 1
-------
When the probe is connected to Logic 1, 5v (VDD) the mid point voltage will shift to 5v becuase VDD impedance is ALSO much much lower than 10k.

Measurement
-------------
How to measure the mid point which may have analogue state?
You can use either a micro's ADC, or Op-Amp comparators as voltage threshold detectors.

The ADC voltage (proble voltage) will indicate the logic state of the probe point.
If probe voltage >0v and <0.6v then Logic 0
If probe voltage >2.4v and <5.5 then logic 1
If probe voltage >0.6v and <2.4v then Hi-Z
If probe voltage <0 then ERROR
IF probe voltage >5.5v then ERROR

Voltage comparator circuits
http://home.cogeco.ca/~rpaisley4/Comparators.html


Joe



List of 23 messages in thread
TopicAuthorDate
tri state input reading            01/01/70 00:00      
   tri-state            01/01/70 00:00      
   Reading TriState            01/01/70 00:00      
   Hi-Z reading            01/01/70 00:00      
   Logic Probe Concept            01/01/70 00:00      
      Window Comparator            01/01/70 00:00      
   Build Or Buy            01/01/70 00:00      
      Using Analogue Methods to test for Hi-Z            01/01/70 00:00      
         Spare ADC and DAC on your micro?            01/01/70 00:00      
   search found            01/01/70 00:00      
      Some mistake            01/01/70 00:00      
         100k resistor            01/01/70 00:00      
   An idea...            01/01/70 00:00      
      Fundamental Logic and Hi-Z impedance            01/01/70 00:00      
         Some thoughts on the tristate detection            01/01/70 00:00      
            not 'the first', but THE problem            01/01/70 00:00      
               Heisenberg            01/01/70 00:00      
                  agreed            01/01/70 00:00      
      thank you            01/01/70 00:00      

Back to Subject List