Jump to content

Recommended Posts

Posted

I haven't been able to find how to send commands to a PF receiver like a train controller would using the HiTechnic IRLink.  I need to send a one time command for power level 7 in either direction.  I am using a PF servo motor to control the direction of a monorail.  I can control the servo with the IRLink but it just returns to center after a second or so unless I loop the IR command.  Since the IRLink will most likely be used to control many other IR devices I want to be able to send a single command for the 3 states.  I'm including a short video illustrating my dilemma.  For bonus point I'll also include a short video of my current work around which would tie up two motor outputs on one of my controllers.  I typically use the official NXT-G for programming or NXC in some cases.  I haven't used either language in about 4 years so I'm trying to get back up to speed.  Any help is greatly appreciated!

 

Posted

Good you found it, I futzed with the IR link years ago. There was no "pure" way to set and retain the speed level directly with IR and I THINK I was looking for a solution to reliably control two IR receivers in tandem. For me at least, the functional range was really short, like less than 1m so my ideas never got off the ground, but then SBrick solved the power problems I was having, and now the rollerbearing wheels have really solved the problem. At any rate, I had emailed the HiTechnic folks at the time and they said that the range was limited because the available power to the sensor ports is very small

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...