Inputs that are near 3v3/2
T Chap
Posts: 4,223
I have a sensor that has a .06 per amp output. I only have about an amp pulled so the output of the sensor will range from 2.5V to 2.56. I am running the sensor through an op amp and can get a more dynamic range of output. What would be acceptable to you guys above and below 3v3/2 as a one and zero?
Comments
Bean
edge to a fast chip like the Prop. Since the prop doesn't have hysteresis on its pins this is especially important.
Opamps tend to have slew rates measured in V/us, not the V/ns that logic uses.
If the sensor is a hall-effect current sensor these are particularly noisy and amplifying them will
just produce lots of noise causing multiple transitions all over the place. Setting up a comparator
with enough hysteresis to stop this will be a much saner approach. Or using an ADC to measure
the level.
http://www.daycounter.com/Calculators/Op-Amp/Op-Amp-Voltage-Calculator.phtml
This calculator was extremely helpful to get the range I wanted.
You can check this by putting a pin into positive feedback mode (eg sigma delta adc measurements) and measure the level its hunting using a dmm.
I guess I missed this last post back when this was active. Today I was using this circuit with the op amp that ranged from 1.44V to 2.55V and it never would show as LOW. I always though 1.65V was the threshold but this is not true.
silicon, everything else being constant (which it isn't, such as doping levels). p-FETs and n-FETS
usually have different geometry to roughly overcome this imbalance. The important word there
is roughly....
Note that at mid-rail you typically have both n-FET and p-FET's conducting simultaneously so
the output depends on the on-resistances, as well as the voltage thresholds of each FET (lots
of manufacturing variability in thresholds).