Pinky,

 You may use the MSP430GeneralIO interface for telosb/tmote. Suppose
you are using P6.3 to control your sensor:

 In your module:
 ...
   uses {
   interface MSP430GeneralIO as P63;
  ...
   }
 ...
   call P63.selectIOFunc();
   call P63.makeOutput();
   call P63.setHigh();
 ...

 In your configuration, wire YOUR_COMPONENT.P63 -> MSP430GeneralIOC.port63.

- Dongyan

On 4/6/06, pinky tejwani <[EMAIL PROTECTED]> wrote:
> Hi all,
>    Thanks for all the help with Digital output voltage.
>
> I recently moved from 1.1.13 version to 1.1.15 version and now the
> same code does not work. I looked in to the hardware.h file under
> telosb platform, it says TOSH
> command are not used anymore. Instead use the commands like P2OUT =
> 0x01 to toggle the output.
> I tried this, and unfortunately it does not work either. I am still
> debugging the code, but would like to know any thoughts or facts from
> the members here.
>
> Also can anyone help me with using MSP430GeneralIO interface ? Can
> this be used with TelosB Platform or does it needs some changes in the
> makerules or download some more binary utilities ?
>
> I appreciate the effort. Hope to hear from someone soon.
>
> Thanks,
> Pinky Tejwani.
>
> On 2/15/06, Robert Szewczyk <[EMAIL PROTECTED]> wrote:
> > Look at the page 29 of MSP430 datasheet -- it has the data about how
> > much current the MCU can source and sink through the IO pins
> > (http://focus.ti.com/lit/ds/symlink/msp430f169.pdf).
> >
> > Rob
> >
> > On 2/15/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
> > > also, once all that is settled, make sure that you are not
> > > trying to draw too much current from the pin to turn on your
> > > sensor. The ATMEGA specs say 40mA max, I don't have the telos
> > > chip specs but it's probably similar. Anyway I think that is
> > > pushing it, I'd be more comfortable with <10mA.
> > > MS
> > >
> > > Matthew J Whelan wrote:
> > > > The output voltage of the GIO set high should be the about same as your
> > > > battery voltage.  Do you have the P2.0 pin setup right?
> > > > P2SEL &= ~(0x01);    //Sets P2.0 to GIO
> > > > P2DIR |= 0x01;   //Sets P2.0 to output
> > > > P2OUT |= 0x01; // Sets P2.0 high
> > > > What about the P6.3 (since the ADC3 input is wired to pin 10 as well)?
> > > > P6SEL &= ~(1<<3);  //Sets P6.3 to GIO
> > > > P6DIR |= ~(1<<3);  //Sets P6.3 to input
> > > >
> > > > Is there some significant load on your signal which is causing it to
> > > > drop in voltage?
> > > >
> > > > Regards,
> > > > Matt
> > > >
> > > >
> > > > [EMAIL PROTECTED] wrote: -----
> > > >
> > > >     To: [email protected]
> > > >     From: pinky tejwani <[EMAIL PROTECTED]>
> > > >     Sent by: [EMAIL PROTECTED]
> > > >     Date: 02/15/2006 02:21PM
> > > >     Subject: [Tinyos-help] GIO -- Output Voltage.
> > > >
> > > >     Hello All,
> > > >       I have written a code for bit-banging using the TOSH macros for
> > > >     General I/O pins.
> > > >     Platform - TelosB/TmoteSky
> > > >     The voltage that I get on the pin 10 of U2 connector is 1.3 or 1.5 V
> > > >     maximum.
> > > >
> > > >     The aim of the exercise is to use one of the digital output pins to
> > > >     switch on/off a sensor. Can someone tell me if there is a way to 
> > > > make
> > > >     the digital output voltage to be above 2 V ?
> > > >     ( I am trying to avoid using an external circuit to do that )
> > > >
> > > >     Hope to hear from someone.
> > > >
> > > >     Thanks,
> > > >     Pinky Tejwani.
> > > >     Clemson University.
> > > >
> > > >     _______________________________________________
> > > >     Tinyos-help mailing list
> > > >     [email protected]
> > > >     
> > > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Tinyos-help mailing list
> > > > [email protected]
> > > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > > _______________________________________________
> > > Tinyos-help mailing list
> > > [email protected]
> > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
> --
> Pinky Tejwani
> Graduate Student
> Clemson University
> [EMAIL PROTECTED]
> #864-650-7835
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to