Thanks a lot, I'll give that version a try.vtl wrote: ↑18 Aug 2025, 08:41What do you see printed on the serial console?ObliviousOrange wrote: ↑16 Aug 2025, 21:13 Hello everyone. New to this forum and new to messing with car software. I'm having trouble getting the CEM PIN out of my 2011 C30 though, which I wanted for VDASH.
I got a Teensy 4.0, two SN65HVD230DR transceivers, and a buck converter. I successfully uploaded the code to the teensy, and only changed the code to work with this super tiny OLED screen I have on hand.
I've been too lazy to wait for shipping of more electronics stuff, so to connect to the OBD I used alligator clips and the ends of paperclips since i didn't have any other wires thick enough for a snug fit. As far as i could figure, it seems to have a workable connection.
No PCB used here, just a breadboard. I've double-checked the wiring many times now. 20250816_195258.jpg
What happened is that I kept getting a loop of "initializing" on the OLED after plugging everything in. switching some wires on the RX/TX for the U3 transceiver made it say "unknown CEM, exiting" which i assume is better. I'd also get a CAN_LS error if I unplugged U5 which might be a good sign?
After getting nothing after a lot of messing around, I tried deleting the CM_PIN_AUTODETECT line as suggested in here for P1s. Then when I tried plugging it in my car made a loud click noise, lights turned off, and the clock reset (but was otherwise okay). It would still loop on initializing and every time the screen flashed the car would click again. Very concerning.
At this point I've thrown my hands up, idk what else I should be trying. I'm still trying to learn all this, any help would be appreciated. And I expect a lot of what I've said to sound like nonsense to anyone with experience so thanks for your patience.
Also try this version, it works better with P1 (and some P2s, too): https://github.com/cmolson/volvo-cem-cr ... e/one_pass
Idk what's printed on the serial console to be honest, I am under the impression I need to physically modify the teensy to safely plug it into my PC and I didn't want to do that. So I've only been going by what the tiny screen says.
I ordered a male OBD-II port to replace the paperclip wiring as well. If it doesn't magically work I'll come back in here with the serial console readout.
And if you were curious, it turns out my windows, driver lock switch, and mirror controls stopped working until I disconnected and reconnected the battery, ever since my last attempt fucked with the car. Hopefully that's the worst case scenario from CEM hacking








