 | | Light Sensor/Scanning Program
|
|
Well, I've got a good part of a scanner program done, but I have a question, to convert the light data to RGB, there has to be some form of a conversion to bring the RCX data (Base 100) to the RGB coding (Base 255). I was wondering how would be the (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: IR Transmitter - where's the "off" switch?
|
|
I don't have a RIS, but I always heard that one of the worst things of the IR tower is that automatically powers itself off after 2 or 3 seconds of use. And because of that, you cannot send messages from the MindStorms to the tower because it only (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: Mindstorms RIS RCX problem
|
|
The problem is that each tone is queued into a buffer and the firmware automatically processes the next intruction in the program. Since the next instruction is another tone, the queue starts filling faster than can be processed, since each tone (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: Light Sensor/Scanning Program
|
|
If it "reading" ranges from 35 to 50: result = (reading-35)*17 It seems pretty simple to me... Laurentino Martins [ mailto:lau@mail.telepac.pt ] [ (URL) ] -- Did you check the web site first?: (URL) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: IR Transmitter - where's the "off" switch?
|
|
Brian, I think your tower is the odd one out here. My LED only turns on while the tower is transmitting, and goes off a few seconds after it finishes. My guess is that there is something wierd about your serial port, but I haven't seen the problem (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Apology
|
|
Greetings, I want to apologize for the out-of-office responses I sent to the group yesterday. I hope I did not cause anyone to much grief! <<...>> -- Did you check the web site first?: (URL) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: Mindstorms RIS RCX problem
|
|
Just an add-on to this. You can use a "wait" of a value that equals the total tone duration for several tones. You will find that using "wait" after each tone will limit the number of icons allowed in your program. Bob Fay Laurentino Martins (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: Mindstorms RIS RCX problem
|
|
Sounds like you have some other software trying to use you com port. Have you tried swapping ports? My battery is still good after many months and it is plugged in all the time. Brian H. Nielsen <70401.2635@compuserve.com> wrote in message (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: Mindstorms RIS RCX problem
|
|
Since he can use the tower without *any* problem, my guess is that the problem is not with the COM port, but with the tower itself. To my knowledge no one ever came up with a way to keep the tower alive by software besides sending some data at (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|
| |
 | | Re: My "new" rotation sensor
|
|
(...) Newbie here. Is this "fiber-optic lights unit" the same as the rotation sensor that's now on the Mindstorms page? Has anyone tried turning the light sensor into a rotation sensor by building a shaft encoder? Face the light sensor into a (...) (27 years ago, 30-Jun-99, to lugnet.robotics)
|