How To Hack Your Car

Started by UniLab Tokyo Team · 0 Replies
Posted: 3 months ago
CAN is a serial communication protocol first developed by Robert Bosch Company in 1983 and officially recognized in 1986 by the Society of Automotive Engineers (SAE). In 1991, Bosch issued CAN 2.0 version and two years later became ISO 11898. Currently, almost all cars use CAN standard to communicate between controllers. Some advantages can be summarized when a system uses CAN as follows:
Compact and more economical than common standards. CAN is a 2-wire transmission standard, requiring no synchronization pulse to transmit information.
Suitable for applications that require real time. The CAN network has an ID-based arbitration system that makes instantaneous transmission of high priority messages.
Increase the security level of the system. The failure of one module in the CAN network does not affect the remaining modules, unless the two modules are directly related to each other and cannot function without the other. At the same time, adding / removing modules in the system can be done as soon as the system is working without any problems for the electrical system.
The feature of CAN is the method of addressing and object-oriented communication, while most other communication systems rely on station addresses. Each information exchanged in the network is treated as an object and is assigned an ID code. Information is sent on a bus that transmits messages in different lengths. The content of each notification is distinguished by stations that are issued with the ID. The ID does not indicate the destination of the notice, but only the meaning of the message. Therefore, each station on the network can decide whether to receive and process messages or not to receive notifications through notification filtering method, so that many stations can receive many notifications at the same time and have other responses together.
Please follow the links below to be able to understand and make your car controlled as you like:
1. National Instruments Corporation: Controller Area Network (CAN), http://www.ni.com, 2014.
2. Harald Eisele; Adam Opel AG: The Benefits of CAN for In-Vehicle Networking, CAN in Automation, iCC, 2012.
3. A complete guide to hacking your vehicle bus on the cheap & easy – part 1 (hardware interface), http://theksmith.com/technology/hack-vehicle-bus-cheap-easy-part-1/
4. A complete guide to hacking your vehicle bus on the cheap & easy – part 1 (hardware interface), http://theksmith.com/software/hack-vehicle-bus-cheap-easy-part-2/
5. How to interface with your car’s ECU through OBD2 and Python, http://blog.brianhemeryck.me/how-to-interface-with-your-cars-ecu-through-obd2-and-python/
6. OBD-Pi: Raspberry Pi Displaying Car Diagnostics (OBD-II) Data On An Aftermarket Head Unit, http://www.cowfishstudios.com/blog/obd-pi-raspberry-pi-displaying-car-diagnostics-obd-ii-data-on-an-aftermarket-head-unit
7. Serial port programming, http://elinux.org/Serial_port_programming
8. Python serial communication – sending hexadecimal commands, https://tungweilin.wordpress.com/2015/01/29/python-serial-communication-sending-hexadecimal-commands/
9. Python serial port communication, https://tungweilin.wordpress.com/2015/01/04/python-serial-port-communication/
10. Serial Communication, https://learn.sparkfun.com/tutorials/serial-communication
11. Serial Terminal Basics, https://learn.sparkfun.com/tutorials/terminal-basics
12. Logic Levels, https://learn.sparkfun.com/tutorials/logic-levels
13. Raspberry Pi Car-puter, http://nikrooz.co.uk/raspberry-pi-car-puter/
14. CANned Pi: (Part1), http://www.cowfishstudios.com/blog/canned-pi-part1
15. Reading a car's OBDII port with a Raspberry Pi, http://fabcirablog.weebly.com/blog/reading-a-cars-obdii-port-with-a-raspberry-pi, 2014.
16. Calling XBMC’s (Kodi) JSON-RPC API using Python’s requests library – Pause a video, http://www.foo.co.za/calling-xbmcs-kodi-json-rpc-using-pythons-requests-library-pause-a-video, 2014.
17. XBMC’s JSON-RPC API – REALLY Pausing a video, http://www.foo.co.za/xbmcs-json-rpc-api-really-pausing-a-video, 2014.
18. Car Hacker's Handbook, 2014, OpenGarage, http://opengarages.org/handbook/2014_car_hackers_handbook_compressed.pdf
19. Road vehicles — Diagnostics on Controller Area Networks (CAN) // Part 4: Require-ments for emissions-related systems, International standard ISO 15765-4,
http://www.mediafire.com/view/lp4363rxwtjxhyu/iso_15765-4.pdf
20. ELM327 AT commands quick reference, http://elmelectronics.com/ELM327/AT_Commands.pdf
21. ELM327 data sheet (explains the commands), http://elmelectronics.com/DSheets/ELM327DS.pdf
Share on my timeline