18 december 2009 1 - simon fraser universitywhitmore/courses/ensc305/projects/2009/ddem… ·...
TRANSCRIPT
18 December 2009 1
The Mnemosyne Team
Priyanka Deshmukh
Chief Executive Officer
18 December 2009 2
Ana Namburete
Chief Technical Officer
Rachel Cheng
Chief Operations Officer
Surbhi Seru
Chief Marketing Officer
Outline• Introduction
• System Overview
• High Level System Design
• Market Analysis
• Budget and Timeline
• Future Development
• Lessons Learned
• Conclusion
• Acknowledgements18 December 2009 3
Introduction• CheckList™ alleviates problem of forgetfulness
• Portable memory aid device
• Prevents items from being left behind
• Easy to use
18 December 2009 4All you need to remember is your CheckList™
System Overview
18 December 2009 5
NHD-C0216CiZ-FSW-FBW-3V3 (New Haven Displays)
MSP430 eZ430 RF2500(Texas Instruments)
Visual C++ and QT application development platform
High Level System DesignUser
GUI
Pseudo Database(text file)
USB DebuggingInterface
CC2500RF chip
F2274 Microcontroller
ActiveTags
LCD
COM Port
18 December 2009 6
Graphical User Interface (GUI)
18 December 2009 7
• Welcome Window
Graphical User Interface (GUI)
18 December 2009 8
• Only 1 user profile permitted
Graphical User Interface (GUI)
18 December 2009 9
• Login Window – CheckList™
Graphical User Interface (GUI)
18 December 2009 10
• Security Question Option
Graphical User Interface (GUI)
18 December 2009 11
• Activating/Deactivating Tags
Graphical User Interface (GUI)
18 December 2009 12
• Activating/Deactivating Tags
Graphical User Interface (GUI)
18 December 2009 13
• Unsuccessful Connection with COM Port
Graphical User Interface (GUI)
18 December 2009 14
• Successful Connection with COM Port
Detection Unit
18 December 2009 15
Data is read
from COM
port …
… and stored
in appropriate
memory
locations
Detection Unit
16
32KB Flash memory(data storage)
2.4GHz Transceiver
Pins used for I2C communication with LCD
Detection Unit
18 December 2009 17
Detection Unit
18 December 2009 18
• Missing Item Tag DetectionPower ON
Initialize SimpliciTI RF
network
Clear all tag flags
Wait for ED’s to join network
Receive packet and interpret contents
RSSI <50?
Tag recognized
?
Set corresponding tag flag
ED join success?
Clear tag
Button pressed?
Check value of tag
Flag = 0?
Display item name to LCD
Last tag to be
checked?
Yes
No
YesNo
Yes
Yes
Yes
No
No
Detection Unit
18 December 2009 19
Tag1: Laptop
Tag2: Car Keys
Tag3: Textbook
Tag4: Reading glasses
C a r K e y sR e a d i n g G l a s s e s
Detection Unit
18 December 2009 20
Tag1: Laptop
Tag2: Car Keys
Tag3: Textbook
Tag4: Reading glasses
C a r K e y sR e a d i n g G l a s s e sL a p t o p
Detection Unit
18 December 2009 21
Tag1: Laptop
Tag2: Car Keys
Tag3: Textbook
Tag4: Reading glasses
R e a d i n g G l a s s e s
Market Analysis• Target markets:
Households
• Many things to keep track of
Professionals
• Ensure important work-related items are not forgotten
Travellers
Healthcare
• Dementia patients
• Alzheimer's patients
Anyone and everyone!
18 December 2009 22To forget is human…
Market Analysis• Current solutions:
Paper-based
• Post-It Notes™
• To-do lists
• Planners or agendas
Electronic-based
• Computer applications
• Personal Digital Assistants (PDAs)
• Cell phones or smart phones
• All require users to manually check for items
18 December 2009 23
Market Analysis• Our proposed solution: CheckList™
Simple: easy for general public to use
RF-based: eliminates manually checking for items
Portable: can be used in any environment or situation
Inexpensive: affordable for most people
18 December 2009 24
Market Analysis
18 December 2009 25
ITEM1000 UNITS MASS PRODUCED
PARTS RETAIL PRICE PARTS RETAIL PRICE
1 detection unit $22.70 $45.00 $11.35 $23.00
1 active tag $4.63 $10.00 $2.16 $4.50
1 detection unit
and 4 active tags$41.23 $82.00 $20.62 $41.00
10 active tags $46.30 $90.00 $23.15 $46.00
Budget
18 December 2009 26
• Estimated Cost: $850
• Realized Cost: $778
$0 $200 $400 $600 $800 $1,000
Estimated
Realized
Budget
18 December 2009 27
COMPONENT ESTIMATED COST
LCD $40.00
RF Transmitter/Receiver $300.00
RF Tags $40.00
Controller/Processor $250.00
USB Interface $30.00
Power Supplies $40.00
Prototyping Board $50.00
Contingency $100.00
TOTAL COST $850.00
Budget
18 December 2009 28
COMPONENT REALIZED COST
LCD $169.00
RF Transmitter/Receiver $138.00
RF Tags $149.00
Other Components $68.00
Power Supplies $73.00
Miscellaneous $181.00
TOTAL COST $778.00
BudgetLost expenses:
• LCDs purchased initially were not used ($136)
• Other components purchased to use with LCDs (also not used):
Voltage regulators ($5)
Level shifters ($10)
• Purchased extra components and supplies
Batteries
Device cases
18 December 2009 29
Budget• Could construct another proof-of-concept
prototype for less
$80 (1 detection unit and 1 tag)
No extra components
• Cost of 1000 retail units even less
$27 (1 detection unit and 1 tag)
No extra modules on boards
Purchasing power
18 December 2009 30
Timeline
18 December 2009 31
Aug 30 Sep 19 Oct 9 Oct 29 Nov 18 Dec 8 Dec 28
Research
ProjectProposal
FunctionalSpecification
DesignSpecification
Design & TestingIndividual Modules
Integrationof Modules
Testing ofPrototype
PrototypeAdjustments
Post-Mortem
EstimatedRealized
Team Dynamics• Well defined roles and responsibilities
Priyanka: LCD-MCU interface implementation and testing
Rachel: GUI design, implementation and testing
Ana: LCD-MCU interface implementation and testing; RF detection implementation and testing
Surbhi: Hardware assembly, implementation and testing
• Everyone helped with other areas when needed
• All documentation was a combined effort18 December 2009 32
Lessons Learned• Research must be done thoroughly
• Ask for help and advice when you need it
• Perfectionism is inefficient
• Communication is critical
18 December 2009 33
Future Development• Smaller size
Develop custom chips
Implement device on custom printed circuit boards
• Longer battery life
Remove all extra power-consuming components
Implement on-off switch for LCD backlight
• Continuous mode
Constantly check for presence of tags
Audible alarm if a tag leaves the vicinity
18 December 2009 34
Conclusion• Mnemosyne Innovation’s CheckListTM Prototype
successfully created
Has future potential (low cost + high effectiveness)
Filling niche in the market
• ENSC 440 valuable experience
Technical
Soft skills
18 December 2009 35
Acknowledgements• John Bird, ENSC 440 Instructor
• Steve Whitmore, ENSC 305 Instructor
• Jason Lee, ENSC 305/440 Teaching Assistant
• Kourosh Khosraviani, Graduate Student
• Brandon Ngai, CiBER Lab Researcher
• Pranav Gupta, Undergraduate Student
• Thomas Watteyne, UC Berkeley Post-Doc Researcher
18 December 2009 36
Thank You
Questions?
18 December 2009 37
References[1] "IconTexto Web 2.0 User", EvoHosting. [Online]. Available: http://www.evohosting.co.uk/blog/web-
development/design/more-free-social-media-icons/ [Accessed: Dec 13, 2009].
[2] Matrix Orbital, “Technical Manual: LCD (#LK162-12)", v.3.1, March 2003 [Online] Available: http://www.matrixorbital.ca/manuals/LK_series/LK162-12/LK162-12_220.pdf [Accessed: Oct. 15, 2009].
[3] Microsemi Integrated Products, "Production Datasheet: PCA9306 Dual Channel 1A Low Dropout Regulator (#LX8816)“ [Online] Available: http://www.datasheetcatalog.org/datasheet/microsemi/lx8816.pdf [Accessed: Nov 2, 2009].
[4] New Haven Display, “NHD‐C0216CiZ‐FSW‐FBW‐3V3 COG (Chip‐on‐Glass) Liquid Crystal Display Module", *Online+ Available: http://www.newhavendisplay.com/specs/NHD-C0216CiZ-FSW-FBW-3V3.pdf [Accessed: Dec. 2, 2009].
[5] NXP, "Product Datasheet: Dual Bidirectional I2C -bus and SMBus voltage-level translator", rev.04, 2009 [Online] Available: http://www.nxp.com/documents/data_sheet/PCA9306.pdf [Accessed: Dec 4, 2009].
[6] S.Tanenbaum and A.Tate, "Computer Ports: All You Need to Know", Real Simple.[Online].Available: http://pdf1.alldatasheet.com/datasheet-pdf/view/184776/TI/MSP430X22X4.html [Accessed: Dec 13, 2009].
[7] Sitronix, “ST7032 Dot Matrix LCD Controller/Driver", *Online+ Available: http://www.newhavendisplay.com/app_notes/ST7032.pdf [Accessed: Dec 02, 2009].
[8] Texas Instruments, “CC2500: Low-Cost Low-Power 2.4GHz RF Transceiver”, v.1.2, June 2006 *Online+ Available: http://focus.ti.com/lit/ds/symlink/cc2500.pdf [Accessed: October 10, 2009].
[9] Texas Instruments, “eZ430” *Online+ Available: http://focus.ti.com/lit/ug/slau227e/slau227e.pdf [Accessed: Sept. 27, 2009].
[10] Texas Instruments, “MSP430x22x2, MSP430x22x4 MIXED SIGNAL MICROCONTROLLER”, July 2006 *Online+ Available: http://pdf1.alldatasheet.com/datasheet-pdf/view/184776/TI/MSP430X22X4.html [Accessed: Oct. 10, 2009].
[11] Texas Instruments, “SLAU144,MSP430x2xx Family User's Guide”,(Rev.E), 2008 [Online] Available: http://focus.ti.com/lit/ug/slau144e/slau144e.pdf [Accessed: Nov. 22, 2009].
[12] TrollTech, "Qt's Classes", 2005. [Online] Available:http://doc.trolltech.com/3.3/classes.html [Accessed: Oct. 29, 2009].
18 December 2009 38
High Level Functional Diagram
18 December 2009 39
System Flowchart
18 December 2009 40
Hardware Flowchart
18 December 2009 41
MSP430 eZ430 RF2500
18 December 2009 42
MSP430 eZ430 RF2500
18 December 2009 43
MSP430 eZ430 RF2500
18 December 2009 44
18 December 2009 45
GND
3V
VCC
SCL
SDA
18 December 2009 46
MSP430-F2274
18 December 2009 47
· 16-MIPS performance
· 200-ksps 10-bit SAR ADC
· Two built-in operational amplifiers
· Watchdog timer, 16-bit Timer_A3 and Timer_B3
· USCI module supporting UART/LIN, (2) SPI, I2C, or IrDA
· Five low-power modes drawing as little as 700 nA in standby
CC2500
18 December 2009 48
· 2.4-GHz radio-frequency (RF) transceiver
· Programmable data rate up to 500 kbps
· Low current consumption
SimpliciTI Networking Protocol
18 December 2009 49
I2C Communication
18 December 2009 50
18 December 2009 51
USCI Block Diagram:
I2C Mode
18 December 2009 52
18 December 2009 53
0 1 1 1 1 1 0
0 0x7C
0x3E **For New LCD
18 December 2009 54
18 December 2009 55
Basic Clock Module:
Block Diagram
Low
Frequency
Oscillator
High
Frequency
Oscillator(not present in
F2274)
18 December 2009 56
18 December 2009 57
18 December 2009 58
LCD # 1 LK162-12
(Matrix Orbital)
18 December 2009 59
18 December 2009 60
18 December 2009 61
18 December 2009 62
18 December 2009 63
Voltage Regulation(LX 8816)
Dual Channel 1A Low Dropout Regulator
(Microsemi)
18 December 2009 64
18 December 2009 65
Key Features
2 independent regulated outputs
Independent thermal and current limit
protection.
First - 3.3 V fixed voltage output
Second – Adjustable voltage output – i.e. 5V in our
case
18 December 2009 66
18 December 2009 67
Voltage Regulator Circuit
18 December 2009 68
Level Translation(PCA9306)
Dual Bidirectional I2C-bus and SMBus voltage-level translator
(NXP - Philips)
18 December 2009 69
Key Features
2-bit bidirectional translator for SDA and SCL lines in
mixed-
mode I2C-bus applications
Standard-mode, Fast-mode, and Fast-mode Plus I2C-
bus and
SMBus compatible
Allows voltage level translation between:
3.3 V Vref(1) and 5 V Vbias(ref)(2) in our case
Low voltage side
(MSP)
High voltage side
(LCD)
18 December 2009 70
Low voltage side
(MSP)
High voltage side
(LCD)
18 December 2009 71
Sizing the Pull-up Resistor
18 December 2009 72
LCD # 2 NHD‐C0216CiZ‐FSW‐FBW‐3V3
COG (Chip‐on‐Glass) Liquid Crystal Display Module
(New Haven Display)
18 December 2009 73
Functions and Features
• 2 lines x 16 characters
• Built‐in ST7032i‐oD with I²C interface
• 5x8 pixels with cursor
• 3V power supply
• 1/16 duty, 1/5 bias
• RoHS Compliant
18 December 2009 74
18 December 2009 75
18 December 2009 76
18 December 2009 77
18 December 2009 78
Slave Address = 0x7C
0x7C
0x3E
18 December 2009 79
18 December 2009 80
18 December 2009 81
18 December 2009 82
18 December 2009 83
Controller Information Built‐in
ST7032i‐oD
18 December 2009 84
I2C Acknowledge
18 December 2009 85
I2C Acknowledge (cont.)
18 December 2009 86
I2C Interface - Register Loading Process
18 December 2009 87
V0 Voltage Follower Value Calculation
α = 37 , VREF = 2.19 V and if 1 + (Rb/Ra)
= 2.5
Then V0 = 5.475 VTherefore:
C5, C4, C3, C2, C1, C0 = 1 0 0 1 0 1
Rab2 , Rab1 , Rab0 = 1 0 1
18 December 2009 88
18 December 2009 89