shmick / triumph-canbus-gearinfo

CAN Bus reader to detect gear selection on a 2012 Triumph Thunderbird
1 stars 0 forks source link

Sniffing the ECU > Instrument when ignition on. #1

Open diginfo opened 1 year ago

diginfo commented 1 year ago

Hello;

Not an issue at all, but I came across your github while looking for info about the Triumph canbus.

I have the clocks removed and are away from my bike (Tiger 1050) so I cannot sniff the bus myself.

While the gauges power up normally using a bench supply, and display most just info, on the Tiger there's 2 LCDs, one that shows stats info such as clock/time, litres / 100km as well as Fuel levels and Temperature level bars, this one is functioning correctly.

The other shows the speed in 3 large digits and the odometer / trip at the bottom in small digits, and although the odometer mileage is shown, there are no large digits displayed, not even zero.

I now suspect that when the ignition is switched on, the ECU sends a one-time init command to the dashboard, and I was wondering if you had any sniffed data from your bike, specifically when the ignition is first switched on, I suspect this might be a one-time message that the gauges use to initialise.

I am aware and able to call the 0x540 (LEDS & GEARS), 0x550 (TEMP/FUEL) , 0x518 (RPM) and 0x519 (SPEED) but are unable to for example switch between KM/MILES using a 3 button press that when fitted to the bike can be done.

Would be great if you were able to share any canbus dumps that you have, I know all bikes / models / years will be slightly different, but I think that the address and bytes sent are very similar across all models.

Cheers

PeterC

shmick commented 1 year ago

Hi @diginfo,

Unfortunately I don't have any additional CAN data to share with you. This little project was only focused on reading the gear info so that we could power up an LED when the bike is in 6th gear.