250 likes | 400 Views
Mobile Operating Vehicle Electronics. Mid Design Review. Team Gao: Shelby Berleus Lukasz Gawel Karan Mendiratta Juan Peralta. December 5, 2008. ECE 415 Senior Design Project Fall 2009. Problem. Problems with current remote systems Range is only up to 1 mile Most of them use 900MHz RF
E N D
Mobile Operating Vehicle Electronics Mid Design Review Team Gao: Shelby Berleus Lukasz Gawel Karan Mendiratta Juan Peralta December 5, 2008 ECE 415 Senior Design Project Fall 2009
Problem Problems with current remote systems Range is only up to 1 mile Most of them use 900MHz RF Security The device doesn’t use alerts systems Sensors are not used to its fullest capabilities Climate Control doesn’t have the desired temperature feature. Price for this Viper 5900 SST remote is $599.99 ECE 415 Senior Design Project Fall 2009
Solution Mobile Operating Vehicle Electronics (M.O.V.E) Communicate via WiFi Provides up-to-date car alerts, increased security, and peace of mind Ability to get into a car and go Other convenience options related to cars controls ECE 415 Senior Design Project Fall 2009
Technical Overview of the Solution Web Interface on the user side A complete interactive user interface is created in C# and ASP.net Secure-User must login to access his car account. Customizable account settings like changing password etc. Drop down options like turning on the car/ turning off the car on the car access features page after the user is logged in. ECE 415 Senior Design Project Fall 2009
Client Web Server Reception / Transmission Authentication through web server Includes sending messages to the local (private addressable) host (Laptop plus Arduino) once an operation is requested by the user Response Arduino UMass LAN Internal Non-routable IP (Web Server) Request ECE 415 Senior Design Project Fall 2009
Check to see if a user is online by pinging If a user is present then a web request will be sent and will set Credentials The request is sent, and a response given Once a file is read it has to be saved and sent to Arduino Data transmission to Arduino ECE 415 Senior Design Project Fall 2009
Arduino Board used to read/process the input signal received in a text file from the web server • Arduino Board coupled with 2-PNP transistors enable switching different wires in car, namely, ignition, start and accessories between 0v to 12 V. • Ignition, start and accessories wire all set high (12V) cause the car to start. • If the ignition is set back to 0V, the car turns off. • The microcontroller is interfaced with the Controller Area Network (CAN) via serial port, which is the bus for all the electronic control units (ECU’s) in the car. Client- Car Communication ECE 415 Senior Design Project Fall 2009
Block Diagram UPDATED VERSION OF BLOCK DIAGRAM ECE 415 Senior Design Project Fall 2009
UPDATED VERSION OF BLOCK DIAGRAM Control Circuitry ECE 415 Senior Design Project Fall 2009
Input • The inputs to M.O.V.E come from the end user into the user interface which will process the requests • The request will then be transmitted to a web server that sends out a data packet to the client computer inside the car, in form of text file containing a string corresponding to a particular operation. • The microcontroller on the control circuitry reads the string and directs the corresponding requested task. ECE 415 Senior Design Project Fall 2009
Output will be desired function of the received request from the end user. For this semester the output will be restricted to just turning on the car. For subsequent dates our system will be able to execute other functions like locking/unlocking the doors, return values of vehicles sensors and changing internal controls dynamics of the vehicle eg. Temperature. Output ECE 415 Senior Design Project Fall 2009
What the Microcontroller does? Arduino board First burns code onto the Arduino board Then uses program called Processing for execution ECE 415 Senior Design Project Fall 2009
Microcontroller code ECE 415 Senior Design Project Fall 2009
Processing Code ECE 415 Senior Design Project Fall 2009
Key programming aspects of Web-Portal • Database Tables • SQL Data Adapters • SQL Data Connections • Authentication • XML ECE 415 Senior Design Project Fall 2009
string query = "SELECT FunctionValue FROM Functions WHERE FunctionName = '" + DropDownList1.Text + "'"; string Value=""; //Get info for this //SQL CONNECTION STRING SqlConnection conn_Move = new SqlConnection("Server = VM-XINN-WIN03R2; Initial Catalog = MoveUmass; Uid = MoveUmass_sa; Password = SBiizlee69!"); SqlCommand selectCMD = new SqlCommand(query, conn_Move); selectCMD.CommandTimeout = 30; //SQL DATA ADAPTER SqlDataAdapter DeskDA = new SqlDataAdapter(); DeskDA.SelectCommand = selectCMD; //OPEN SQL CONNECTION conn_Move.Open(); Key programming aspects of Web-Portal ECE 415 Senior Design Project Fall 2009
IDataReader Idr = selectCMD.ExecuteReader(); //DataTable custDS = new DataTable(); //custDS = Idr; //Loop continues to read until there is nothing left to read and stores in a buffer while (Idr.Read()) { //Gets the first value stored which is function Value = Idr[0].ToString(); } conn_Move.Close(); conn_Move.Dispose(); //Create Text Writer and point it to location of text file used to save function data TextWriter tw = newStreamWriter("C:\\Inetpub\\wwwroot\\MoveUmass\\MemberPages\\function.txt"); tw.WriteLine(Value); tw.Close(); ECE 415 Senior Design Project Fall 2009
Work Partition ECE 415 Senior Design Project Fall 2009
Proposed MDR Deliverables The following were the deliverables we expected to have done by the end of the semester: Bidirectional communication between vehicle and the client computer in the car Working communication between the web-server and the client computer inside the car via any available Wi-Fi network. Web front end for the end user interface. One fully functional feature: turning on/off the car remotely over the Wi-Fi network. Secure user log-in interface Block Diagram with high level view of M.O.V.E ECE 415 Senior Design Project Fall 2009
Achieved MDR Goals ECE 415 Senior Design Project Fall 2009
Gantt Chart 21 21 ECE 415 Senior Design Project Fall 2009 Grenzebach Glier & Associates, Inc.
Ethical / Environmental Considerations Possible misuse / hacking into a person’s car if web login details are lost. High power consumption/cost is a deterrent. Power cell disposal might be of environmental consideration. ECE 415 Senior Design Project Fall 2009
Proposed FPR Deliverables Bidirectional communication between vehicle and the client computer in the car Communication between the web-server and the client computer inside the car via any available Wi-Fi network. A fully featured, customizable web portal for the end user. Secure user log-in interface. Turning On/Off car. Controlling and monitoring dynamics of the car like, temperature, fuel level etc. Collision Warning System Car Alert System ECE 415 Senior Design Project Fall 2009
Demo ECE 415 Senior Design Project Fall 2009
Conclusion Any questions/concerns that we may answer? ECE 415 Senior Design Project Fall 2009