330 likes | 536 Views
Project: PDA Smart Car Integration via Bluetooth Team: Team Blue Members: Sharad Desai, Mahmoud Toure , Lochan KC. Agenda. Overview. Design Specs. Software Processes. Parts List. Schedule. Labor. Questions. Agenda. Points to be covered. System Overview
E N D
Project: PDA Smart Car Integration via Bluetooth Team: Team Blue Members:Sharad Desai, MahmoudToure, Lochan KC
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Agenda Points to be covered • System Overview • Detailed Design Specifications • Software Processes • Test Results • Parts List • Updated Schedule • Updated Division of Labor and Responsibilities University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions System Overview -- Revisions After PDR, we have made some modifications to our project (all add-ons) • Add proximity sensors which offer info on obstacles • Give an external display using an LCD to display such data • Add a keypad which will allow the LCD to act as a menu University of Colorado -- Boulder
System Overview -- Block Diagram Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions 6/4/2014 University of Colorado -- Boulder 4
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Comm. Protocol University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – LCD • CFA-634 Serial LCD (Crystalfontz) • 20 columns by 4 rows • White edge LED backlight • DB9 connector for simple RS-232 • Supports 19200, 9600, 4800 and • 2400 baud 6/4/2014 University of Colorado -- Boulder 6
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Keypad • Grayhill – 96BB2-056-F • 4 x 4 inches • Matrix circuitry 6/4/2014 University of Colorado -- Boulder 7
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Keypad Schematic 6/4/2014 University of Colorado -- Boulder 8
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – T-Mobile Dash • Microsoft Windows Mobile 5 • 32 bit Texas Instrument OMAP 850 • ROM capacity 128 Mb (accessible:77Mb) • RAM capacity 64 Mb(accessible:44Mb) 6/4/2014 University of Colorado -- Boulder 9
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Bluetooth Rec. • WRL-00582 • Class 1 Bluetooth Radio Modem(Range 100m) • Low power consumption : 82.5mW • Encrypted connection • Frequency: 2.4~2.524 GHz • Operating Voltage: 3.3V-6V • Serial communications: 2400-115200bps • Built-in antenna WRL-00582 - Bluetooth Modem University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Bluetooth Rec. Schematic Figure 3 Bluetooth Receiver Schematic University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Sensor • Sharp GP2D12 IR Sensor • 10-80cm (4”-32”) range • Simple 4-wire I2C interface • Request data in cm, inches or raw analog (ie: 0-255) • User-selectable device addressing • Technical Data: University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Sensor Schematic Figure 2 Sensor Schematic University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – I2C CP • Send a start sequence • Send I2C address of the slave w/ R/W bit (20)H • Read data byte from IR sensor • Send the stop sequence University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Power System The main control unit will be powered by the car battery • The system will need 5 different voltage levels: • 12 V Relay • 5V for LCD and I2C device • 3.3V, 2.5V and 1.3V for FPGA • 200kHz Simple 3A Buck Regulator (MIC4576) – 5V • Voltage Regulator (FAN1086M33) – 3.3V • Voltage Regulator (LD1085D2M25R) – 2.5V • Voltage Regulator (APII22EG-13) – 1.3V University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Power System Schematic Figure 1 200KHz Buck Regulator University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – MCU • 500K-gate Xilinx Spartan 3E FPGA (XC3S500E-4PQG208C) • 4Mb Xilinx XCF02S Platform Flash PROM • 50MHz Crystal oscillator • RS-232 transceiver/level translator (using MAX3232) • 2 DB9 9-pin female connector University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – MCU Schematic Figure 3 XCFO2 to FPGA University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – MCU Figure 4 DB9 Connector to FPGA University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Relay Driver University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Detailed Design Specs – Rev 1 Schema University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes Block Diagram University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes – Implementation University of Colorado -- Boulder
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes – UART Schematic Figure: UART 6/4/2014 University of Colorado -- Boulder 24
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes – 8bit Comparator Schematic 6/4/2014 University of Colorado -- Boulder 25
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes – Keypad Scan Schematic 6/4/2014 University of Colorado -- Boulder 26
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes – I2C Master Schematic 6/4/2014 University of Colorado -- Boulder 27
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Software Processes – UI Code Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Loading the main for of the API and setting the bluetooth connection Try cli.Connect(ep) peerStream = cli.GetStream() Catch es As NullReferenceException MessageBox.Show("Connection to the receiver Failed") End Try End SubEnd Class 'Team Blue ' UI coding' October 9/2008Imports InTheHand.NetImports InTheHand.Net.BluetoothImports InTheHand.Net.SocketsImports System.IOImports System.Net.SocketsImports System.TextImports InTheHand.Net.Sockets.BluetoothClientImports Microsoft.VisualBasicPublic Class Form1 Dim addr As BluetoothAddress = BluetoothAddress.Parse("00066600D722") ‘Address of the bluettooth Receiver ' Variable holding the ASCI values Dim a As Byte = Asc("a") Dim b As Byte = Asc("b") Dim c As Byte = Asc("c") ' Set the right serial port COM Dim ep As New BluetoothEndPoint(addr, BluetoothService.SerialPort) Dim cli As New BluetoothClient Dim peerStream As Stream ' Roll Down Windows Private Sub RollDown_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RollDown.Click peerStream.WriteByte(b) End Sub 'Turn on headlights Private Sub TurnonH_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TurnonH.Click peerStream.WriteByte(c) End Sub ' unlock doors Private Sub door_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles door.Click peerStream.WriteByte(a) End Sub 'Close connection Private Sub Close_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Close.Click cli.Close() Me.Dispose() End Sub 6/4/2014 University of Colorado -- Boulder 28
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Parts List Comprehensive parts list: • Sharp GP2D12 IR Sensor • WRL-00582 (Bluetooth module) • Xilinx Spartan 3E 500K FPGA • RS-232 transceiver/level translator (using MAX3232) • 2 DB9 9-pin female connector • Relay (all components) • CFA-634 Serial LCD • Keypad • Door panel • Any circuit components (ie: resistors, capacitors, etc.) University of Colorado -- Boulder
Updated Schedule Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions 6/4/2014 University of Colorado -- Boulder 30
Updated Schedule Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Here are the deliverables for each Milestone • Milestone I • First revision of PCB working • Correct API functionality • Correct relay driver functionality • Milestone II • Proximity sensors working • Correct integration of sensors and LCD • Final Design Expo • Integration of car functions with the above functionality 6/4/2014 University of Colorado -- Boulder 31
Updated Division of Labor/Responsibilities Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Since PDR, we have accomplished the following tasks: • Setting up communication between Bluetooth modules • Writing FSM on FPGA • Building relay driver • Writing API (UI still pending) • Building power supply The following tasks are still pending: • Sharad Desai • Coding LCD • Lochan KC • Integrating with I2C • Building PCB board • Mahmoud Toure • Writing UI and LCD Documentation! 6/4/2014 University of Colorado -- Boulder 32
Agenda Overview Design Specs Software Processes Parts List Schedule Labor Questions Questions and Comments University of Colorado -- Boulder