Skip to content

EricTurner3/s550-canbus

Repository files navigation

Ford Mustang (S550) CAN Bus Research & Scripts

This repo serves as a compendium of scripts and hours of trial/error research to try and map the S550 canbus, specifically towards the IPC.

Main Scripts

  • s550_cluster.py - Currently supports Forza Horizon 5, American Truck Simulator & Euro Truck Simulator 2 in an alpha state. Allows that game to interface with the cluster. See s550_data.py for the model in translating other game data
  • interactive_brute_force.py - This script allows you to use the up,down,left,right,enter keys to control the menu on the cluster
    • arrows.py and brute_force.py were merged into a single interactive script
    • Video Demonstration

Supporting Scripts

  • ports.py - Script that was pulled from StackOverflow to show which port the USB-to-CAN interface is running on. Required to communicate with the IPC
  • decode_can_log.py - Takes a CANdump from the can folder and converts the b64 data string to a more easily readable byte array
  • replay.py - Attempt to replay data from the CANdump at a slower pace to determine functionality (doesn't quite work)

Requirements:

  • USB-to-CAN adapter. I am using a CANable
  • Wires / Breadboard Wires
  • 12v power supply (I had one laying around with a 5.5mm x 2.1mm plug barrel on the end)
    • You can wire one of the female connectors from here to allow for easy plug and play.
  • S550 Cluster (you can find them for under $100 on eBay.)
    • I am unsure of the digital clusters functionality, some data should be shared so it should work in an alpha state.
  • Python, PIP, & Packages in the requirements.txt file

Booting Your Device:

  • APIM / SYNC2 / SYNC3
    • Pin 1 - 12V
    • Pin 37 - Ground
    • Pin 19 - HSCAN High (goes to USB-to-CAN adapter)
    • Pin 20 - HSCAN Low (goes to USB-to-CAN adapter)
  • Instrument Cluster
    • Pin 8 - 12V
    • Pin 3 - Ground
    • Pin 12 - HSCAN High (goes to USB-to-CAN adapter)
    • Pin 13 - HSCAN Low (goes to USB-to-CAN adapter)

References

About

Research and scripts for the Ford S550 Mustang CAN Bus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages