Ian Kinnear

Eurobricks New Members
  • Content Count

    3
  • Joined

  • Last visited

About Ian Kinnear

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm actually exploring a couple of different options now. I haven't figured out (yet) how to use the 'Single Pin Output Mode' needed to start my train and keep it running through python or nodejs on ev3dev together with the IRlink. I know from Xander (and your post knotian that's great!) that I can use 'Robotc' and his driver and he has it working (https://github.com/botbench/robotcdriversuite/blob/master/examples/hitechnic-irlink-test1.c), but the problem there is that I have to install Windows to install Robotc, and also I know zero about how the development for robotc works (for example does it need an SD card booted like Ev3dev?). So while I work on setting up a VM or bootcamp on my Mac for that, I'm also looking into a simple solution using a Raspberry Pi and IR transmitter (no EV3 or IRLink needed at all): http://www.internetoflego.com/lego-train-automation-ir-power-functions-with-nodejs-and-lirc/ . Obviously this is not a 'pure' lego solution though but it will work for my purposes. Ian
  2. (thank you so much to everyone for your help!) MajorAlvega, I already found and stole your code :) thank you! I have it working in ev3dev, but the next challenge is the range on the Irlink (not so great) and also the sensor needs to point directly at my train. I also found that as soon as the train goes out of range it stops. I'm not sure yet if that's just how the code is written and there's a way to just have it start and keep going, then use something else to stop it (like another sensor when the train reaches a certain spot). I notice that with the regular remote that comes with the train I can start up the train and walk away holding the remote and it keeps going, so I would think there should be a way to do it. I also posted a question on Xander's site so I'll let you know what he says too. thanks everyone Ian
  3. Hi guys, Do you know if by chance there is a programming block available for the Ev3 mindstorms software that works with the irlink? I could not find any on the hitechnic site, but on this youtube video I can see what looks like one: Ultimately I want to use ev3dev but I want to start small and just see the irlink controlling the train pf motor in a simple example. thanks in advance for the help!