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 / 1196 (-20)
  Maximum current of motor outputs (2)
 
Hi, this is my second attempt for getting information about the motor outputs. Some replies have been made for my first question but my question was not understood correctly. So, I will describe what I need and ask more precisely. Instead of a (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: maximum current of outputs
 
(...) That's all nice and well, but Bernd asked about current. I think it's on the order of several hundred mA, but I don't have exact figures. Unfortunately there is no (more?) data sheet for the 10402 motor controller used in the RCX at (URL) (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: Help needed for an NQC newbie
 
(...) Welcome! (...) ^^ 27 is way too low for a light sensor, so since this test fails your program just ends. Typical is 35 for very dark up to ca 50 for reflection on a bright surface, and higher if it looks into bright light. Use the View key to (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: maximum current of outputs
 
I am living in Tokyo, Japan now, here is 110v and same as NA. BTW, I will live in Boston from next month. Zhengrong (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: maximum current of outputs
 
(...) What part of the world do you live in? I'm in North America. I've checked the power levels very carefully to make sure my custom stuff would still work. If it's different with 220 volt stuff. Dean (...) -- Dean Husby LUGNET Member #320 TFM's (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: SetWatch() only accepts constants
 
(...) Sorry, the opcode requires constants - there's not much NQC can do (aside from generating an enormous switch statement). Dave (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: maximum current of outputs
 
In my layout, I used Train power supply for RCX to drive train, the max voltage is 9.7v. Zhengrong (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: Help needed for an NQC newbie
 
Thanks a lot. I added the while statement and it worked. As far as the value of the light sensor, I kept the value I had and it worked correctly. I will post pictures of the setup after the weekend and you will understand. Jude Thanks again for the (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: Help needed for an NQC newbie
 
Try this. I had to change the value of the light sensor and add a While (true) statement. task main() { SetSensor(SENSOR_3,S...ROTATION); ClearSensor(SENSOR_3); SetSensor(SENSOR_2,S...OR_LIGHT); SetPower(OUT_A,2); while (true) if (SENSOR_2<40) { (...) (23 years ago, 8-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: SetWatch() is remembered?
 
(...) The Watch will reset to 0000 when you turn off device. It gets cleared on power up every time. You can, however, start and stop programs and keep the time. Dean -- -Dean Husby LUGNET Member #320 (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: maximum current of outputs
 
(...) 9.3x volts when a Train Power supply is used. Down to as little as 6.5 volts when batteries are getting pretty low. Dean -- -Dean Husby LUGNET Member #320 Co-Founding Member: VLC (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: SetWatch() only accepts constants
 
(...) You can use the NQC -watch now command to set the time. Dean (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Help needed for an NQC newbie
 
Hi, Normally you can see me in .space, .loc.ca, or org.ca and the like. But now that I have an RCX I want to program a bit. I have written my first NQC program and compiled it using RCXCC. I then downloaded it to my RCX but when I press run the legs (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  RE: SetWatch() is remembered?
 
Take the batteries out (and unplug the external power on RIS 1.0) and it forgets everything, Date, Time, Programs/Tasks, even "Firmware"... "ZZZzzzombie" RCX :) mc. (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  SetWatch() is remembered?
 
So does this mean that the RCX acts like a PC in that it does not forget the date/time when it is turned off or the batteries changed? Should I just write a one line program to set the time, and remove the time code from my actual NQC program? Thank (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  maximum current of outputs
 
Hi hardware-specialists, does anyone know the maximum continuous current that a RCX motor output can drive? (I want to connect a light.) Thanks a lot. Bernd (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  RE: SetWatch() only accepts constants
 
Instead of sending ByteCodes from the PC and getting the RCX to interpret them, you can construct and send the SetWatch() OpCode plus the correct "constant" time and send it through Spirit.OCX (or directly, depending of the platform). (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  SetWatch() only accepts constants
 
I just wrote a task and function that cause the RCX to receive data from the PC and then set the time on the RCX using SetWatch(). Unfortunately, I didn't realize that SetWatch() only accepts constants. NQC complained when integer variables were (...) (23 years ago, 7-Aug-01, to lugnet.robotics.rcx.nqc)
 
  MIDI to NQC/RIS2.0 translator "Midi2LSC"
 
Hi, All ! I wrote a Windows 95/98/Me/2000 free software. This program named "Midi2Lsc" is SMF (Standard MIDI File) to LSC (LEGO Script Language of RIS2.0 SDK) and/or NQC translator. It is alpha test release status now. SMF format 0/1/2 support (...) (23 years ago, 28-Jul-01, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Display the value of Scout sensors
 
Scout is cheaper, but when you debug NQC program in Scout, you have no way to watch the value of its sensors, I made a small program that can show sensors value in a RCX LCD, you can use remote to change watching sensor, message 1 for sensor1, (...) (23 years ago, 26-Jul-01, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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