Powered by Modern Robotics

0 $0.00

Cart

No products in the cart.
Shop

HiTechnic NXT IRReceiver Sensor

$19.95

Control your NXT robot with the HiTechnic IR Receiver Sensor and a LEGO Power Functions IR Remote Control. The IRReceiver decodes commands from a Power Functions Remote Control and your NXT program can use the commands to directly control NXT motors or to control other functions in your program.

Out of stock

Join the waitlist to be emailed when this product becomes available

SKU: NIR1032 Category:

Description

HiTechnic NXT IRReceiver Sensor for LEGO Mindstorms NXT

Introduction

The NXT IRReceiver Sensor receives signals from a LEGO Power Functions IR remote control, decodes the information in the remote control signal, and makes this available to an NXT program. The information received can be directly used to control NXT motors or your program can use the input data to control other functions within your program.

The IRReciever Sensor will receive signals from the LEGO Power Functions IR Speed Remote Control and the Power Functions IR Remote Control.

Power Functions IR Speed Remote Control Item #8879
Power Functions IR Remote Control Item #8885

Programming

MINDSTORMS NXT-G Programming

NXT-G programs can use the sensor data and wire it directly to motor blocks to create a very simple R/C program.

This block returns the latest remote control settings received from the remote each time you execute the block in your program. Each Remote Control has 2 motor controls, Red and Blue which are matched on the block data hub.

You must drag at least one output data wire from this block’s data hub to another block for any information to be sent.

Display Settings

  1. The number shows which of your NXT’s ports are connected to the IRReceiver. You can change this number in the configuration panel if you need to.
  2. The block’s data hub will open automatically when the block is placed in the work area. At least one data wire must be dragged from the block’s output plug to another block’s data hub. (See the Data Hub section below for more information.)

Configuring the IRReceiver Block

  1. Port: Choose the port where your IRReceiver is plugged in. By default, the block will be set to port 4 for an IRReceiver. You can change this selection if you need to.
  2. Channel: Chose the channel to match the channel selected on the LEGO Power Functions Remote Controller (1 – 4).

IRReceiver block Data Hub plugs

  1. The port that the IRReceiver is connected to
  2. The Power Functions Remote Control channel number (match channel selected on the remote control)
  3. The Red Motor Direction (Remote Control red channel)
  4. The Red Motor Power
  5. The Blue Motor Direction (Remote Control blue channel)
  6. The Blue Motor Power
  7. The Red Motor Brake
  8. The Blue Motor Brake
  9. The Red Control setting
  10. The Blue Control setting

You must click on the Data Hub to open it as shown.

This chart shows the different characteristics of the plugs on the IRReceiver data hub:

PlugData TypePossible RangeWhat the Values Mean
PortNumber1 – 41 = Port 1, 2 = Port 2, 3 = Port 3, 4 = Port 4
ChannelNumeric1 – 41 = Channel l, 2 = Channel 2, 3 = Channel 3, 4 = Channel 4
DirectionLogicTrue/FalseTrue = Forwards
False = Backwards
PowerNumber0 – 100 
BrakeLogicTrue/FalseTrue = Brake
False = Coast
SettingNumber-7 – +7Remote speed control setting

Other Programming Environments

IRReceiver Register Layout

Address
Type
Contents
00 – 07H
chars
Sensor version number
08 – 0FH
chars
Manufacturer
10 – 17H
chars
Sensor type
18 – 3DH
bytes
Not used
3E, 41H
chars
Reserved
42H
byte
Motor 1A control
43H
byte
Motor 1B control
44H
byte
Motor 2A control
45H
byte
Motor 2B control
46H
byte
Motor 3A control
47H
byte
Motor 3B control
48H
byte
Motor 4A control
49H
byte
Motor 4B control

The Motor 1A/1B/2A/2B/3A/3B/4A/4B control fields indicate the power control for motors 1A through 4B. The number 1/2/3/4 is decoded from the remote controls selected channel. The letter A/B indicates left (Red) or right (Blue) control, A – left, B – right.

The following range values will be returned; -128, -100, -86, -72, -58, -44, -30, -16, 0, 16, 30, 44, 58, 72, 86 and 100. -128 is returned to signal motor brake.

The IR Receiver can be programmed using any of the available programming languages including NXC, RobotC, and LabVIEW.

Additional information

Weight .0555 lbs
Dimensions 2 × 3 × 1.25 in

Robot C

The RobotC driver suite supports HiTechnic products for RobotC 4.x and RobotC 3.x. Select the corresponding repository at the link below and download the zip file.

https://github.com/botbench

Downloads

No downloads found!