Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/EricTurner3/s550-canbus
Research and scripts for the Ford S550 Mustang CAN Bus
https://github.com/EricTurner3/s550-canbus
Last synced: 3 months ago
JSON representation
Research and scripts for the Ford S550 Mustang CAN Bus
- Host: GitHub
- URL: https://github.com/EricTurner3/s550-canbus
- Owner: EricTurner3
- Created: 2023-05-07T13:21:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-10T14:46:46.000Z (9 months ago)
- Last Synced: 2024-07-12T12:41:23.459Z (4 months ago)
- Language: Python
- Size: 8.83 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-automotive-can-id - S550 Mustang, 2015-2017 - Python scripts with notes and a [wiki](https://github.com/EricTurner3/s550-canbus/wiki) on CANBus ids and behavior. (Ford (Lincoln, Mercury) / Jeep)
README
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
* [Video Demonstration](https://youtu.be/KNyn1v3_cwc)
* 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](https://youtu.be/OzUs28GIq0A)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](https://openlightlabs.com/collections/frontpage/products/canable-0-4)
* Wires / [Breadboard Wires](https://www.amazon.com/dp/B01EV70C78)
* 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](https://www.amazon.com/dp/B079RBL339) 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 fileBooting 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
* [v-ivanyshyn's Ford CAN IDs summary](https://github.com/v-ivanyshyn/parse_can_logs/blob/master/Ford%20CAN%20IDs%20Summary.md)
* this helped me find the tire pressure