This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

controller

hi

iam measuring the vacuum using vacuum sensor and displaying on the controller(AD571 ADC,89C51 controller,LCD).

For 0v=10mbar, 1v=20mbar, 2v=30mbar, . . . 9v=90mbar, 10v=100mbar

When I removed sensor from controller it is showing 10mbar (0v) on the display.

How to do when I removed sensor from controller it should display "SENSOR OPEN".

How to detect or sense weather sensor is connected to the controller or not .

Regards
nari

Parents
  • Presumably, your ADC is simply measuring voltage?

    So there is no way that it can distinguish where that voltage comes from - in particular whether 0V is a genuine signal from the sensor, or is just due to the absence of the sensor!

    Do you send an excitation current through your sensor?
    If so, you could try detecting that.

    Or maybe you could add an offset somehow so that 0V can never happen when a sensor is present.

    Or add some kind of bias that will pull the input negative in the absence of a sensor.

    Without any details of your sensor and how you're using, it is impossible to make any definite suggestions!

    None of this, of course, has anything to do with Keil software development tools!
    (nor even anything specifically to do with the 8051)

Reply
  • Presumably, your ADC is simply measuring voltage?

    So there is no way that it can distinguish where that voltage comes from - in particular whether 0V is a genuine signal from the sensor, or is just due to the absence of the sensor!

    Do you send an excitation current through your sensor?
    If so, you could try detecting that.

    Or maybe you could add an offset somehow so that 0V can never happen when a sensor is present.

    Or add some kind of bias that will pull the input negative in the absence of a sensor.

    Without any details of your sensor and how you're using, it is impossible to make any definite suggestions!

    None of this, of course, has anything to do with Keil software development tools!
    (nor even anything specifically to do with the 8051)

Children
No data