To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3283
3282  |  3284
Subject: 
Re: brickos-0.2.6.10 CONF_DSENSOR_MUX problem
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 19 May 2003 21:09:42 GMT
Viewed: 
3402 times
  
I tried the following program and it seems to be doing something
useful with the sensor power. I looked at it on the scope and
it generates a regular pattern with 10ms pulses.  I don't have one
of these sensor mux devices so I can't actually tell if it is working,
though.

Mark

#include <dsensor.h>

int main()
  {
  ds_mux_on(&SENSOR_1, 10, 10, 10);
  while (1);
  }

"Bernhard Powolny" <b.powolny@mobilkom.at> wrote in message
news:HEx1zF.117@lugnet.com...

After I have done the changes desribed in
thread: http://news.lugnet.com/robotics/rcx/legos/?n=3266
Subject:  brickos-0.2.6.10 .text is not within region ram
now i can compile the kernel with CONF_DSENSOR_MUX.

But the DSENSOR_MUX does not work.

I have checked this item with an osciloscope on the INport of RCX.
The switching is not working (sensor in avtiv for 10ms /passiv 10ms and so • on).

To test this stuff without having an osziloscope almost everybody can do
that with the PC and a soundcard.

1)  description of the simple curcuit:
    RXC port has activ about 7 V .
    The input of a soundcard (called AUX or LINEIN ) need approx. 700mV • (it
is more or less the same voltage you need fon taperecorder or • preamplifieres).

    So you need 2 resistors drop down the volatage from 7V to 0.7 V


100 KOhm
          ___
7V  ----I___I----------------------  700 mV to AUX/line input from • soundcard
        |
port              --
from              I I
RCX               I I 10 KOhm
                   I I
                   --
                    |
    -------------------------------  to GND input from soundcard

2) you need a windows program for recording (eg Soundforge) and to • visualize
the *.wav file.


    best regards Bernhard



Message is in Reply To:
  brickos-0.2.6.10 CONF_DSENSOR_MUX problem
 
After I have done the changes desribed in thread: (URL) brickos-0.2.6.10 .text is not within region ram now i can compile the kernel with CONF_DSENSOR_MUX. But the DSENSOR_MUX does not work. I have checked this item with an osciloscope on the (...) (22 years ago, 15-May-03, to lugnet.robotics.rcx.legos)

2 Messages 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