Go to Post The programmers will kill you if you want that done on the robot!!! - cbeavers6790 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2014, 21:42
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: IR Sensors

If it's the Sharp 2D120X IR reflective sensor here's a snippet of Labview code that I used on our trainer. I set the threshold to 2 volts which corresponds to a object being sensed at about 7 cm from the sensor.
Attached Thumbnails
Click image for larger version

Name:	IR senser - begin.PNG
Views:	17
Size:	5.1 KB
ID:	15956  Click image for larger version

Name:	IR sensor - Timed Tasks.PNG
Views:	14
Size:	6.4 KB
ID:	15957  
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi