Template:UGC-NonPhidgetSensor

From Phidgets Support
Revision as of 14:12, 20 July 2023 by Mparadis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Connecting Non-Phidgets Sensors
Analog Sensors (0-5V), 5V Power
UGanalogsensor.jpg

If the sensor requires 5V DC power and outputs a 0-5V signal, you can connect it directly to a VINT Port. The easiest way to connect it is to cut the end off of a Phidget Cable and solder the bare wires to the appropriate pins:

  • Black: Ground
  • Red: 5V Power
  • White: 0-5V Analog Signal

You should check the sensor's datasheet to determine if it is Ratiometric or Non-Ratiometric. Ratiometric sensors output a voltage proportional to the voltage on the 5V power line, so they're more resilient against noise and power fluctuations. Non-Ratiometric sensors have their own 5V regulator, and always output a voltage relative to that 5V reference point. You need to use the appropriate channel class when opening the sensor (i.e. the VoltageRatioInput class or the VoltageInput class), or else your sensor readings will be inaccurate.

You can tell a sensor is ratiometric if the output in the datasheet is specified in units of volts-per-volt (V/V) or in terms of its supply voltage ("Vcc"):

1128 datasheet output.jpg

This specification says the sensor outputs a voltage value of Vcc/512 for each inch of measurement, so it must be ratiometric.

Analog Sensors (0-5V), 12-24V Power

If the sensor outputs a 0-5V signal, but requires 12-24V DC power, the VINT Hub cannot provide the correct voltage by itself. You can use a DAQ1400, and then connect that to one of the ports on your VINT Hub. See the DAQ1400 product page and User Guide for details.

Digital Sensors (PNP/NPN), 5V Power

An NPN sensor with a power requirement of 5V DC can be connected directly to a port on your VINT Hub:

  • Black: Connect to sensor ground
  • Red: Connect to sensor power
  • White: Connect to sensor output

The easiest way to connect it is to snip the end off of a Phidget Cable and solder the wires to the sensor's wires.

A PNP sensor cannot be connected directly to a VINT Hub, because the digital inputs are active low. You'd need to use a pull-down resistor between the white and black wires of the Phidget cable that leads to the sensor in order for it to work.

Digital Sensors (PNP/NPN), 12-24V Power

Digital sensors that require 12V or 24V DC power can be used with the DAQ1400. See the DAQ1400 product page and User Guide for details.

4-20mA Output Sensors

Sensors with a 4-20mA output can also be interfaced with the DAQ1400. See the DAQ1400 product page and User Guide for details.

Serial/I2C Sensors

Sensors that use serial, I2C, or other digital communication protocols cannot easily be used with Phidgets. You should check the datasheet and pinout to see if they have an analog or 4-20mA output feature available.