Palm Wireless - Rochester Institute of Technology

Download Report

Transcript Palm Wireless - Rochester Institute of Technology

Palm Wireless
Morgan Demers
Erik Golen
Presentation Agenda
 Project
Definition
 Technical Specifications
- Hardware
- Communication Protocol
- Chat Client
 Performance
Metrics
 Project Management
 Questions
Project Definition
 Wireless
communication between
two Palm devices.
 Auto recognition of other Palm user.
 Chat capabilities.
 Test the range limitations of the
wireless hardware used.
Project Limitations
 Only
two( 2 ) Palm devices.
 Maximum operating range ~300
feet.
Hardware
 Rentron
TXLC-434
 Rentron RXLC-434
 TWS-ANT ( dependent on tests )
 2 Palm m100’s
 MAX-3226 ( +3V RS-232 Transceiver )
TXLC-434
Features
•Direct Serial Interface
•Low Cost
•No Production Tuning
•Wide Supply Range
Vcc
Min
2.7 V
Typical
-
Max
5.2 V
Input Low
0
-
0.4
Input High
2.5
-
Vcc
Frequency
433.845 MHz
433.92 MHz 433.995 MHz
RXLC-434
Features
•Direct Serial Interface
•Low Cost
•No Production Tuning
•Outstanding Sensitivity
Vcc
Min
2.7 V
Typical
-
Max
5.2 V
Output Low
0
-
0.2
Output High
Vcc – 0.3
-
Vcc
Frequency
433.845 MHz 433.92 MHz 433.995 MHz
MAX-3226
Features
•Low Supply Voltage (+3V)
•Auto Shutdown
•Low Cost
•Converts Signal from RXLC434 to Standard RS-232
Vcc
Min
Typical
Max
3.0 V
-
5.5 V
Why MAX-3226?
 The
RXLC-434 receiver outputs its data
in standard 5V TTL Format. This format
is not compatible with the serial port,
and so the data needs to be converted
into the RS-232 standard.
Block Diagram
Palm Connector Pinout
2 4 5
6 10
Pin 2: Vcc (+3.3 V)
Pin 4: Rx
Pin 5: RTS
Pin 6: Tx
Pin 10: Gnd
max3226
Data Communications
 Sends
32 bit data packets
8 bit opcode
8 bits
24 bits
24 bit data
 Packet Based Handshaking
 Built on top of serial communication
hardware existent in Palm.
Data Packet Opcodes
Name
Opcode
Start User Data
Transmission
0001 0000
Start Text
Transmission
0010 0000
Handshake
0011 0000
Continue
Transmission
0100 0000
End
Transmission
0101 0000
Chirp
0110 0000
Connect
0111 0000
Disconnect
1000 0000
NOP
$90 - $F0
Chat Client
 Written
using the Palm SDK
 C Based
 Serial Communications done via
provided Functionality in the Palm SDK
 Interrupt
Driven Event Handler for
Receiving data
 Interrupt is fired upon receiving 32 bits of
data
 Provide
