To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 22520
22519  |  22521
Subject: 
Re: RCX and Micro Scout Communication
Newsgroups: 
lugnet.robotics
Date: 
Wed, 26 May 2004 08:31:18 GMT
Original-From: 
Donald Hosford <Donzerme@&ihatespam&Yahoo.com>
Viewed: 
1241 times
  
Basicly, you can use the Microscout as an extra motor (but of course you're
blowing away a motor port to do it!   The ms_Fwd and ms_Rwd commands have an
unavoidable delay in between them, so you can't get the motor to run
continuously (not that I'm aware), but at least you don't get the annoying beep
between each VLL command when using immediate mode that you get when using the
script mode.

Look in the rcx2vll.h file (from the SDK) for all the VLL commands.

You could probably alter the VLL commands so that instead of using up a motor
port, they would switch a sensor port between active and passive to control the
light sensor LED.

-------------------------------------------------

Idea!  Instead of using the light sensor, use the fiberoptic unit.
(I got mine from the Mindstorms Extreame Creatures set)
Connect each fiber (it has 8!) to the light sensor of a MicroScout.

Each unit can communicate with upto 8 MSs -- one at a time.
This arrangement requires:
    one motor port to turn the fiberoptic unit
    one sensor port to be the communication channel.
    (maybe one more sensor port to detect when the fiberoptic unit was lined up
with a MS)

If you use two of the fiberoptic units, both on the same motor shaft, you can
communicate with 16 MSs -- two at a time.  Use a separate sensor port for each
Fiberoptic unit.

This is the only ALL LEGO way I can think of to control more than 3 motors...



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Contact Recovery Nerd for Speedy USDT / BTC Recovery
18 hours ago
Custom Search

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