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 / 3490
3489  |  3491
Subject: 
BrickOS motor port horrors
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 25 Oct 2003 19:38:52 GMT
Viewed: 
3575 times
  
I was writing some simple programs to test out BrickOS last night, and had some
really strange behavior. I hooked up a motor to port B and a rotation sensor to
port 2. My programs were just testing out various motor speeds and positioning
accuracy. The problem was, the motor made some awful grinding noises. It was
almost as if it was toggling between forward and reverse rapidly. I haven't
experimented with low speeds in BrickOS before, so I thought maybe it was
normal. But once I stopped the program, the motor kept going. Kind of freaky.
Then I shut of the RCX, turned it on again, and the motor started grinding
again. Really freaky. The I hooked up the motor to the other ports to see if
anything was wrong with them. Port A seemed fine, while port C was powered as
well. Instead of a low grinding noise, it produced a high pitched whine. But the
motor still ran even after the RCX was turned off and then on again. So... I
erased the firmware by removing the batteries, and then reloaded BrickOS
0.2.6.10. Without even downloading a program to the RCX, motor ports B and C
behaved the same as before. To make sure the problem was not a hrdware issue, I
erased the firmware again, and loaded the standard Lego frimware, and the motor
ports behaved themselves.

Any idea what might have gone wrong? Is my RCX possessed?
Rob



Message has 4 Replies:
  Re: BrickOS motor port horrors
 
Well, I don't know much about it being possessed, but you should try to divide the problem probabilities in half. Try loading the original lego firmware. (Yes I know, this brings horror to some of you fellow programmers out there, but its just (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
  Re: BrickOS motor port horrors
 
(...) That is the part that really bites me. Are you able to reproduce the error? If yes, try to put out the batteries for a longer time. Anyway, it seems worthwile to have a look at the brickOS initialization code for the motors. If you can (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
  Re: BrickOS motor port horrors
 
(...) Rob, I've had the same problem with BrickOS. The installation I used came with BrickOS already built. I reloaded the RCX with LEGO firmware and all three motor ports worked fine. I concluded it was a BrickOS problem that I would wrestle with (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
  Re: BrickOS motor port horrors
 
(...) As we discussed in email, it appears to be the firmware downloader causing the problem. I just tried downloading BrickOS 0.2.6.10 with both NQC 2.5 a1 and BricxCC 3.3.6.2 and experienced growling motors. I then downloaded BrickOS using firmdl3 (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)

8 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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