Quote:
Originally Posted by Alfredp832
The sensor is like the one used in an AGV that follows magnetic tape but i dont know if just with a DIO i can do it
|
Ok, so here's my general debugging guidelines when it comes to "strange" sensors:
(1) Can the device be powered using 5V or 12V? If so, it can be directly powered by one of the Digital or Analog input banks (5V) or it can be powered by a branch off the Power Distribution Board (12V). If not, you've got to figure out how to power it otherwise (if less than 12V but more than 5V, consider a voltage divider off a 12V PDB branch. If less than 5V, consider a voltage divider off the 5V DIO or Analog sensor lines (if using a DIO or analog input - see later)). If more than 12V, it's likely not going to be supported.
(2) When you power the device up, what voltages do you see on the signal line of the device (when compared to the common line of the power supply you're using)? If it's 5V or less, and is more-or-less a binary value (you see more than 3V when one condition is met - seeing or not seeing the magnetic tape - and less than 3V when the other condition is met) then you can use it on the DIO.
There ya go, in a nutshell.
-Danny