So I was messing around with the MDA300 excitation channels, and I have a
few questions. (I'm using micaz with tinyos1.x).

1. The following does not work:

call EXCITATION25.on();
call EXCITATION33.on();
call EXCITATION50.on();

   This, however, DOES work:

call EXCITATION25.on();
call EXCITATION33.on();
call EXCITATION50.on();
call Sampler.getSample(1, ANALOG, 10, EXCITATION_25);

   After some further investigation, I found that if the 'convert()' method
is called within IBADCM, then everything works fine. If that line's never
called, then I can't get the excitation channels to turn on. After changing
the following in IBADCM.nc:

command result_t StdControl.start() {
    call SwitchControl.start();
    chan = 1;
    state = START_CONVERSION_PROCESS;
    convert();
    return SUCCESS;
}

   everything seems to work fine. Does anyone know why this is happening?

2. Also, I'm trying to cycle turning on the 5V, 3.3V, and 2.5V excitation
channels in a round robin fashion. Every 500ms, a different channel should
turn on, but it isn't working correctly. Everything just stays at 0V if I
try that. I'm gone up to 2000ms, but everything's still stuck at 0V with the
exception of the 2.5V channel being stuck at 20mv or so. Is there a certain
delay I have to wait for the voltages to stabilize or something?

3. Finally, I'd really like to drive 4 Leds on my board, but there's only 2
Led output ports. The digital outputs only give 1.7V which is not enough to
light my Leds (they require 2.5V). Does anyone have an idea as to how I can
drive and control 4 Leds? Would some sort of charlieplexing work?


- Thanks
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to