Windows Mobile 6
Download
Report
Transcript Windows Mobile 6
Bluetooth Auto-Silencer
Final Presentation
Senior Design II
Our Team
Mike Brokhoff
• CPE
• Programming
Android Device
Brantley Brokaw
• CPE
• Programming
microprocessor
• Programming
Windows
Mobile(R)
Delos McManus
Barbara Fountain
• EE
• EE
• Antenna control/ • Power controls
feedback and
and embedded
embedded layout
layout
Dr. Pan Li
Faculty Advisor
Overview
•
•
•
•
•
•
•
•
Problem
Solution
Constraints
System Overview
BAS Transmitter
Hardware Testing
Software Overview
Software Testing
o Android Development
o Windows Mobile Development
• Questions
Problem
As cell phones become more common in
everyday life, the need for cell phone
etiquette has become even more apparent
in certain areas of public life.
Incoming
Call
Solution
Use Bluetooth technology to develop a
hardware and software combination that
will automatically silence cellphones.
Incoming
Call
Constraints
• Technical
• Practical
Technical Constraints
Name
Description
Power Supply
Must use 120 VAC.
Software
Must operate on the Android version 2.2 as a test
base. Further expansions of mobile operating
platforms are planned.
Frequency Band
Software Response
Timing
Must transmit in a bandwidth between 2.4 and 2.48
GHz in order to comply with the Bluetooth
standard.
Cannot have a latency longer than 3 seconds.
The transmitter must have a line-of-sight range of
Transmission Distance
100 feet without obstructions.
Practical Constraints
Type
Name
Description
Economic
Cost
The transmitter must
cost no more than $150
Political
Compliance
The BAS must not
violate the
Communication Act of
1934
Economic Constraint
The transmitter must cost no more
than $150, and application software
will be free to all mobile device users.
Economic Constraint (Detailed)
Component
Bluetooth Modem - BlueSMiRF RP-SMA
Price
$52.00
2.4GHz Duck Antenna RP-SMA – 4”
$3.65
PIC24HJ32GP202 Microcontroller
$6.00
PCB Fabrication and Assembly
$17.00
Enclosure
$1.00
Switches (x2)
$1.50
LED (x2)
$0.30
Push Button
$0.25
Voltage Regulator
$2.00
Capacitors (x4)
$2.00
Wall Transformer
$6.00
Power Connector
$ 0.50
Resistors (x4)
$0.05
Total
$92.25
[6 & 7]
Political Constraints
The BAS must not violate the
Communications Act of 1934.
[2]
System Overview
BAS
Transmitter
Power
Supply
Mobile
Device
BAS
Application
Microcontroller
OS
Bluetooth
Module
Bluetooth
Module
Antenna
“BAS-SD-10-11”
Antenna
BAS Transmitter
• PCB and Packaging Design
• PCB Testing
Schematic
PCB Design
1.7” x 3”
PCB Assembly
PCB in Enclosure
Hardware Testing
• Mobile Device Power Consumption
• PCB Power Quality Testing
• PCB PIC24 Signal Verification
Android Mobile Device
Android Mobile Device Power Consumption
Battery Percentage (%)
100
98
96
With Application
Running
94
92
Without Application
Running
90
88
86
84
9:00
AM
10:00 11:00 12:00
AM
AM
PM
1:00
PM
2:00
PM
3:00
PM
4:00
PM
5:00
PM
6:00
PM
7:00
PM
7:30
PM
Time
• Tests done over a 10.5 hour period
Windows Mobile Power
Consumption
Windows Mobile Device Power Consumption
100.00%
90.00%
80.00%
70.00%
60.00%
Application
Running
50.00%
40.00%
30.00%
20.00%
10.00%
0.00%
Without
Application
Running
PCB Power Quality Testing &
PIC24 Signal Verification
• An oscilloscope was used, across the
C1 capacitor for the 3.3 VDC regulator,
to monitor for distortion and DC ripple
during transmitter operations.
• The logic analyzer was used to monitor
the signal between
the PIC24HJ32GP and the Bluetooth
Module to verify for correct signal.
transmission.
Start-up/Reset Hardware Communications Test
with USB Logic Analyzer
Transmitter Distance Reset Hardware
Communications Test with USB Logic Analyzer
Distance Testing
Low Power
without Antenna
High Power
without Antenna
Low Power with
Antenna
High Power with
Antenna
Android Platform
35 ft.
160 ft.
65 ft.
250+ ft.
Windows Mobile 6
30 ft.
140 ft.
50 ft.
150 ft.
Software Overview
• FSM
• Software Testing
o Android Development
o Windows Mobile Development
Software FSM
Software Testing
• Android Application
• Windows Application
Android Application
• Emulator
o Creating Graphical User Interface
o Control Ringer State
o System Timer
• Mobile Device Deployment
o Turn On/Off Bluetooth module
o Control discovery
o Read devices being discovered
o Response Timing
Control Ringer and Timer
Scan and Recognize
Bluetooth Signature
Android Menu Testing
Android Full System Test
Android Software Testing
Application can:
•
•
•
•
•
•
•
•
•
•
•
Detect BAS signature
Silence/Vibrate Ringer when BAS signature detected
Runs check every 12 seconds when BAS sig. not found
Runs check every 15 minutes when BAS sig. found
User cannot change ringer while in "Silent Zone"
Rechecks for "Silent Zone" when attempting to change
ringer state
Restores ringer when BAS no longer detected
Run for several days
Go between background and foreground
Operate while other programs are running in the foreground
Operate while in a phone call
Latency Testing
Time Delay (seconds)
7.0
6.0
Time Delay (s)
5.0
4.0
3.0
2.0
1.0
0.0
1
2
3
4
5
6
7
Average Delay
Expected Delay
Percent Error
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Sample Number
2.3 seconds
3.0 seconds
-24.44%
Windows Mobile
•
•
•
•
Windows Mobile vs. Android
GUI
Full System Test
Latency Testing
Windows Mobile vs. Android
Development Pros and Cons
Pros
Cons
Android Platform
(Motorola Droid)
-API is easy to implement
-Easy access and control of
Hardware elements
-Faster
-Easy to use debugging process
-GUI Development
Windows Mobile 6
(HTC Touch)
-GUI is easy to implement
-Easy to use debugging process
-Very difficult to access Hardware
elements(.dll import process)
-Very slow
-Complicated API
Windows Application
• Emulator
o Creating Graphical User Interface
o System Timer
• Mobile Device Deployment
o Turn On/Off Bluetooth module
o Perform a Bluetooth device Scan
o Read devices being discovered
o
Control Ringer
GUI
Windows Mobile
Disabled
Enabled before
Device is Discovered
Enabled and
Discovered
Windows Mobile 6 Full System Test
Latency Testing
Windows Mobile
Windows Mobile 6 Latency Testing to Silence Ringer
30
Time (Seconds)
25
20
15
10
5
0
0
5
10
15
20
25
Sample Number
Average Delay
Expected Delay
Percent Error
13.81 seconds
3.0 seconds
360.22%
30
References
[1] Wikipedia, “Mobile phone,” Wikipedia. [Online]. Available: http://en.wikipedia.org/wiki/Mobile_phone.
[Accessed Aug. 31, 2010].
[2] Federal Communications Commission, “Sale or Use of Transmitters Designed to Prevent, Jam or Interfere with
Cell Phone Communications is Prohibited in the United States,” Federal Communications Commission, July 27,2005.
[Online]. Available: http://www.fcc.gov/eb/Public_Notices/DA-05-1776A1.html. [Accessed: Aug. 31, 2010].
[3] Bluetooth SIG, “About The Bluetooth SIG,” Bluetooth SIG. [Online]. Available:
http://www.bluetooth.com/English/SIG/Pages/default.aspx. [Accessed: Aug. 31, 2010].
[4] Locale, “Release Notes,” Locale 2010. [Online]. Available: http://www.twofortyfouram.com [Accessed: Aug.
29, 2010].
[5] J. Griffin, “How does Q-Zone work?,” Bluelinx, 2010. [Online]. Available:
http://www.bluelinx.com/qzonehow.html. [Accessed: Aug. 31, 2010].
[6] Screaming Circuits. [Online]. Available: http://www.screamingcircuits.com/Order/Quote [Accessed: Apr. 14,
2011].
[7] PCBex Corporation. [Online]. Available: http://www.pcbex.com/ [Accessed: Apr. 14, 2011].
Questions?