Chat Interface, and user
information from other palm device
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Searching for Palm
Devices…
Please Wait…
Palm A
Timer Freq: 100ms
Status:
Chirping
Packet Out: Chirp
Packet In: ?
Palm B
Timer Freq: 100ms
Status:
Chirping
Packet Out: Chirp
Packet In: ?
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Com | Turn Off | ?
Palm Device Detected
Searching for Palm
Devices…
Please Wait…
Palm A
Timer Freq: 100ms
Status:
Sending
Packet Out: ?
Packet In: Chirp
Please Wait…
Palm B
Timer Freq: 100ms
Status:
Chirping
Packet Out: Chirp
Packet In: ?
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Com | Turn Off | ?
Palm Device Detected:
Connecting
Palm Device Detected:
Link Established
Please Wait…
Palm A
Timer Freq: 3 ms
Status:
Sending
Packet Out: Connect
Packet In: ?
Please Wait…
Palm B
Timer Freq: 3 ms
Status:
Receiving
Packet Out: ?
Packet In: Connect
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Com | Turn Off | ?
Palm Device Detected:
Sending Your Profile
Palm Device Detected:
Receiving Palm Data
Please Wait…
Palm A
Timer Freq: 3 ms
Status:
Sending
Packet Out: ?
Packet In: Handshake
Please Wait…
Palm B
Timer Freq: 3 ms
Status:
Receiving
Packet Out: Handshake
Packet In: ?
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Com | Turn Off | ?
Palm Device Detected:
Sending Your Profile
Palm Device Detected:
Receiving Palm Data
Please Wait…
Palm A
Timer Freq: 3 ms
Status:
Sending
Packet Out: S.U.D.T.
Packet In: ?
Please Wait…
Palm B
Timer Freq: 3 ms
Status:
Receiving
Packet Out: ?
Packet In: S.U.D.T.
Palm Wireless Simulation
~300 ft playing field
Palm A will continue to send 32bit packets with
the “Continue Transmission” opcode. The handshaking
method shown in the prior slides will be used to send
each packet.
The last packet that Palm A will send is an
“End Transmission” packet which lets Palm B
know that all the data has been transferred.
Palm A
Timer Freq: 3 ms
Status:
Sending
Packet Out: ?
Packet In: Handshake
Palm B
Timer Freq: 3 ms
Status:
Receiving
Packet Out: Handshake
Packet In: ?
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Com | Turn Off | ?
Connected To:
Connected To:
Username: Morgan
Company : MindViz
Phone : 222-111-3333
Username: Erik
Company : none
Phone : 111-222-3333
Send Text Message
Palm A
Timer Freq: 3 ms
Status:
Chirping
Packet Out: Chirp
Packet In: ?
Send Text Message
Palm B
Timer Freq: 3 ms
Status:
Chirping
Packet Out: ?
Packet In: Chirp
Palm Wireless Simulation
~300 ft playing field
Com | Turn Off | ?
Com | Turn Off | ?
Morgan: Hi
Erik: Whatcha up to?
Morgan: Hi
Erik: Whatcha up to?
Msg
Msg
Nothing Much
Send Text Message
Palm A
Timer Freq: 3 ms
Status:
Chirping
Packet Out: Chirp
Packet In: ?
Send Text Message
Palm B
Timer Freq: 3 ms
Status:
Chirping
Packet Out: ?
Packet In: Chirp
Performance Metrics
 Full
Operating Distance
 Data Loss ( Packet Segmentation )
 Achieved transfer rate
Budget
Part
Description
Quantity
Total
Cost
TXLC-434
RF transmitter module to send out data
packets and chirp signals.
2
$29.90
RXLC-434
RF receiver module to receive data packets
and detect chirp signals.
2
$45.90
MAX-3226E
RS232 Transceiver – Used to convert signal
from RXLC-434 to RS232 compatible signal
before being sent to the Palm
2
Free from
Maxim IC
TWS-ANT
Whip antenna for optimum signal reception.
4
$30.00
Palm M100
Actual Palm device.
2
$160.00
PC Board
Silicon board used to solder the transmitter
and receiver to, and to allow the connector
cable and antenna to be attached.
2
$10.00
Misc
Electronics
Includes connector cables from the Palms to
their respective communication boards. Any
needed resistors, capacitors, transistors,
jumper blocks, RS232 connectors, etc.
Palm OS Software Development Kit
-
$100.00
1
Free
-
$375.80
Palm SDK
Bottom Line
Schedule
Completion Date
Milestone
Mid June
Order all parts.
Early July
Assemble first transmitter/receiver unit on breadboard.
Late July
Built connectors for both Palms.
Mid August
9.12.2002
Sent data via serial port of each Palm through transmitter to
receiver chip.
Design Review Presentation
9.17.2002
Assemble second transmitter/receiver unit on breadboard.
9.17.2002
Send/receive 0’s and 1’s from Palm to Palm.
9.17.2002
Begin testing distance ranges of R/X chips.
9.24.2002
Send/receive 24-bit data packets.
10.1.2002
10.1.2002
Begin building proto boards to port R/X units from
breadboard.
Send/receive chirps and decode/encode packets.
10.8.2002
Further range testing for full size packets.
10.8.2002
Start building chat/recognition software
10.15.2002
Finish building chat/recognition software
10.15.2002
Finish proto boards for R/X units.
Questions?