To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1716 (-20)
  RE: Motor Speed Control
 
(...) Yes, but I think the "power" portion of the cycle will draw more, because it's always trying to go from stop to full speed. Like driving a car with the brakes on. Start with the brake totally pressed, and the more you push on the gas, the less (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  RE: Motor Speed Control
 
(...) The brake function (as far as I know) should not use more battery power as the short circuit is in the driver chip itself. The drivers are MOSFETs, so setting the H bridge to brake does not actually apply any battery power to the motor (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) If you are not concerned with remaining pure, this interface (URL) should provide better feedback than the rotation sensor. -Rob A> (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) I've been using a power/brake method (instead of power/float) for quite some time in BrickOS. That was one of the first big steps in getting my Legway to work. ( (URL) ) It allows you to program a robot to make smooth turns (slow, instead of (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) I'm doing somthing similair at the moment. My robot runs along a track and needs to be controlled so it doesn't go too fast. I've successfully written some code which limits the top speed, you may be able to modify it or just incorparate ideas (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
Hello Iain, (...) You should definitely try Dick Swan's 10x firmware ((URL) Among other goodies (interpretation speed for example ;o), it features more power levels (128 instead of 8), and a flag to modify behavior of PWM motor control. Standard (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Motor Speed Control
 
Hi, I'm trying to do a basic test setup to code a compact speed control module for the 9V gearmotor. I've mounted an encoder (rotation sensor) directly to the gearmotor shaft. In my code, I'd like to set a variable (speedDesired) and have the motor (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Light seeker
 
Hi, I was wondering if anyone has any experience programming (NQC) a stationary |light seeking head? I have one made using a rotation sensor for reference, and 2 light sensors but can't seem to get the programming down. |Thanks |John Jordan (20 years ago, 25-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: RCX Replacement Firmware
 
(...) BricxCC and NQC with support for Dick Swan's enhanced firmware. If you know where it is go get it. If you don't, you can email me and I'll send you the link. This version has preliminary support for 256 global variables. BricxCC has some cool (...) (20 years ago, 23-Nov-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: Forward or backward?
 
(...) Warning: I've never actually used it but... x = OutputStatus(n), where n = 0, 1, or 2 (not OUT_A, OUT_B, etc.... at least accoding to the NQC manual) and x is the result. The result contains a boatload of information (see (URL) but essentially (...) (20 years ago, 15-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Forward or backward?
 
I've just got back into Mindstorms and I'm updating an old program. I'm writing a task that needs to know in which direction one of the motors is set. Now I could have sworn their was an easy way to do this, but my memory has gone blank and the help (...) (20 years ago, 15-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: BricxCC & downloading NQC programs failing
 
(...) [snip, adjust timeouts] (...) I'm getting the same error with my Scout and Bricxcc/NQC for downloading programs, the direct control works fine. I found that having fresh batteries helped in getting programs to download successfully. I'll try (...) (20 years ago, 9-Nov-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: NQC contolling motors
 
(...) Not exactly. What NQC allows you to do is set one of 8 patterns of pulse width modulation (PWM) for an output. So for instance the highest power level is "always on" (9V for 100% of a cycle), while a lower power setting is a mixture of "on" & (...) (20 years ago, 7-Nov-04, to lugnet.robotics.rcx.nqc)
 
  NQC contolling motors
 
Hi all, I have some questions about controling RCX motors using NQC. I am using Lego 43362 motors. As I understand it has maximum RPM 219 at 9V In NQC I see that I can st the speed of the motors at 8 different stages. I can not find though how the (...) (20 years ago, 7-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: bad motor output because of lego firmware?!
 
(...) That's right. I simply didn't expect any problems with NQC + Lepomux because I assumed that any RCX-OS has the ability to directly control the motor output. If I had used NQC a little bit more, I surely would've noticed that strange output (...) (20 years ago, 3-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: SetUserDisplay?
 
(...) correct. Kevin (20 years ago, 30-Oct-04, to lugnet.robotics.rcx.nqc)
 
  Re: SetUserDisplay?
 
(...) Thanks Dave. I didn't notice the RCX2 option in Bricxcc, works great now! Just to clarify, the only difference between RCX 1 & 2 (from the compile target POV) is the firmware it's running? ROSCO (20 years ago, 30-Oct-04, to lugnet.robotics.rcx.nqc)
 
  Re: SetUserDisplay?
 
(...) My guess is that NQC hasn't been told to target the 2.0 api, so it is defaulting to 1.0 which does not have SetUserDisplay(). See (URL) for a more detailed explanation. Dave (20 years ago, 30-Oct-04, to lugnet.robotics.rcx.nqc)
 
  SetUserDisplay?
 
I can't seem to get SetUserDisplay to compile. When I compile my program, it gets "Error: undefined function 'SetUserDisplay'". I thought it might be the version of NQC (3.0a1) so I downloaded 2.5r3, but same error. Seems strange because (...) (20 years ago, 30-Oct-04, to lugnet.robotics.rcx.nqc)
 
  Re: BricxCC & downloading NQC programs failing
 
(...) See that is what makes Lugnet such a great resource! I finally decided to try out Bricxcc/NQC (after using BrickOS on Linux) and it worked fine when I was just downloading short "Hello World" programs, but I pretty soon ran into this problem (...) (20 years ago, 30-Oct-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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