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

Reply via email to