Palm to COTS Dust IrDA Link 
Spring 1999
Goal:
Develop a 1 in3 self-contained device
that includes various sensors and wireless communications (COTS
dust) utilizing IrDA DATA so that it can communicate with the plethora
of IrDA capable devices such as the Palm
Computing platform, laptop computers, and other COTS dust devices.
Presentations:
-
Sensor and Actuator
Overview
-
Spring 1999 Final
Presentation
Purpose:
-
Demonstrate wireless communication between a stock
IBM Workpad and a small multi-sensor node
-
Demonstrate an IrDA relay node to form the routers/gateways
for a TCP/IP over IrDA network. Each node would provide entry to
the network by IrDA devices such as the IBM Workpad and act as a router
to distribute packets throughout the network. One or more of the
nodes would connect to a IrDA dongle hanging off a networked desktop computer
or an IrDA
to Ethernet interface so that each device can connect to the Internet
without being in proximity to a port.
Deliverables:
-
IrDA Board 1 (one sensor, one transceiver)
-
Schematics: Coin
Cell version, 2/3A Cell version
-
Layout
-
Coin Cell version: 1.18" x 0.90" = 1.06 in2
-
2/3A Cell version: 1.68" x 0.71" = 1.19 in2
-
Photograph of
stuffed board (with temperature sensor missing)
Tasks:
-
Select IrDA components
-
Vishay Telefunken TFDU4100
or TFDS4500
-
up to 115.2 kbps
-
1.0 mA supply current (Receive)
-
3.5 mA supply current (Transmit)
-
typical 210mA transmit LED current
-
5nA Sleep current
-
built-in EMI protection
-
3m range
-
Samples: (2-3 weeks)
-
ELREPCO, Inc.
-
(650)926-0660
-
777 Cuesta Drive, Mountain View, CA 94040
-
Maxim MAX3100
SPI/Microwire-Compatible UART
-
8-word FIFO
-
150µA operating current
-
10µA current in shutdown
-
16-pin QSOP package
-
Design PCBs
-
PCB prototypes from Alberta
Printed Circuits, Proto 1 service
-
basic relay PCB - five transceivers (each edge of
the board plus the top) and one sensor (temperature or light)
-
sensor PCB - five transceivers and >6 sensors
-
Analog DevicesAD7814
10-Bit Digital Temperature Sensor
-
Resolution: 0.25°C
-
Accuracy: ±2°C
-
6 lead SOT-23 package
-
250µA in normal mode
-
1µA in shutdown mode
-
SPI interface - 10MHz max serial clock
-
Samples:
-
not available from distributors yet
-
Analog Devices Customer Service: (800)262-5645, Lee
Johnson, before 3:30pm PDT
-
Crystal Oscillator options:
-
If use oscillator, only need one for both microcontroller
and UART
-
If use crystals, need one for the microcontroller
and another for the UART, but can then power down the oscillator
-
Epson MC-405 surface mount quartz crystal, 32.768kHz
(RTC/sleep counter), Digi-Key page 245
-
ECS Inc. ECX-306 SMT quartz crystal, 32.768kHz (smaller
than MC-405), Digi-Key page 249
-
ECS Inc. CSM-12 surface mount crystal, 3.6864MHz,
Digi-Key page 252
-
ECS Inc. through hole crystal, 1.8432MHz, Digi-Key
page 250
-
Epson SG636PCE/636PCV
Oscillator, 3.2768 MHz (115.2 kbs), Digi-Key page 243
-
Output enable
-
9mA max
-
measured a 5V 1MHz crystal at 3V, room temperature
- 0.75mA
-
ECS Inc. ECS-8FM Oscillator, 1.8432 MHz (57.6 kbs),
Digi-Key page 252
-
Switch transistor for transceiver shutdown: Zetez
FMMT3906 PNP, Digi-Key page 208
-
Switch:
-
CTS SMT Half Pitch DIP Switches, Digi-Key p. 423
(CT2182LPST-ND)
-
C&K
Components GT series
toggle switch, Allied p. 234
-
E-Switch
EG1270 slide switch, Digi-Key page 417
-
Resistors:
-
Panasonic 0402: SM, 5%, 1/16W, 1x0.5mm, Digi-Key
p. 354
-
Panasonic 2512: SM, 1%, 1W, 6.4x3.2mm, Digi-Key p.
354
-
Capacitors: Panasonic Ceramic Chip Capacitors 0402,
0603, Digi-Key p. 340
-
Connector: Waldom molex micro-miniature 1.25mm, 9.25x3.2mm,
Digi-Key p. 52 (SM Header: WM1768-ND)
-
LED: LITEON
Optoelectronics, 0603 SOT-23, red, Digi-Key p. 576
-
Batteries: battery choice set by max current drain
for transmit LED
-
First case: coin cell with 15mA max drain; use capacitor
to provide higher drain
-
assumptions: equal probability of '1' or '0'
-
(1/2 probability of driving the LED) * 1/(9600 bps)
* (3/16 duty cycle) * (0.21 A for the LED) = 2.1µC per bit
-
(10 bits per word) * ((16 control words + up to 64
payload words) per frame) * 2.1µC per bit = 1.6mC per frame
-
1.6mC per frame / 3V = 547µF storage capacitor
-
Panasonic VS
Aluminum Electrolytic Capacitor, Surface Mount: 4V, 1000µF, 63µA
max leakage current, 2000 Hour Life at 85°C, Digi-Key page 315
-
Panasonic Lithium Coin Cell, 210 mAh, 15mA max drain,
0.2 mA standard drain, 20x3.2mm, Digi-Key page 496
-
Memory Protection Devices, PC Mount Coin Cell Holder,
Digi-Key page 499 (BH800)
-
measured the average LED current for an HSDL 1001
transmitting at 2400bps and about 10 words/sec: 0.55mA
-
Second case: larger battery that can provide the
large drain
-
Panasonic Lithium 2/3A, 1200 mAh, 17x33.5mm, 250mA
max drain, 2.5mA standard drain, Digi-Key page 496
-
Memory Protection Devices, PC
Mount Low Profile 2/3A Cell Holder, Digi-Key page 499 (BC 2/3AE)
-
Atmel AT90LS8535
8-bit
AVR Microcontroller
-
8KB in-system programmable flash
-
512 bytes EEPROM
-
512 bytes SRAM
-
8 Channel 10-bit ADC
-
UART
-
0-4MHz clock
-
analog comparator
-
2.7-6.0V operation
-
SPI interface - fclock/4 max
-
44 pin TSOP package
-
Power at 4 MHz, 3V
-
Active: 5mA
-
Idle (CPU stopped, all peripherals on): 3mA
-
Power Down (oscillator stopped, only external interrupts
or reset (WDT or external) wake up the MCU), WDT enabled: 15µA
-
Power Down (oscillator stopped, only external interrupts
or reset wake up the MCU), WDT disabled: 5µA
-
Power Save (same as Power Down, except asynchronous
Timer/Counter2 still runs and can wake the MCU), WDT disabled: 15µA
-
Atmel AVR microcontroller coding
-
Imagecraft
AVR C compiler
-
Implement the IrDA protocol stack on the Atmel
AVR
-
Write code to sample the sensors and send the data
immediately to the Workpad
-
Write code to sample the sensors, store the data
with a timestamp, and send the stored data to the Workpad upon command
-
Write relay code
-
Extend relay code to provide routing
-
Palm Computing Platform coding
-
Program to grab data from the sensor mote and display
it
-
Extend above program to plot the data
-
Extend above program to grab selected stored data
and plot it
-
Deliverables (at least 1 and 2 this semester)
-
Workpad acquiring data from a single mote
-
A single Workpad using a relay mote (one or more)
to connect with the IrDA dongle on a PC with a TCP/IP connection
-
Workpad acquiring data from a network of motes
-
Multiple Workpads communicating with each other and
a PC over a network of relay motes
-
Extend the last point to allow the Workpads to get
data from the sensors embedded in the network
References
Palm Computing and IrDA
IrDA
Interesting Projects and Products
Brett Warneke, October
28, 1999
|