Hi Matt,

It is possible to accomplish what you're proposing.  I would suggest
using the UART pins as general purpose IO, because I2C pins and the
bus is used elsewhere on Tmote Sky.  One thing you should keep in mind
is the current draw of your accelerometer -- the GPIO pins can source
less than 10mA, and for optimal performance you should keep them under
1 mA; if your accelerometer exceeds this current draw you might
consider using a MOSFET that's switched by the GPIO pins.  The UART
pins will work as GPIO by default, you need to make sure that they are
configured for output.

Cheers,

Rob

On 2/18/06, MATTHEW JEFFREY <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> First of all, I am new to all of this and appreciate any 
> advice/help/resources anyone can provide. I am trying to use a Tmote Sky to 
> power two accelerometers as well as record their accelerations. I'm going to 
> be making a PCB as part of the design, and to keep things simple, I'd like to 
> try and limit my connections to the 10-pin expansion connector on Sky. My 
> plan is to sample the accelerometers on inputs ADC0, ADC1, ADC2, and ADC3 
> (pins 3, 5, 7, and 10). Is it possible to configure the UART (pins 2 & 4) or 
> I2C (pins 6 & 8) via software to act as simple outputs that I can trigger 
> high and low to toggle power to the accelerometers? If so, how? If not, what 
> is the best way to go about accomplishing this?
>
> I've searched through the archives and found that this can be done for the 
> ADC pins, but didn't see any explicit mention that it can be done for other 
> pins. Thanks!
>
> Matt
>
> _______________________________________________
> 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