brent chroninger and tom wood bully dog technologies american falls, idaho spring 2011university of...
TRANSCRIPT
1University of Idaho ECE 504R
Brent Chroninger and Tom Wood
Bully Dog Technologies
American Falls, Idaho
Automotive WiFi Controller
Spring 2011
2University of Idaho ECE 504R
Project OverviewHardwareSoftwareSetupDemonstrationConclusions
Introduction
Spring 2011
3University of Idaho ECE 504R
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
Project Overview
Spring 2011
4University of Idaho ECE 504R
OBDII – On board diagnostics, since 1996 required on all vehicles sold in US.
Project Overview – OBDII
1. Manufacturer discretion. GM: J2411 GMLAN/SWC/Single-Wire CAN.
9. -
2. Bus positive Line of SAE-J1850 PWM and SAE-1850 VPW
10. Bus negative Line of SAE-J1850 PWM only (not SAE-1850 VPW)
3. Ford DCL(+) Argentina, Brazil (pre OBD-II) 1997-2000, USA, Europe, etc. Chrysler CCD Bus(+)
11. Ford DCL(-) Argentina, Brazil (pre OBD-II) 1997-2000, USA, Europe, etc. Chrysler CCD Bus(-)
4. Chassis ground 12. -
5. Signal ground 13. -
6. CAN high (ISO 15765-4 and SAE-J2284) 14. CAN low (ISO 15765-4 and SAE-J2284)
7. K line of ISO 9141-2 and ISO 14230-4 15. L line of ISO 9141-2 and ISO 14230-4
8. - 16. Battery voltage
Source: <http://en.wikipedia.org/wiki/Obd2#OBD-II_Diagnostic_connector>
Source: <http://en.wikipedia.org/wiki/Obd2#OBD-II_Diagnostic_connector>Spring 2011
5University 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 >
Spring 2011
6University of Idaho ECE 504R
Bully Dog Triple Dog – CAN Transceiver on DSPIC 30F6011USB through FTDI USB transceiver
FirmwareMicrochip C30USB communications to PCCAN protocol handling
Two PC’s with WiFi connection One PC must have USB connection to connect
to triple dog hardware.
Hardware
Spring 2011
7University of Idaho ECE 504R
C# development using Visual Studio 2008Develop PC to USB communicationsDevelop PC to PC wireless communicationsPacket Format – USB to PC and PC to PC
packets the same.
Software
Spring 2011
8University of Idaho ECE 504R
Software – Packet Format
Spring 2011
9University of Idaho ECE 504R
1. Install SnoopDog on two separate Wifi enabled PC’s
2. Connect Triple Dog to PC 1 via USB3. Connect Triple Dog to OBD II port on any
CAN vehicle4. Establish Client Server connection with PC
1 to PC 2 via WiFi
Setup
Spring 2011
10University of Idaho ECE 504R
CAN transmissionCAN receptionCommand Execution
Demonstration
Spring 2011
11University of Idaho ECE 504R
Demonstration
Spring 2011
http://www.youtube.com/watch?v=3LhepM2-pZY
12University of Idaho ECE 504R
Demonstratrion – Server Setup PC1 (server)
Spring 2011
13University of Idaho ECE 504R
Demonstration – Client Setup PC2 (client)
Spring 2011
14University of Idaho ECE 504R
Demonstration – USB Connect PC1
Spring 2011
15University of Idaho ECE 504R
Demonstration – Message Setup PC2 (client)
Spring 2011
16University of Idaho ECE 504R
Demonstration – Message Setup PC2 (client)
Spring 2011
17University of Idaho ECE 504R
Demonstration – Message Display PC2 (client)
Spring 2011
18University of Idaho ECE 504R
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.
Conclusions
Spring 2011