leighleighleigh / saab-93NG-bluetooth-aux

A module to augment the Aux-In functionality of SAAB 93NG's (2002/3+), to add Bluetooth media playback and steering wheel media control support. If your SAAB has an optic-fiber MOST bus, this will work for you.
GNU General Public License v3.0
10 stars 6 forks source link

Displaying text on SID via I-BUS #5

Open jokubasver opened 2 years ago

jokubasver commented 2 years ago

I've been looking around if it's possible to display text on the SID via I-BUS. Seems like it's been done on OG 9-3s.

Here is one resource on the I-BUS that includes a lot of I-BUS message info: http://pikkupossu.1g.fi/tomi/projects/i-bus/i-bus.html At the bottom of the page there is an application called OBD2SID, including the source code. They were sending 357h and 337h, making the Saab think that the CAN messages are coming from the SPA (parking assist module) to display text on SID.

357h - SPA to SID text control: 1F 01 05 12 00 00 00 00: requesting SID to display text provided with message 337h. 1F 00 05 08 00 00 00 00: SID should not display SPA text.

337h - SPA to SID text: 42 96 01 50 41 52 4B 2E P A R K . 01 96 01 48 4A 15 4C 50 H J Ä L P 00 96 01 20 20 00 00 00 The text "PARK.HJÄLP" will be displayed on row one of the SID display.

There was also a project called Saablin, which also used 357h and 337h to display text on the SID: https://web.archive.org/web/20130119071326/http://saablin.net/node/4

Source code for Saablin can be found here: https://web.archive.org/web/20130116232626/http://saablin.net/sites/default/files/saablin-0.9.5.pl__0.txt

Now, obviously this was done on OG 9-3 and these CAN messages might not exist on the NG 9-3. I tried modifying this sketch to send 337h and 357h and nothing was displayed on the SID, but I am not sure if I was doing it right.

There's also some more info on the BlueSaab forum here: http://bluesaab-forum.90.s1.nabble.com/Custom-CDC-to-SID-text-td90i40.html

jokubasver commented 2 years ago

Here's an example sketch I've tried, based on the talk found on the BlueSaab forum: https://drive.google.com/file/d/1jKbGME3rgqXyLE6HxoxAhFt8Mcw3XzJ2/view

No text was displayed on the SID, however the car was responding in funny ways - resetting the instrument cluster and the SID, so something definitely is happening.

Either my sketch is bad, or the NG 9-3s use different IDs for the SID, so those would have to be sniffed and figured out..

leighleighleigh commented 2 years ago

I have done a lot of I-BUS sniffing, and I'm 90% sure there is no SID data present there. See my I-BUS messages list here. The SID is physically not wired to the I-BUS, it is driven over separate data lines coming from the ICM unit. I've updated my repo here, so it's easier to navigate, I hope it is useful to you.

Potentially, the SPA CAN messages are still a viable entry point - I'm interested to hear that the instrument cluster is responding in strange ways. Good luck!

jokubasver commented 2 years ago

Thanks for updating the HPD repo, really interesting stuff!

I want to do some sniffing on my own but I don't have any hardware. I've tried compiling ESP32RET on the Aux board and using it with SavvyCAN, as in theory it should be compatible (ESP32RET has support for MCP2515), but I haven't had any success yet (GVRET serial and WiFi didn't work) To me it seems like it's a software issue, so I'll play around with it more and see if I can get it running.

What hardware and software are you using to sniff the I-BUS?

leighleighleigh commented 2 years ago

Most of my I-BUS sniffing was done using a PiCAN product like this one!