HiTechnic Infrared Link

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.

Moderators: 99jonathan, roger, imaqine

HiTechnic Infrared Link

Postby frederik » Fri Feb 01, 2008 9:55 pm

Hi,

Is the HiTechic Infrared Link supported in leJOS yet? Or is it it possible to use the RCXLink class (which is for MindSensors NR Link) for this sensor?
I bought this sensor to give my old RCX a second chance but I can't get it to work with lejos.nxt.RCXLink. This is what i'm doing:
Code: Select all
public DuplimateBot() {
      TS = new TouchSensor(SensorPort.S1);
      rcx = new RCXLink(SensorPort.S3);
   } // constructor
   
   public void go() {

      while (true) {
         while (TS.isPressed()) {
            rcx.A.forward();
            LCD.drawString("pressed",3,4);
            LCD.refresh();
         } // while   
         LCD.drawString("released     ",3,4);
         LCD.refresh();   
      } // while
   } // go


I think the IRLink should work the same as the Lego Mindstorms Remote Control and that one is seen by my RCX. Any Ideas? Thanks!

Frederik.
________
Buy Herbalaire
Last edited by frederik on Sun Feb 13, 2011 11:15 pm, edited 1 time in total.
frederik
New User
 
Posts: 23
Joined: Fri Dec 28, 2007 8:42 am

Postby lawrie » Sat Feb 02, 2008 8:34 pm

No, it isn't currently supported. The HiTechnic site still has no programming details for it to allow us to write a driver class for it, or to make the RCXLink class work for it. Also, I don't own one to test.
lawrie
leJOS Team Member
 
Posts: 929
Joined: Mon Feb 05, 2007 1:27 pm

Postby frederik » Sun Feb 03, 2008 9:41 am

This explains why it's not working. Thanks.
________
Iolite Vaporizer
Last edited by frederik on Sun Feb 13, 2011 11:15 pm, edited 1 time in total.
frederik
New User
 
Posts: 23
Joined: Fri Dec 28, 2007 8:42 am

Postby frederik » Sun Feb 17, 2008 2:38 pm

HiTechnic released version 1.0 of the programming block for the IR link this weekend. You can downolad it from http://www.hitechnic.com/.
Maybe this contains the programming details to write a driver class for it... I hope so.

Thanx
Frederik.
________
Ford R. Bryan
Last edited by frederik on Sun Feb 13, 2011 11:15 pm, edited 1 time in total.
frederik
New User
 
Posts: 23
Joined: Fri Dec 28, 2007 8:42 am

Postby Stridsland » Tue Feb 26, 2008 8:15 pm

Yes, we could really use such a driver class. I got my sensor from HiTechnic in October, and have not used it yet. :?
Stridsland
New User
 
Posts: 1
Joined: Tue Feb 26, 2008 7:51 pm
Location: Denmark


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

more stuff