Thread: Sensor doubt!
View Single Post
  #10   Spotlight this post!  
Unread 04-04-2014, 02:00
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Sensor doubt!

Quote:
Originally Posted by Alfredp832 View Post
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
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418