Mobile Fidelity Souhaibe Barkat Tenzin Dhongyal Michael Duckwitz Matthew Syme Patrick Wagner Critical Design Review Spring 2007 March 1, 2007 1 Description What is it? Possible Additions Analog input – Microphone Jack – Stereo Jack – MP3 Encoding Data transmission Multiple channels Rechargeable batteries for receivers Microprocessor SD Card / DOSonChip FAT-16 /FAT-32 Decoding/encoding High capacity SD Card Quick SPI interface (1.5Mbps) 5.3 sec/MB data transfer (average loading time per song ~ 16 sec) External Memory Atmel AT45DB642 DataFlash memory Parallel connection High capacity: 8MB!!! – Full song storage – SD card removal during song play Extremely fast (up to 20Mbps) Transceivers Nordic nrf24L01 1.9 to 3.6 V supply Integrated as 8-pin IC Clock Speed up to 10 MHz SPI Compatible 2.4 GHz Wireless Band 4 dBm Transmit Power 5 Distinct “Channels” Transceiver Timing Enhanced ShockBurst w/ automatic acknowledgment Packet Size 32 bytes Time for Transmission is ~436 µs Maximum Data Rate w/ ESB ~ 642 kbps Receiver Synchronization 2 Way Communication Receiver Circular Buffer 2 States for Receivers – “Sync” & “New Receiver” Sync state: Currently Synchronized to Song Location New Receiver state: New and Dropped Packet Resynchronization Receiver Diagram Non Volatile Memory Tx/Rx I SP Pa ra lle l “2.4 GHz” SPI MCU IIS DAC. Analog BlueTooth Tx AMP LCD Parallel BlueTooth Rx Speakers Decoder PC Interface DAC AMP Touch Screen Allen/Bradley PanelView 600 - 6.0" diagonal color display; 320x240 pixel resolution - 128 x 9 Touch Cells,RS 232 protocol - Panel Builder 32 application development software - Understand PLC and graphical ladder logic programming Crystal Fontz touchscreen (CFAX12864CP1) - 128x64 graphic LCD with Samsung KS0713 controller - EL backlight and 4-wire analog touch screen - 65 x 135 DD RAM addressable array - 8 bit parallel or serial interface Labview - visual programming with vi modules and RS 232 protocol Base Station Sequence Diagram Base Station Operator User Interface Device controller SD card Analog Audio 1. Broadcast Song 2. Transfer Request 3. Get Song list 4. Return Song list 5. Get voice 6. Return sampled voice 7. Store in Memory 8. Send Song list/Msg 9. Display Song list/ Msg 10. Select song 11. Transfer Request 12. Broadcast Selected Song 13. Send Successful Msg 14. Send Status Msg 15. Display status Msg a. Input Text b. Transfer Text c. Send Text d. Send Successful Msg e. Send Status Msg f. Display status Transceiver Applicatioin Receiver Sequence Diagram Receiver Operator User Interface Device controller Transceiver Application 1.Play Song 2. Transfer Request 3. Get Song Channels 4. Return Song Channels 5. Store in Memory 6. Send Song list 7. Display Song list 8. Select Song 9. Play Selected Song 10. Codec Selected Song 11. Played Successful Msg 12. Send Status Msg 13. Display status Msg a .Voice/Text Available Msg b. Get Voice/Text c. Store Voice/Text in Memory d. Send Text e. Display Text f. Play voice g. Voice Play Successful Msg Analog Audio Software Architecture Diagram <<interface>> UserInputHandler userChoice User Interface Layer <<controller>> SelectionHandler selects displays Returns invokes Domain Layer <<controller >> Base Station Application saves <<controller >> Audio Codec Application <<controller >> SD Card Application <<controller >> Touch screen Application Base Station controller <<controller >> Transceiver Application has depends <<entity>> Song/Voice/Text has has <<controller >> Receiver Application has <<controller >> LCD Application has Receiver controller <<controller >> Audio Codec Application has <<controller >> Transceiver Application saves <<entity>> Song/Voice/Text has Utility Layer <<interface>> Song/Voice/data StorageManager <<interface>> DOS I/0 FileManager <<interface>> Codec Driver <<interface>> LCD Driver <<interface>> Transceiver Driver Deliverables Milestone 1, March 22 – Transceivers passing data – SD Card communication Milestone 2, April 19 – Full-song play – Basic touch screen user interface – Receiver PCB prototype Schedule Division of Labor Team member Responsibility Souhaibe Barkat MP3 Decoder, PCB Design, Documentation Tenzin Dhongyal User Interface, Software Lead, Documentation Michael Duckwitz PCB Design, Transceivers, Documentation Matthew Syme SD Card Interface, PCB Design, External Memory, Documentation Patrick Wagner Transceivers, User Interface, Documentation Bill of Materials KEY HARDWARE COMPONENTS Part number Manufacturer Part Description 64-megabit 2.7-volt Only Dual-interface AT45DB642 Atmel DataFlash® (FREE) DOSonCHIP-SD Sparkfun.com SD Card with DosOnChip Interface RF-MiRF-v2 Sparkfun.com 2.4 GHz RF Transceiver SAM7-P256 Olimex Atmel AT91SAM7S256 Development Board AccutekMicro Surface mount adapter (QFP-80 to DIP) AccutekMicro Surface mount adapter (TSOP-40 to DIP) ANT-24G-RP Sparkfun.com 2.4 GHz RF Duck Antenna 8051 Microcontroller with MP3 Decoder and AT89C51SND1 Atmel Human Interface (FREE) Miscellaneous components (resistors, capacitors, connectors, etc.) Custom PCB Designs (4 layer, 5"x6") Qty Unit Price Amount 4 $0.00 $0.00 1 4 1 4 8 4 $39.95 $29.95 $69.95 $12.00 $8.00 $6.95 $39.95 $119.80 $69.95 $48.00 $64.00 $27.80 6 $0.00 $0.00 1 6 $70.00 $66.00 $70.00 $396.00 TOTAL COST: $835.50 Questions?