The diagram above is actually for an extended version of the dream
jammies I'm working on, but you get the point. Under the left armpit
will be the lilypad xbee, under the right is the battery. In the middle
is the vibe board and an accelerometer, although I'm slightly worried
whether the vibe board will effect the accelerometer's readings. We'll find
out. The temperature board is close to the armpit for a better reading.
Everything will be insulated so you don't feel hard parts - particularly
the armpit areas.

I'm going to put my money on developing an iphone app. I spent my time
last class doing research, and I've made progress programming. For
midterm I have ajax code which I can use to demonstrate. The lilypad
xbee's arrived which is terribly exciting. Rob Faludi has been
extremely gracious in coordinating the order and generous with his time.
Thanks Rob! I have the prototype belt which will go into an existing
pair of pajamas at least halfway there, but I need another day to finish
it up.

- xbee note: don't forget to tie VREF to VCC for analog readings

Here are some useful links for xbee stuff:

http://itp.nyu.edu/~raf275/blog/archives/2006/12/xbee_direct_io.html
http://www.tigoe.net/pcomp/code/category/Processing/11 (process app for config)
http://www.johnhenryshammer.com/TEChREF/xbeePage/series1/series1.html
http://www.makingthings.com/documentation/how-to/update-xbee-settings-with-x-ctu

"In order to upload new firmware to the board, you need to make an
additional wire connection to the XBee module. Connect a wire from GND
to pin DI8 on the XBee Board. Without this connection, the upload will
not succeed."

Indeed. DI8 is Pin 9.

So far, here are my xbee settings for the pajamas:

COMPUTER MODULE:
ATID556 --> PAN ID
ATMY2 --> my address 2
ATDL1 --> destination address 1
ATP0 --> PWM mode (pin 6, receive from D0)
ATD1 --> Digital out (pin 19, transmit to D1)
ATIU1 --> I/O output enabled
ATIR --> sample rate 20 milliseconds (hex 14)
ATIA --> I/O from all FFFF
ATIT --> samples before transmit 5
ATWR --> write settings to firmware

PAJAMA MODULE:\
ATID556 --> PAN ID
ATMY1 --> my address 1
ATDL2 --> destination address 2
ATP0 --> RSSI mode
ATD0 --> ADC mode (pin 20, transmit to PWM0)
ATD1 --> digital in (pin 19, receive from D1)
ATIU --> I/O output enabled 1
ATIR --> sample rate 20 milliseconds (hex 14)
ATIA --> I/O from all FFFF
ATIT --> samples before transmit 5
ATWR --> write settings to firmware

-- Fri, 24 Oct 2008 19:53 -0400

Copyright © 1996-2009 Alexander Reeder
All rights reserved unless otherwise noted