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 Client Bluetag Database Locked Item Store Inventory IDB
Client Software Engine Interface Bluetag Engine Store 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 Types Handshake request/reply HW Reset Request HW Reset Success Retransmit Request Retransmit Confirm System Purchase Reset RN- 41 PICPIC UART Unlock request and code Code match Code mismatch
Demonstration: Byte Definitions Retransmit 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 Phone to tag Bluetooth connection PCB reviewed and ordered Housing fabricated Retailer software GUI
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
Stop Byte UART Error Unlocked Yes No Sys Reset Stop YesNo RP Validate NoYes ME TL Set Locked Hand- shake Validate Unlock HW Reset Retrans- mit ME HD Resend Message WDT Reset Set Unlocked Yes No UM US Yes No ME Yes No ME Yes No Store in Message Space Yes No RT Restart UART Byte from UART Yes No Program Flow TL ME HD US UM RPReset Purchase Tag Locked Message Error Handshake Unlock Success Unlock MissRTRetransmit Request AC Lock ActivateRQ Hardware Reset RH Reset Confirm UCUnlock Code
Simulation
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
SMD Part NameFootprintQuantityManufacturer/VendorUnit Price SMDCost 9V SolenoidN/A1Shindengen/Bicrom0.00 PIC16F688-I/SL MicrocontrollerSOIC-14/Y (Two SL and ST)1Microchip/DigiKey1.88 RN-41 Bluetooth ChipModule/Y1Roving Networks24.95 MC74AC04 DIP and SMD Hex InverterSOIC-14/Y1ON/DigiKey0.47 TPS6734I Boost ConverterSOIC-8/Y1TI/DigiKey3.57 MJD3055 Power NPN BJTDPAK/TO-252/Y1Fairchild/DigiKey0.78 MBR0520/MBRS130T3G Schottky DiodeSOD123 - Y/SMB - N1MicroCo/DigiKey0.44 Radioshack 2-Wire Screw Terminal (Blue, set of 4)Y1Radioshack22 3.7V 500mAh Lion Battery Pack1all-battery.com10.95 ADP3301ARZ-3.3 Voltage Regulator 3.3VSOIC-8/Y1Analog Devices/Digikey k Resistor0603 SMD/Y20 33uF 20V Capacitor Tantalum (EIA)/Y2AVX/DigiKey12.01 uF Capacitor0603 SMD/Y10AVX/DigiKey uF Capacitor0402 (1005 metric)/Y10AVX/DigiKey uF Capacitor0402 (1005 metric)/Y10AVX/DigiKey uH Inductor CDPH4D19FNP-100MCCustom/Y1SUMIDA/DigiKey uF CapacitorCustom/Y5Panasonic/DigiKey N4148 DiodeSOD-323F /Y1Fairchild/DigiKey k Resistor0805 SMD/Y10 5-Pin Wire to Board Bus.1 " Pitch Header/Y1Molex/DigiKey uF Capacitor0603 SMD/Y10AVX/DigiKey pF Capacitor0402(1005 metric)/Y10AVX/DigiKey MHz CrystalCustom/Y1Vishay/Mouser uF Capacitor0603 SMD/Y10AVX/DigiKey uF Capacitor0603 SMD/Y10AVX/DigiKey Reset Button and Resistor Housing Fab1NRI Printing75 PCB Fab1Advanced Circuits50 Ordered or Arrived TOTAL TOTAL W/O HOUSING AND PCB78.45