180 likes | 388 Views
Automotive WiFi Controller. Brent Chroninger and Tom Wood Bully Dog Technologies American Falls, Idaho. Introduction. Project Overview Hardware Software Setup Demonstration Conclusions. Project Overview.
E N D
Automotive WiFi Controller Brent Chroninger and Tom Wood Bully Dog Technologies American Falls, Idaho University of Idaho ECE 504R
Introduction • Project Overview • Hardware • Software • Setup • Demonstration • Conclusions University of Idaho ECE 504R
Project Overview • Establish the ability to communicate wirelessly to an automobile via the OBD2 port. • Transmit CAN protocol commands from PC to vehicle via wireless connection. • Receive CAN protocol commands on a PC from a vehicle via wireless connection. • Control engine RPM remotely using CAN commands through OBD2 University of Idaho ECE 504R
Project Overview – OBDII • OBDII – On board diagnostics, since 1996 required on all vehicles sold in US. Source: <http://en.wikipedia.org/wiki/Obd2#OBD-II_Diagnostic_connector> Source: <http://en.wikipedia.org/wiki/Obd2#OBD-II_Diagnostic_connector> University of Idaho ECE 504R
Project Overview – CAN CAN – Controller Area Network ISO 15765 NRZ Non Return to Zero 500 Kbits/second Source: < http://marco.guardigli.it/2010/10/hacking-your-car.html > University of Idaho ECE 504R
Hardware • Bully Dog Triple Dog – • CAN Transceiver on DSPIC 30F6011 • USB through FTDI USB transceiver • Firmware • Microchip C30 • USB communications to PC • CAN protocol handling • Two PC’s with WiFi connection • One PC must have USB connection to connect to triple dog hardware. University of Idaho ECE 504R
Software • C# development using Visual Studio 2008 • Develop PC to USB communications • Develop PC to PC wireless communications • Packet Format – USB to PC and PC to PC packets the same. University of Idaho ECE 504R
Software – Packet Format University of Idaho ECE 504R
Setup • Install SnoopDog on two separate Wifi enabled PC’s • Connect Triple Dog to PC 1 via USB • Connect Triple Dog to OBD II port on any CAN vehicle • Establish Client Server connection with PC 1 to PC 2 via WiFi University of Idaho ECE 504R
Demonstration • CAN transmission • CAN reception • Command Execution University of Idaho ECE 504R
Demonstration http://www.youtube.com/watch?v=3LhepM2-pZY University of Idaho ECE 504R
Demonstratrion – Server Setup PC1 (server) University of Idaho ECE 504R
Demonstration – Client Setup PC2 (client) University of Idaho ECE 504R
Demonstration – USB Connect PC1 University of Idaho ECE 504R
Demonstration – Message Setup PC2 (client) University of Idaho ECE 504R
Demonstration – Message Setup PC2 (client) University of Idaho ECE 504R
Demonstration – Message Display PC2 (client) University of Idaho ECE 504R
Conclusions • Passively monitor CAN bus via WiFi connection. • Transmit CAN messages remotely. • Server can eventually be put on a WiFi enabled embedded device. • Scripts can be implemented to integrate a series of CAN bus transactions. University of Idaho ECE 504R