260 likes | 394 Views
Comprehensive Design Review. Team Tessier: Brandon Thorpe Lucas Root Michael 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
E N D
Comprehensive Design Review Team Tessier: Brandon Thorpe Lucas Root Michael 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 IDB Locked Item Client Store Inventory Bluetag Database
Client Software IDB Engine Interface Store Wireless LAN Bluetag Engine
Phone Software • User Interface BluetagUI.codimplemented • 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 Types Handshake request/reply Unlock request and code Code match Code mismatch PIC UART RN-41 System Purchase Reset HW Reset Request HW Reset Success Retransmit Request Retransmit Confirm
Demonstration: Byte Definitions RT Retransmit Request US Unlock Success HD Handshake RP Reset Purchase ME Message Error TL Tag Locked UC Unlock Code RQ Hardware Reset Request UM Unlock Miss RH Hardware Reset Confirm AC Lock Activate
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
Surface Mount PCB BOTTOM TOP • Size: 3” x 1.5” x .062” • Parts: $75, Fabrication: $50 • Sits above 2.3” x 1” x .2” battery
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
FPR Goals • BlackBerry with Bluetag software installed • Fully functional Bluetag module • Interactive retailer database software • Demonstration of process flow from lock to unlock
Program Flow HD Yes Tag Locked Hand- shake RT Retransmit Request UM Unlock Miss TL Validate Hardware Reset ME HD Handshake AC Lock Activate RQ No Reset Confirm ME Message Error US Unlock Success RH AC US Yes Set Unlocked UC Unlock Code RP Reset Purchase Unlock Validate UM No No No Store in Message Space Byte from UART UART Error Stop Byte Yes Unlocked WDT Reset No Yes HW Reset Yes Validate Yes ME Sys Reset Stop No RT Yes No Yes Resend Message Restart UART Retrans- mit Validate RP Validate ME Yes No No TL ME Set Locked
Code Specifications • Bluetag Engine: 808 lines of Java • BluetagUI: 603 lines of Java • IDB: 907 lines of C# and XSD • Calculated using CLOC • Includes pure code lines only