To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3956
    train precision —Daniel Carvalho
   A couple of years ago, i used brickOS. Then, i changed to Lejos... I have a moc where i use the RCX to control a train with a lego train motor. It is difficult to control the train with LejOS, because it only has 8 output levels. Two solve the (...) (18 years ago, 27-Dec-05, to lugnet.robotics.rcx.legos)
   
        Re: train precision —Steve Hassenplug
   (...) Daniel, One problem you'll run into with most software is that it switches between power and float to adjust the motor levels. It works much better to switch between power and brake. Using most software, the train will continue to speed up, (...) (18 years ago, 27-Dec-05, to lugnet.robotics.rcx.legos)
   
        Re: train precision —Daniel Carvalho
   (...) hi Steve, I think the problem is not exactly the same. The lego technic motors run always at the same speed so you need to use that kind of schema for speed control in robots. The train motors are different, they have a speed proportional to (...) (18 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
   
        Re: train precision —Brian B. Alano
     I do think Steve is on the right track here. The train regulator varies the voltage, but the RCX output can't. So you are left with managing (nominally) 9v pulses. But there is another solution. You could add a DCC decoder to your train motor, and (...) (18 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
    
         Re: train precision —Daniel Carvalho
     (...) thanks for the suggestion, Brian I want to make some experimences with LDCC some day. But not in this project. daniel (18 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
   
        Re: train precision —Steve Hassenplug
   (...) ... (...) ... (...) ... (...) As Brian said, it's not the motors, it's the RCX. You can run Technic motors off a train controller, and you can vary the speed. But you need to do a bit more if you're using the RCX. We used that scheme when we (...) (18 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
   
        Re: train precision —Daniel Carvalho
   (...) didn't find the c code in the url you mentioned. You used the same technique in the train, as in the legway? daniel (18 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
   
        Re: train precision —Steve Hassenplug
   (...) Yes, I used the same code for controlling Legway as the Great Ball Contraption train. That's what I posted here: (URL) (18 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR