View unanswered posts | View active topics It is currently Thu Oct 23, 2014 12:31 pm






Reply to topic  [ 6 posts ] 
HiTechnic Infrared Receiver 
Author Message
Rookie

Joined: Wed Dec 11, 2013 3:37 pm
Posts: 12
Post HiTechnic Infrared Receiver
We're trying to used this infrared sensor: http://www.hitechnic.com/cgi-bin/commer ... ey=nir1032

However, we get an output of "0" pretty much no matter what. We don't have an infrared beacon, but we put it next to a heat lamp, and still got nothing out of it. I'm programming in RobotC, and this is the code I'm using to test it:

Code:
#pragma config(Sensor, S1,     Infrared,       sensorHiTechnicIRSeeker600)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

task main()
{
   while(1) {
      nxtDisplayCenteredTextLine(1,"Infrared: %d" ,sensorValue[Infrared]);
      wait1Msec(1);
   }
}


I tried both "600" and "1200", but I couldn't find any other sensors on the sensor menu. Does anyone know how to receive proper input from these sensors? Thanks for any help.


Wed Dec 11, 2013 3:42 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: HiTechnic Infrared Receiver
The sensor in your link is not the IR seeker. The IR seeker is this:
http://www.hitechnic.com/cgi-bin/commer ... ey=NSK1042


Wed Dec 11, 2013 3:47 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: HiTechnic Infrared Receiver
FTC Participant wrote:
We're trying to used this infrared sensor: http://www.hitechnic.com/cgi-bin/commer ... ey=nir1032

However, we get an output of "0" pretty much no matter what. We don't have an infrared beacon, but we put it next to a heat lamp, and still got nothing out of it.

  1. You linked to the IRReceiver sensor, which, as noted on the page you linked, is designed to receive commands from one of the HiTechnic remote controls. You aren't using one of these remotes, so you won't get any response from the sensor
  2. If you want to track the IR beacons, you need this sensor: http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=NSK1042 which tracks near-IR beacons. You might get a response from the heat lamp, but note that near-IR is different from thermal-IR (also called long wavelength IR) (http://en.wikipedia.org/wiki/Infrared#Commonly_used_sub-division_scheme)
  3. If you want to detect heat, try this sensor: http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=NIS1070

Cheers,
--Ryan

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Wed Dec 11, 2013 3:55 pm
Profile
Rookie

Joined: Wed Dec 11, 2013 3:37 pm
Posts: 12
Post Re: HiTechnic Infrared Receiver
Thank you for your help!

So just to clarify, this sensor won't receive any input from the IR beacon that we can expect to find at the FTC Block Party event?


Wed Dec 11, 2013 4:04 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: HiTechnic Infrared Receiver
Correct, use the one that MHTS linked for FTC Block Party.

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Wed Dec 11, 2013 4:07 pm
Profile
Rookie

Joined: Wed Dec 11, 2013 3:37 pm
Posts: 12
Post Re: HiTechnic Infrared Receiver
Thank you for your prompt replies, you've been very helpful.


Wed Dec 11, 2013 4:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.