Post on 20-Dec-2015
transcript
Comprehensive Design Review
Team Tessier:Brandon Thorpe
Lucas RootMichael Shusta
Telin Kim
Outline
• CDR Deliverables
• System Overview
• User Interface and Database Integration
• Embedded Programming
• PCB and Housing Design
• FPR Goals
CDR Deliverables
• User interface implemented
• Embedded programming completed
• Full SolidWorks design
• PCB design
System Overview
Client
Bluetag Database
Locked Item
Store Inventory
IDB
Client Software
Engine Interface
Bluetag EngineStore Wireless LAN
IDB
Phone Software
•User Interface BluetagUI.cod implemented
•Engine BluetagEngine.cod implemented
•Server Side Program IDB.exe implemented
Phone Software Specifications
•256 kilobytes on disk
•Downloads in under 11 seconds on EDGE
•Maximum packet size transferred from IDB is less than 2kb (80ms)
•Throughput is limited by the database connection
Phone Software Demo
• IDB Hosted on “BLUETAG” Wireless LAN
• Login, Test Use-cases, Logout
• IDB output on Laptop
Embedded Programming• PIC 16f688 micro connected via UART to
RN-41 Bluetooth module
• Communication protocol
• Demonstration
Communication Protocol
• Used to guarantee message integrity and avoid erroneous execution
• All transmitted bytes or messages are buffered by start and stop bytes
• Unique to each type of message
Message TypesHandshake request/reply
HW Reset Request
HW Reset Success
Retransmit Request
Retransmit Confirm
System Purchase Reset
RN-41
PIC
UART
Unlock request and code
Code match
Code mismatch
Demonstration: Byte DefinitionsRetransmit Request
Handshake
Message Error
Unlock Code
Unlock Miss
Lock Activate
RT
HD
ME
UC
UM
AC
US
RP
TL
RQ
RH
Reset Purchase
Unlock Success
Tag Locked
Hardware Reset Request
Hardware Reset Confirm
Solenoid Driver
•Mini/3V solenoids 14-week lead time, $400+ •Boost circuit satisfies power, money req.•States: CHARGE, FIRE, IDLE•Draws 1.34 mA idle, 200 mA charging
•Schematic Handout: Implementation with screw terminals, hard reset, logic buffers, Molex bus, BJT, current steering diodes
Solenoid Driver
Surface Mount PCB
•Size: 3” x 1.5” x .062”•Parts: $75, Fabrication: $50•Sits above 2.3” x 1” x .2” battery
TOP BOTTOM
Plastic Housing
•Size: 4.5” x 2” x 1.125”•Cost: $50
Estimated Current Budget
• AIRcable SMD: $70.00
• Roving Networks DIP Module: $70.00
• H-Bridge: $20.00
• SMD PCB components: $80.00
• Total: $240.00
Remaining Work
About 65% Complete
FPR Goals
• BlackBerry with Bluetag software installed
• Fully functional Bluetag module
• Interactive retailer database software
• Demonstration of process flow from lock to unlock
Questions
System Overview
StopByte
UART Error Unlocked
YesNo
Sys Reset Stop
Yes No
RPValidate
Validate
NoYes
METL
Set Locked
Hand-
shake
Validate
Validate
Validate
Unlock
HW Reset
Retrans-
mit
ME
HD
Resend Message
WDT Reset
Set Unlocked
Yes
No
UM
USYes
No
ME
Yes
No
ME
Yes
No
Store in Message
Space
Yes
No
RT
Restart UART
Byte from UART
Yes
No
Program FlowTL
ME
HD
US
UM
RP Reset Purchase
Tag Locked
Message Error
Handshake
Unlock Success
Unlock MissRT Retransmit Request
AC
AC Lock Activate RQHardware
Reset
RHReset
Confirm
UC Unlock Code
Simulation
Code Specifications
•Bluetag Engine: 808 lines of Java•BluetagUI: 603 lines of Java•IDB: 907 lines of C# and XSD
Calculated using CLOCIncludes pure code lines only
SMD Part Name Footprint Quantity Manufacturer/Vendor Unit Price SMD Cost
9V Solenoid N/A 1 Shindengen/Bicrom 0.00 0.00PIC16F688-I/SL Microcontroller SOIC-14/Y (Two SL and ST) 1 Microchip/DigiKey 1.88 1.88RN-41 Bluetooth Chip Module/Y 1 Roving Networks 24.95 24.95MC74AC04 DIP and SMD Hex Inverter SOIC-14/Y 1 ON/DigiKey 0.47 0.47TPS6734I Boost Converter SOIC-8/Y 1 TI/DigiKey 3.57 3.57MJD3055 Power NPN BJT DPAK/TO-252/Y 1 Fairchild/DigiKey 0.78 0.78MBR0520/MBRS130T3G Schottky Diode SOD123 - Y/SMB - N 1 MicroCo/DigiKey 0.44 0.44Radioshack 2-Wire Screw Terminal (Blue, set of 4) Y 1 Radioshack 2 23.7V 500mAh Lion Battery Pack 1 all-battery.com 10.95 10.95ADP3301ARZ-3.3 Voltage Regulator 3.3V SOIC-8/Y 1 Analog Devices/Digikey 2.43 2.4310.7k Resistor 0603 SMD/Y 2 033uF 20V Capacitor Tantalum 6032-28 (EIA)/Y 2 AVX/DigiKey 1 2.01 uF Capacitor 0603 SMD/Y 10 AVX/DigiKey 0.028 0.28.047uF Capacitor 0402 (1005 metric)/Y 10 AVX/DigiKey 0.11 1.1.001uF Capacitor 0402 (1005 metric)/Y 10 AVX/DigiKey 0.055 0.5510uH Inductor CDPH4D19FNP-100MC Custom/Y 1 SUMIDA/DigiKey 1.49 1.492200 uF Capacitor Custom/Y 5 Panasonic/DigiKey 2.966 14.831N4148 Diode SOD-323F /Y 1 Fairchild/DigiKey 0.32 0.322.2k Resistor 0805 SMD/Y 1 05-Pin Wire to Board Bus .1 " Pitch Header/Y 1 Molex/DigiKey 0.87 0.87.1 uF Capacitor 0603 SMD/Y 10 AVX/DigiKey 0.077 0.7722pF Capacitor 0402(1005 metric)/Y 10 AVX/DigiKey 0.11 1.120 MHz Crystal Custom/Y 1 Vishay/Mouser 0.52 0.52.47uF Capacitor 0603 SMD/Y 10 AVX/DigiKey 0.11 1.110uF Capacitor 0603 SMD/Y 10 AVX/DigiKey 0.605 6.05Reset Button and ResistorHousing Fab 1 NRI Printing 75 75PCB Fab 1 Advanced Circuits 50 50
Ordered or ArrivedTOTAL 203.45TOTAL W/O HOUSING AND PCB 78.45