To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *4455 (-100)
  Re: Yet another Q: IR messages
 
Thanks for the information so far. Is there any NQC command similar to the RCX-code "wait until message"-block? --Tobias (24 years ago, 30-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: R: May I use RCX to play a .wav file?
 
Thank you very much! I think your utilities are evry useful! I don't know more about music, so I wan to ask you, if you can convert MIDI to NQC, why didn't you also convert WAV to NQC? Although I can convert WAV to MIDI using anothe utility, then (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx)
 
  R: May I use RCX to play a .wav file?
 
Hi Zhengrong, (...) changed) (...) 93, (...) 160, (...) I wrote a small utility that converts midi files in LegOs or NQC source files and another utility that can convert a "certain" type (i.e. noises) of wav samples in LegOs. I think that playing (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx)
 
  "Speed" of control statments
 
I have been currently working on a control program that necessitates the highest reaction time possible. Does anyone what the fastest control statements would be using NQC (making the outputs react to sensor values as fast as possible)? i.e. Which (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Lejos Rerun
 
(...) If the batteries are flat, then nothing would be remembered anyway, right? :) I guess that you could upload data to the PC, and then download it again when the 'bot needs it. The PC could also do some processing on the data to make the RCX's (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx.java)
 
  Lejos Rerun
 
Hi All, I am working in Lejos, which I've found to be a great environment to get working (on Windows 98) and to work in, and have a problem. In earlier versions of Lejos(at least according to the docs), and Tinyvm, objects persisted across runs. I (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx.java)
 
  Re: May I use RCX to play a .wav file?
 
Thanks. Now I have converted wav file to mono data sampled at 11025Hz (can be changed) and sample range is 0-255 as below: 144, 150, 154, 156, 160, 159, 154, 149, 143, 134, 128, 120, 110, 103, 97, 93, 91, 93, 96, 102, 110, 120, 127, 138, 149, 156, (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx)
 
  Re: May I use RCX to play a .wav file?
 
This has been asked many times before, and while it seems like it should be possible in theory, it's not possible in practice. The reason is that the speaker is connected to one of the special outputs of the H8 processor which is designed to pulse (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx)
 
  Re: Yet another Q: IR messages
 
