A fellow Saab enthusiast, Karlis, has kindly offered to work on my crappy code and make it better :)
He's posted his new code up on GitHub here
https://github.com/kveilands/SAAB-CDC/releases/tag/v1.0
Everyone should buy him a beer for his hard work, dealing with my bad code-writing abilities :)
this code is for both version or only for bluetooth?
ReplyDeleteThis code currently works with the 'wired' version of CDC module only. Work in progress to get the bluetooth code more reliable...
ReplyDeleteAre you still selling these devices? Is there any way you and I can work together to test the project on my 1995 900? The unit has CD Changer wiring, but no onboard CD player, so instead of the CDC source on the head, it would be CD. I'd like to see if it could be set up to work with the head unit controls, and I would love to see the SID display the track information.
ReplyDeleteI don't know anything about the NG900 audio system, if it uses CANBUS (probably not, but I don't know), pinouts, etc. I'm not selling these; hence the free plans/software :)
ReplyDeleteIt uses the CANBUS, but the changer plug is different. I suppose it would be a project. Sadly, one that I don't have time for. I'd much rather buy pre-assembled components than do all the assembly myself. Can this be done with a stock arduino UNO board and bluetooth shield?
ReplyDeleteand of course the CAN shield.
ReplyDeleteYes, my very first ever version of this project was a box full of an arduino, can shield, and (at the time, audio balun but can now be replaced with) a bluetooth shield.
ReplyDeleteOk, thanks :)
ReplyDeleteHey guys, I built a variant of the 3.5mm module. I don't know if you can use any of this, but the code is here:
ReplyDeletehttps://github.com/mcaldwelva/iSaab
I noticed in your latest code that you've changed the CAN bus settings. This is the closest I could find to a Saab specification: http://www.microchip.com/forums/m/tm.aspx?m=236967&p=2. If this is accurate, then your original settings w/o OSM should be correct.
Nice work, Mike! We're still fine-tuning the CAN settings to see which combination works the best. I'll check the link you posted. Also I see that you use CAN message filters. Are they working reliably?
ReplyDeleteThanks! Filters seem to be working correctly. I'm getting the two message types that I need (3c0, 6a1) and definitely not getting other messages (for a while I ran with a default case that would send a beep).
Delete