r/CarHacking • u/guava5000 • 8d ago
ISO 9141 K Line to UART ISO9141
Got this circuit off GitHub. K Line is a 12V signal. Does this look correct? Because unless TX is low (not UART idle state) wouldn’t K Line to RX always read high?
r/CarHacking • u/guava5000 • 8d ago
Got this circuit off GitHub. K Line is a 12V signal. Does this look correct? Because unless TX is low (not UART idle state) wouldn’t K Line to RX always read high?
r/CarHacking • u/maker_monkey • Aug 28 '24
First. I'm primarily a software guy and have no formal training hardware so forgive me. I have an older car whose OBD port only uses the k line. I have a dash gauge connected to it but sometimes want to hook up a phone running torque pro for reading more parameters at the same time. Dumb splitter cables don't work, of course with two devices that my try to post a commnd at the same time.
Are there any active splitter solutions that can buffer commands from two separate obd devices, basically acting as an intermediary and thus providing virtual OBD ports for the multiple devices? If not, what about using an optoisolator on the data line so that one port is constantly in read-only mode (i.e. drop all commnds) while setting up the other (with a device running torque pro) to issue a superset of pid commands including what the other one is watching for? Any chance this can work or would the initial handshaking or somethin else mess things up?
r/CarHacking • u/twbro54l • Nov 26 '24
Ordered myself a can bus shield v2 (seeed) and i realized that i have no k line pin for it (I made myself an obd2 to db9 plug).
My car (bmw e90 2007.02) communicates over k line but i'm stuck, i just can't get it.
Could someone help me out?
Using arduino uno r3 & seeed can bus shield v2.
Edit: Could I, in theory, hook CAN H to K-Line (both pin7&pin8 with a switch) and CAN L to K-Low & code the baudrate to 10400?
r/CarHacking • u/WearyAssistance354 • Aug 27 '24
Hello anyone here have experience using VAG EEPROM Programmer? I have 2 scrap instrument clusters I’m playing with, one is a B5 S4 and the other is a MK4 Jetta. I’m unable to read the EEPROM. I’m getting “ECU not found”. Also VAG EEPROM Programmer is unable to connect and read DTC’s from the clusters, but VCDS lite does. VAG EEPROM Programmer is able to read faults from a 1.8t ECU, but is also unable to read the EEPROM. Also tried in boot mode. I’m using the cheap FT232 KKL cable.
r/CarHacking • u/uncommonoatmeal • Aug 31 '24
Hey everyone, i am working with heavy machinery, with a wide variety of OEM diagnostic solutions, and i have some Aftermarket stuff for my cars, so i am not soo unexperienced. My current problem is 'ancient' hardware, from the early 90s. I have the original software, including the license, but the interface got lost somewhere in the last 20 years. I've got the software up and running, waiting for a K-Line interface on COM1 or COM2.
I am looking for a USB K-Line interface that just does the job without a big hassle. Or is there a way to get a virtual COM port for K-Line out of a capable J2534 Interface - since i've got plenty of them?
Thanks in advance
r/CarHacking • u/yCuboy • Apr 22 '24
I would like to use macchina to interface with the w202 mercedes which use iso 9141 protocol. I would like to use macchina to connect it with xentry.
I would like to know if there's any information available on how the multiplexer works, if there's a authentication or something going on, since i think that later mercedes 38 pin port are digital. My car has canbus, but yet uses the 38 pin mercedes plug.
I know it uses sae J2534 and iso 9141 protocol, but i need more information on the multiplexer and how connection to the car is established, i have a 38 pin to obd2 connector from icarsoft which i could potentially use with macchina.
r/CarHacking • u/Alfa-Bravo- • Dec 12 '23
hello, could someone help me to have secure access to cas2 on e60? the seedkey challenge and the following: cas serial number request, ecu responds, challenge request, ecu responds 8bytes, seedkey+id hash md5 encrypt rsa public key. tool responds 128 byte. has anyone managed to extract these public keys? THANKS
the rsa key is chosen from an index based on the cas2 id
r/CarHacking • u/UnluckyPr0gr4mm3r • Oct 02 '23
Hello!
I would like to get my hands dirty with K-Line (as my car seems not to support canbus).
Do you have any adapter to suggest in order to connect obd2 with usb and communicate over K-Line? I already have innomaker obd2 to db9 adapter (which may be useful - pinout :
2:7 J1850 BUS+.
4:2 Chassis Ground
5:1 Signal Ground
6:3 CAN High J-2284.
7:4 ISO 9141-2 K Line
10:6 J1850 BUS.
14:5 CAN Low J-2284.
15:8 ISO 9141-2 L Line
16:9 Battery Power
if that helps)
as well as usb2can cable again from innomaker (which will be a miracle if it supports ISO-9141).
Do you also have to suggest any robust linux open source utils that handle this type of protocol or at least guides to build it from scratch with C/Python etc?
Thank you in advance guys.
r/CarHacking • u/Hovertac • Jan 25 '19
Hey all!
I hope this is the right place for this question here, I have a 2000 Honda Civic with a fully built engine that requires to run an OBD1 ECU for tuning purposes. Since this is an OBD2 vehicle, it will fail the state inspection since the scanner won't be able to communicate with the ECU. This brings a problem when I go to register the car and get it on the road. I'm interested in creating a Raspberry Pi device that can report back a fully-functional OBD2 ECU in good status with all ready monitors & report no check engine light to an OBD2 scanner. Unfortunately I can't pop an OBD2 ECU in for inspection time because the engine block of choice was from a 94 Honda Civic and lacks a knock sensor & I do not have an upstream or a downstream o2 sensor for this vehicle, only a wideband o2 for the a/f gauge so I will get a check engine light when I run the car anyway with an OBD2 ECU.
I see lots of information about creating a device to READ the OBD2 signals, but I'm wondering if it's also possible to emulate an ECU? I have a 1998 Honda Civic that I daily drive and can also tinker with to help me in this situation, such as giving commands to the ECU and seeing what information comes back in a normal setting and would be expected by the emissions machine.
Thanks all!
Edit: I also have the original OBD2 ECU for the vehicle in question. Not sure if this will help because I feel like it will probably be harder to emulate ALL the sensors to this ECU than for the pi-ECU to emulate a good ECU.
If only I can find my Pi I would like to hook it up to the K-Line port and see what kind of communication goes on...
r/CarHacking • u/SolderFish • Mar 04 '16
I was wondering if anyone had information on ISO 9141-2 hacking. I am looking for hardware, software and just general information.
None of the cars I own use the CAN system and that makes me sad.
Thanks for your help!