To send a message use the following: SendMessage(<variable> or <number>); The variable must be of integer type between 1 - 255 The number must be between 1 - 255 To read a message from the IR port do <variable> = Message(); This will put whatever (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another Q: IR messages
 
Hi Tobias, this could look something like this for example : int global_message; // place to store and read messages for every task task main() { start Read_Messages; // start Receive_Message Task while(true) { switch (global_message) { case 1 : (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Yet another Q: IR messages
 
I can't figure out how to use the IR commands. I've tried, read a bit in the documentation, but still have no clue. I'd like to know how to: a) Send a message (and decide what message it should be) and b) learn how to recieve messages Thanks in (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Neural network for legOS... ??
 
(...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.legos)
 
  May I use RCX to play a .wav file?
 
I want to know if I can use RCX to play a .wav file, does anyone help me? Br Zhengrong (24 years ago, 29-Mar-01, to lugnet.robotics.rcx)
 
  Re: Robot navigation - barcode stations?
 
I think it's an excellent idea... I saw the barcode system being explained some years ago and I still think it can be the most accurate. One thing that's different in the system I saw was that there were no LED's used (not needed...) and it would (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx)
 
  Ser. Col. Only!! I'll cover shipping!!
 
(24 years ago, 29-Mar-01, to lugnet.robotics.rcx.legos)
 
  Serious Collectors Only!
 
I'm selling my entire collection for $4,500. There are over 300 sets MISB, and over 200 sets opened but still in mint condition. Over 90% of the opened sets were put together once; and then sealed in zip-lock bags. The boxes of the MISB sets are in (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Assembly in my C-program
 
(...) If you want to drive directly the motors you should first disable motor handling in legOS (remove CONF_DMOTOR definition in config.h). Then you can create a high priority task that switches motors on and off writing in the motor output port. (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Assembly in my C-program
 
(...) pulses (...) at (...) would (...) Hmmmm. This should be possible, but it's a bit more tricky with stepper motors - you have to allow for the speed-up and slow-down. Thus just calling motor_speed(50) would have to initiate a task that starts (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: New Group?
 
Does any LEGO theme have a group? are you going to create lugnet.dinosaurs if it is true? Zhengrong (...) (24 years ago, 28-Mar-01, to lugnet.robotics, lugnet.robotics.rcx, lugnet.general)
 
  RE: Electrical Data Link between 2 RCXs
 
(...) Hi :) (...) Heheh, my feelings exactly before "bumping" into LUGnet community almost a year and a half ago ;) Ok, now, about the way I use Timer() and will try to use FastTimer() or counter loop if proven more effective. I have no need to get (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: Assembly in my C-program
 
Actually I am trying to control a stepper motor. So when i need to send 50 pulses fast, motor on and off takes same time because there same other tasks running at the same time. So it would be much quicker if I could just call motor speed (50), and (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Electrical Data Link between 2 RCXs
 
Hi Dean, thanks for your interesting idea for a reduction of transmission time. I will deal with that as soon as possible. Your questions: (...) Version 2.0 (...) No. Do you think that is faster? (...) No, just the transmission program. (...) Good (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Electrical Data Link between 2 RCXs
 
Hi Marco, it is always interesting how many other people in the world do have the same problems or are dealing with the same subject. Sometimes I had the feeling that I dealt with "exotic" problems but then I realized that other "Mindstormers" had (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: Assembly in my C-program
 
(...) to (...) This should be performed by mapping a variable on top of the memory location, and NOT by inline assembly. (...) What is wrong with speed=0 for off and speed=255 for on? /jakob (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Assembly in my C-program
 
HI, I was wondering if I could write assembly code in my c-program. I would like to access the motor output port as a digital port and control when it is on and when off (possibly writting something like "mov.b r6l,@0xf000:16"). Or can I change the (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Release date for RCX 2.0?
 
Only for RCX! But you can use NQC. Zhengrong (...) (24 years ago, 28-Mar-01, to lugnet.year.2001, lugnet.robotics.rcx)
 
  Re: .lx format
 
(...) We are going to use this solution. Seems simpler. /jakob (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Running IR in the background
 
(...) Congratulations! Could you post your source code here, to compare with the solution that we previously submitted to an almost identical question? We use an active light sensor reading in one taks, with a different task bangin zeroes using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) We arrived at that solution independently here... it makes more sense. Also, since only the parts of the kernel we actually use need to be linked in, the result should be much smaller than a full kernel. Furthermore, the compiler we are using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) We arrived at that solution independently here... it makes more sense. Also, since only the parts of the kernel we actually use need to be linked in, the result should be much smaller than a full kernel. Furthermore, the compiler we are using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Library use in LegOS
 
(...) of (...) For the IAR compiler, this should not a problem. The libraries are optimized for minimal size, so we can probably use the standard libraires. And give our students the benefit of a full C lib. /jakob (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Neural network for legOS... ??
 
(...) Sorry Niels, but I would say just try it yourself, they're not that hard to do, failing that if you can find the source for a small ANN, then that stands a good chance of working, I'm running quite a powerful evolutionary algorithm on mine, (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Running IR in the background
 
Hannes, I got it to work last night. I'm modifying Markus Noga rover.c code (included when you download legos files) to include support for IR port and (passive) light sensor. Great code to look at if you're just learning C/C++. Basically, the (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: light sensor multiplexer
 
Hi Nitin, thanks for your information. You know, by asking questions, you'll get the answers often from yourself. Just when I posted the question to you, Eureka. But let's be fair, you were the one who triggered me. I've adapted (without the power (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx)
 
  RE: Electrical Data Link between 2 RCXs
 
Hi Bernd :) I see we're working in the same subject here :) *great* If you care to browse lugnet.robotics old thread "VLL *input* for RCX/CyberMaster (in NQC) ?" or the newer one, starting with "CM-RCX" (the subject had some variations) Your (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: Running IR in the background
 
(...) Commentary below. (...) I must have missed this one the first time around. lnp_logical_write() will block, but it should only block the thread it's called from. Put your send-zero loop in a separate thread and I think you should be set. (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: New Group?
 
Hi All, Although I started with NCQ I've used Gordon's Brick Programmer quite a bit. Its neat for putting things together quickly and I use the library import screen a lot to reuse bits from old projects. I'd like to hear about how other people use (...) (24 years ago, 27-Mar-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Running IR in the background
 
(...) Huge coincidence that your message should be the first I see after not having read the newsgroup for almost a year. No, as far as I can remember I never got an answer. I am using mindstorms for my final project after not having a chance to (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Running IR in the background
 
Hannes, Did you ever get any help with your question (below)? I'm trying to use the IR port on RCX along with light sensor (passive) as collision detection device. Having the same problems you're having. Clayton (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: light sensor multiplexer
 
Hi Stef, sorry for little late. What I am doing is that I need to get the voltahge down and most efficient way of doing that without losing swing ( if you divide you lose swing too) is level shift it and you can do it by putting by Zener. I need (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx)
 
  Re: Library use in LegOS
 
(...) Not sure of the details, but the linker takes the .o file, and the symbol file LegOS.lds, created during the kernel compile, and produces two files; .ds1 & .ds2, which are then passed to makelx to produce the lx file. So it seems the linker (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) One other possibility is to not use the lx files at all - just stick to the srec format as (I think) LegOS used to (version 0.1.x?). A bit less efficient downloading the kernel all the time, but removes the need to dabble with lx format at (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Declarations in header files
 
Hi! This is very technical, but: does the declaration of an "extern inline const void" function really make sense? GCC accepts it, but that is a VERY lenient compiler. An extern function should be definition not have a definition, and 'const void' (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) So in effect, it is dependent on the gcc loader mechanism. Ungh! The idea of using two symbolsrec files: one could be kernel, the other the program. Would make sense for kernel call resolution. (...) I looked at it, and it mainly outputs (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Library use in LegOS
 
(...) OK. How are the calls to the kernel resolved? By the makelx program, or by some magical stuff in the linking. I can imagine compiling the kernel, getting a symbol table out, and then when compiling user programs, you use a linker DEFINE or (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: New Group?
 
As the author of GBP I get 3 or 4 emails a week about it and there have been 9,647 hits (I just checked) or the download page since I installed the counter about a year ago. My only problem with the idea of setting up a GBP group is that it might (...) (24 years ago, 27-Mar-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: The sound of train
 
I don't have any specifically for trains, but my crane has a two-tone warning sound - you can find the programming info at (URL) The warning sound is generated by RCX1. I'm not sure how difficult it will be to translate this into NQC, but basically (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: The sound of train
 
Thanks. Could you show me legOS source? (both steam and diesel), I have no idea about music or sound. I can convert it to NQC, what I am using NQC is that I want to make all my programs that can be used both by RCX and Scout. Zhengrong (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: The sound of train
 
Your original post mentioned "warning or alert". Are you looking for train sounds, or warning sounds? The train sounds that Sonnich is talking about is actually the puff-puff of a steam engine, and would be very difficult to duplicate with the RCX, (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: The sound of train
 
You used hardware? that is not my hoping. Zhengrong (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: New Group?
 
(...) Well, sometimes there's only one way to find out -- build it and see if they come. If we create a group/list for it and it turns out DOA then we can either delete it or ignore it. If there's a user-base for GBP, and you've got (...) (24 years ago, 26-Mar-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Electrical Data Link between 2 RCXs
 
Thanks for the info on the electric datalink. It's a clever idea that I never would have thought of myself. It seems to me that you could cut down on your transmission time if you changed the shape of your pulse train. The pauses between bits don't (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: The sound of train
 
I guess not - I don't even know what it is. All I have seen of this is some schematics of the electronic circuit for it. And that was 1 years ago I think Sonnich Zhengrong Zang <mikezang@iname.com> wrote in message news:3ABEA0D8.2F4462...ame.com... (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: Electrical Data Link between 2 RCXs
 
I am not positive about this, but some of the jitter may be due to the mode in which the motor outputs work. They are PWM at 125 Hz, so I am wondering if, when the byte code to change an output setting is executed, the new state setting is placed (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Electrical Data Link between 2 RCXs
 
Hi Bernd, When you need it really fast, you sholud use legOS instead of NQC. A program written with NQC uses the LEGO firmware, which is a ByteCode Interpreter. This pogram is interpreted Byte after Byte from firmaware. The firmware executes the (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Neural network for legOS... ??
 
Hi everybody I'm looking for a free neural network library, that I can use with legOS. Anybody knows where to look ?? Niels (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) Look at legOS makefiles. The lx file is generated from two symbolsrec executables linked to different positions. The files are generated with a special linker script "legOS.lds". Maybe you can do the same with your compiler and use the makelx (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: sending variables betwen rcx's?
 
Hi Adam, if I understand your problem correctly, you want to transmit a sensor value from one RCX to another RCX which will work with that value. Now, if the 2 RCXs can "see" each other than simply use the Message statement. If not, you should take (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Electrical Data Link between 2 RCXs
 
It's me again with the subject "electrical datalink between 2 RCXs" (I posted some articles a couple of weeks ago). This subject may seem trivial but in fact it is not. Dealing with it, I discovered some "unpleasanties" in the general execution of (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: code
 
(...) [etc.] Also, don't you use ROTATION_X instead of SENSOR_X once you get the rotation sensor set up on that port? I thought it was something like that. I'd also like to comment that this is dangerous. It's theoretically possible that your sensor (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: code
 
yego, The wait_event function takes an event function as the first parameter, not a sensor number. You need something like (forgive any errors - I don't have LegOS available at work) int rotation_event_3(wakeup_t data) { if (SENSOR_3 == data) return (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
 
  code
 
Hi, I'm a newbie to c++ and legOS. Here is my code. Do you know what is wrong with it cause I don't. Thanks /* s.c*/ #include <unistd.h> #include <dmotor.h> #include <dsensor.h> int main(int argc, char **argv) { /* turn it on */ (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: The Making of "Creative Projects with LEGO Mindstorms"
 
Cool site, Ben. Looking forward to your book! -- Bob Fay rfay@we.mediaone.net (URL) Erwin" <ben@alum.mit.edu> wrote in message news:GAsADu.56u@lugnet.com... (...) itself (...) (24 years ago, 26-Mar-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
 
  The Making of "Creative Projects with LEGO Mindstorms"
 
(URL) week I had the opportunity to watch my book get printed. The book itself is about the process of making a robot -- so here is a website about the process of making the book -- which itself is very robotic! -Ben (24 years ago, 26-Mar-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: The sound of train
 
Do you have any NQC code? Zhengrong (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: Library use in LegOS
 
Jakob "Fepp" Engblom <fepp@ieee.org> wrote in message news:GAr7Gr.2v3@lugnet.com... (...) handled (...) Each program gets it's own copy (...) Hmmmm. Not sure. Wish I knew more about compiler internals... (...) have (...) It's all custom written - (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: cannot download RCX Code
 
(...) You might try disableing the FIFO (if it has one) in the serial port configuration. Depending on what other applications use the serial port, you will probably want to re-enable the FIFO when using those applications. Mike (24 years ago, 25-Mar-01, to lugnet.robotics.rcx)
 
  Re: legOS papers?
 
(...) I could do with some technical references for my bibiliography, and so after much searching[1], I can reveal that that AUC is Aalborg University, Denmark. Furthermore, most of the authors can be found in the Computer Science department: (URL) (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Linking failure when 'making' an lx file
 
(...) Syntax error: you are missing a parenthesis at the start, right after the if. But gcc should give a fat error at the ">" sign I believe. if( COND ) STATEMENT; if( (ul_var1 - ul_var2) > sizeof(uchar)) STATEMENT; (...) It is miraculous that the (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Memory Usage
 
(...) Having written a few embedded-systems compilers, I must say that using floating point on an 8-bit chip like the H8 is generally considered crazy. The values eat memory, and the libraries drawn in can get really large (at least for a production (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Library use in LegOS
 
Hi! Another technical question about LegOS: how are libraries like float handled today? Is there one copy linked into LegOS, or is each downloaded program equipped with its own copy? If I would use a different compiler, with a different set of (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: pass by refrence or value?
 
Some basic facts about C semantics: As already stated, globals MUST be volatile if they are accessed by more than one thread, otherwise reads and writes can be out of sync. What are the types of the variables involved? Scalar values like integers (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Obstacle detection : infrared sensor ??
 
(...) We have done this in C using LegOS (it is much easier to get it off the ground in nqc). The principle is simple: * Attach the light sensor in front of the brick, close to the IR tranceiver. preferably in a low position, since you want to (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  .lx format
 
Hi! I am presently helping some PhD students here at my university prepare the labs for a real-time course using LegOS. As part of the course, we want our students to experience a modern development environment for embedded systems, and have (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Obstacle detection : infrared sensor ??
 
(...) Yeah, I built a robot and programed it whith a nqc program that someone else wrote. I dont't remember who and I don't have any links, but I do remember how it worked The rcx would send out a infarad message every cauple of mlseconds and a (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Analogue Control of Pneumatics
 
Perhaps TLG should be meeting companies that produce valves of the same quality as those mentioned. It also sounds like the timing belt used for the test bed could be replaced or reinforced even more. -- Cheers ... Geoffrey Hyde "Xanthra47" (...) (24 years ago, 25-Mar-01, to lugnet.build, lugnet.general, lugnet.technic, lugnet.robotics.rcx)
 
  New Version of MacNQC
 
Hello, I have just released the final version of MacNQC 2.2. This release incorporates the latest (2.2 r2) version of the NQC compiler. Find and replace were added. An Auto indent mode in the editor was added. New RCX test and control panels were (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Analogue Control of Pneumatics
 
Yep, and if you combine those high-speed, high-precision pressure regulators with low stiction cylinders and a fast PID controller you can get even better accuracy and repeatability. When I was working for an encoder company, I scavenged some parts (...) (24 years ago, 25-Mar-01, to lugnet.build, lugnet.general, lugnet.technic, lugnet.robotics.rcx)
 
  Obstacle detection : infrared sensor ??
 
Hey.. I don't know if this is a LegOS question, but here it goes... Is it possible to detect obstacles via the infrared sensor, before you bump into them ?? Like measuring reflection of infrared light or something... If it is... how ?? can anybody (...) (24 years ago, 24-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Analogue Control of Pneumatics
 
Hi I did some 'research' in this area about three years ago for the control of a pneumatic robot arm. It was quite simple positional control ie position the piston at any point in the cylinders stroke and hold it there. The controller was just a PC (...) (24 years ago, 24-Mar-01, to lugnet.build, lugnet.general, lugnet.technic, lugnet.robotics.rcx)
 
  Re: NQCEdit
 
Dear two, I like your program very much. I have three suggestions: 1. Give a progress indication when downloading or uploading, if possible. 2. Identify unsaved changes by an asterisk behind the filename in the titlebar. 3. Allow to copy from the (...) (24 years ago, 23-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: The sound of train
 
(...) In a search at trains.com, i have found this message board: (URL) is a message board for model railroading, and may be very helpful to you. Josh (24 years ago, 23-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: Analogue Control of Pneumatics
 
Whoa. Not entirely correct. You can do accurate positioning with pneumatics, it's just harder to do than with hydraulics, because you have to take air compressiblity and seal "stiction" into account if you want to hit an arbitrary position that's (...) (24 years ago, 22-Mar-01, to lugnet.build, lugnet.general, lugnet.technic, lugnet.robotics.rcx)
 
  Re: light sensor multiplexer
 
hi Nitin, I'm an energy freak to, but I can't follow your reasoning Because I'm building a multiplexer too (probably will be posted next week, so I can make still some changes) and I'm using even lower resistor values then Michael (due to a (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx)
 
  Re: video game type thing...
 
(...) Are you doing the if() in some kind of loop, or an event function? If the button isn't pressed at the exact time you happen to execute the statement, it won't work. It's difficult to help debug your code without seeing your code 8?) ROSCO (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: The sound of train
 
I don't have any .dat or .wav files, but te create steam engine sounds, use white noise and pulse it. This is an old trick for that. Sonnich Zhengrong Zang <mikezang@iname.com> wrote in message news:3AB96E4A.45E7A5...ame.com... (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  Re: Analogue Control of Pneumatics
 
(...) I wouldn't say that at all. Its just that you'd need a good supply of compressed air (there's plenty of compressor designs about) and a good feedback mechanism. This is by no means impossible - just a bit tricky. ROSCO trimmed lugnet.general (...) (24 years ago, 22-Mar-01, to lugnet.build, lugnet.technic, lugnet.robotics.rcx)
 
  Re: Analogue Control of Pneumatics
 
(...) Ok. So you can't do it with pneumatics. Looking around for alternative ways of making a power steering mechanism, I found this link (URL) which gives an RCX based motor driven mechanism that might be of interest to others. Al Telanco (24 years ago, 22-Mar-01, to lugnet.build, lugnet.general, lugnet.technic, lugnet.robotics.rcx)
 
  Re: video game type thing...
 
(...) havent followed the whole conversation here, but if ur doing an "if "test and it doesnt hit when it should, you might consider displaying the TOUCH_2 variable on the display just before the "if" test, it might not be what you think it is! (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.legos)
 
  video game type thing...
 
Well, it still doesn't work even with the if(TOUCH_2){} instead of if(TOUCH_2 == 1){} . Any ideas? Nick H. (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: light sensor multiplexer
 
"Nitin Patil" <gn1721@lycos.com> wrote in message news:GALoKA.Eto@lugnet.com... (...) mA (...) If you use my simple approach, you need 4.7k and around 0.1uF. You need a low enough resistance to guarantee that the voltage drops to CMOS logic level 0 (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx)
 
  RE: Ooooops!
 
(...) You're right Mario. Like everyone else, I'm busy at my real job, but when I get time here and there I'm making improvements to the kernel. One idea was to provide multi-tasking built-in and having a standard button driver will help with (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.pbforth)
 
  Re: light sensor multiplexer
 
In lugnet.robotics.rcx, Michael Gasperi writes: Ok I agree what you say about time constant of your RC But still by using such low resistance you are wasting power. almost 1.5 mA is flowing through this 4.7K. you can keep RC constant and increase R (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx)
 
  Re: Ooooops!
 
(...) it? (...) From what I understood (I might be wrong) while the pbforth kernel is running the buttons have no predefined action, so there's no way to make the RCX sleep without using the terminal console. Of course you can do that in your own (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.pbforth)
 
  The sound of train
 
I need the the dat of sound of train warning or alert for my RCX controlled train projects, does anyone help me? Zhengrong (24 years ago, 22-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
 
  New Site
 
I have created a new site as a reference for educators using RoboLab in the classroom. I would love to have some of you visit the site and provide feedback. At present we have only a few examples, but we are working on adding many more. The most (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.robolab, lugnet.robotics, lugnet.edu, lugnet.robotics.edu, lugnet.robotics.events.robot-arena, lugnet.robotics.rcx, lugnet.publish.html, lugnet.loc.us.in) ! 
 
  Re: light sensor multiplexer
 
"Nitin Patil" <gn1721@lycos.com> wrote in message news:GAKC9v.F5A@lugnet.com... (...) With the 0.1uF in parallel with the 4.7K, the voltage on the clock circuit is still above the measurement voltage during the normal read interval. It doesn't (...) (24 years ago, 21-Mar-01, to lugnet.robotics.rcx)
 
  Re: light sensor multiplexer
 
(...) Regarding the power used I think you are correct since it is or the order of few microamp. but even then your design can not ( rather Do not ) switch power. Also what I did not like in your desigh is 4.7K resistor. which changes reading in (...) (24 years ago, 21-Mar-01, to lugnet.robotics.rcx)
 
  Re: light sensor multiplexer
 
In lugnet.robotics.rcx, Rainer Balzerowski writes: hi Rainer (...) This is not true since you need to maximum of 60ms after that time out occurs in microconterolor and it chanes the sensor. yes that is true that it is slow for your application. I (...) (24 years ago, 21-Mar-01, to lugnet.robotics.rcx)
 
  Re: light sensor multiplexer
 
(...) I'll bet you can't even measure the power used in the two CMOS parts. Why don't you publish your design so we can pick on it? Michael Gasperi (24 years ago, 21-Mar-01, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more | 100 more

Redisplay Messages:  All | Compact

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