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 / 4355
4354  |  4356
Subject: 
Re: multi-device output controller (fwd)
Newsgroups: 
lugnet.robotics
Date: 
Fri, 26 Mar 1999 17:08:43 GMT
Original-From: 
Jim Choate <ravage@/antispam/EINSTEIN.ssz.com>
Viewed: 
997 times
  
----- Forwarded message from Jim Choate -----

From: Jim Choate <ravage@ssz.com>
Subject: Re: multi-device output controller (fwd)
Date: Fri, 26 Mar 1999 10:34:22 -0600 (CST)

It's actualy pretty easy. Take the analog RCX output, integrate, S&H, A/D,
serialize and then send to a MAX232 devices and wallah, RS-232.

----- End of forwarded message from Jim Choate -----

Obviously that should be PWM RCX output. Sorry, I mis-typed because I was
thinking of another way to convert the signal.

Take the output and look for every positive going edge. Then start a clock
that counts until the falling edge. It would get stored and the counter
would be cleared for the next positive going edge. The number could be fed
to a digital resistor and create an analog output via some sort of R-2R
network. You could also send the number directly to the RS-232 as data and let
the software convert it to a usable value. Since the PRR of the PWM output
would be known, as well as the counter rate, it becomes reasonably easy to
calculate what the effective signal is.


    ____________________________________________________________________

        The trouble with acting according to your conscience is that
        once you start doing it, nobody can trust you any more.

                                            Alexis A. Gilliland

       The Armadillo Group       ,::////;::-.          James Choate
       Austin, Tx               /:'///// ``::>/|/      ravage@ssz.com
       www.ssz.com            .',  ||||    `/( e\      512-451-7087
                           -====~~mm-'`-```-mm --'-
    --------------------------------------------------------------------


--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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