To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.technicOpen lugnet.technic in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Technic / 10721
10720  |  10722
Subject: 
Re: EGAD! (pneumatics)
Newsgroups: 
lugnet.technic, lugnet.robotics
Date: 
Mon, 16 Jun 2003 04:22:03 GMT
Viewed: 
1577 times
  
Kevin L. Clague wrote:
You are doing well Mark.  You can use three voltage comparators to detect which
voltage level is being output.  What you need is three comparators.  One for
25%, then 50%, and 75%. If 75% is on, then you'll need to gate off the 25% and
50% outputs.  If 50% is on, you'll need to gate off the 25% output.  If 25% is
not on, then you know you have no power, giving you four levels.

I was thinking that one could just use an ADC to directly convert the
analog voltage level to a digital number of however many bits you could
resolve it to and then taking that binary number to address a demux and
have the demux's outputs drive the switches.

Using a single ADC instead of a comparator for each voltage level would
use far fewer chips, for anything above 4 voltage levels, at the very
least.  I'd bet that it's probably completely feasable to individually
drive 16 or maybe even 32 switches from a single RCX port this way.

>> Mark



Message has 1 Reply:
  Re: EGAD! (pneumatics)
 
(...) When using LEGO's firmware and NQC the maximum number of power levels you have is 8 (plus off?), so the most you can identiy is 9. This of course presumes that current draw by your compressor's motors doesn't mess with the voltage going into (...) (21 years ago, 16-Jun-03, to lugnet.technic, lugnet.robotics)

Message is in Reply To:
  Re: EGAD! (pneumatics)
 
(...) You are doing well Mark. You can use three voltage comparators to detect which voltage level is being output. What you need is three comparators. One for 25%, then 50%, and 75%. If 75% is on, then you'll need to gate off the 25% and 50% (...) (21 years ago, 15-Jun-03, to lugnet.technic, lugnet.robotics)

13 Messages in This Thread:




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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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