Sunday, August 21, 2016

Ford Canbus (Part 2) : Progress

Currently only decoding HS-CAN. Only status messages.
Have identified following Headers:

201 - RPM, SPEED
240 - STEERING TOUCH SENSOR???
424 - AC RELATED?
433 - LOCKS, DOORS, WIPER, LIGHTS, AC, HANDBREAK
0FD - ACCELERATOR POSITION?
4F2 - ODOMETER
4FF - CAR ID

Tapping into the Ford CanBus (Part 1 of so many): The Learnings

The What and Why
-OBD II Port, present in all new cars, near steering wheel.
Has diagnostic and status information.
ISO Standard.
Can access vehicle canbus through this port. Has more info. used by various systems in vehicle to communicate with each other.
CanBus has two types of messages (I think) - status and commands.
Ford uses two types of canbus - HS and MS. Need to rewire to read MS-CAN messages (commands are sent through this?)



The How
Cant use chinese ELM327 clones to sniff canbus messages. Need original ELM327. Difficult to get in India.
Also buffer issues with BT models

Purchased OBDLINK SX model from Alibaba. meeting requirements for HS-CAN.
Have also purchased an adapter, which will have to be modified to read MS-CAN.

Using terra term to sniff messages in windows. Linux might potentially be easier.

Using excel to analyse message dump.

NOTE: page will be made descriptive sometime in the future.

List of Enhancements


  1. Front/Side sensors to help in parking
  2. Automatic Climate control
  3. Automatic wipers
  4. Automatic headlights
  5. Auto door locks
  6. Door open indicators
  7. ...

Vehicle Details

My car is a Ford Ecosport, trend petrol variant. Being the mid-tiered variant, it does not have couple of features like trip mileage, automatic climate control, etc.

After-market rear cameras and parking sensors have already been installed. I have also installed a dashcam (mini 0805) under the rearviw mirror.

Project Details

OBJECTIVE:
To create a control dashboard for my car (Ford Ecosport) that will display current status (door open, lights, odo, temprature, distance to car in front, etc) as well as be able to automate/control certain systems in the car (AC, lights, warnings, etc).

APPROACH: 
1. Tap into existing sensors/systems on board through the OBDII port and canbus.
2. Install new sensors like additional parking sensors in front/side, temperature sensor, ambient light sensor, etc.

THINGS TO DO:
1. Learn to tap into the car's canbus, to read and control the system (IN PROGRESS)
2. Learn to read information from the parking sensor systems (IN PROGRESS)
3. Decide on platform for dashboard (device and OS)
4. Development of dashboard.

THINGS TO CONSIDER:
1. Daily driver phone to fit into the system, primarily for Maps, Calls and Podcasts.
2. Minimize permanent work on car, so as to not impact resale value.

I will be updating this post, as required.

Featured Post

Project Details

OBJECTIVE: To create a control dashboard for my car (Ford Ecosport) that will display current status (door open, lights, odo, temprature, ...