This question might be too technical for this forum, but I'll give it a go. I have a 2012 BMW R1200R motorcycle with CAN-BUS. I'd like to make an Arduino interface to the connector on the bike, but I don't know the pin definitions...
Do anyone know the pin definitions or how to figure out what they are?
UPDATE:
Pin #.Wire color.Ohms with disconnected battery.Voltage with key off.Voltage with key on
1 Green/Blue 3.2 ohms 0 V 12.25 V
2 Red 2.2 KOhms 12.9 V 12.32 V
3 Brown 0.4 Ohms 0 V 0 V
4 Brown/Black 16 Ohms to 12.4 Ohms ~0.003 V 11.2 V
Pin 2: Two +12V lines probably means this is a battery pin?
Pin 3: Possible ground pin with two 0 volt pins?
Update 2:
The OBD Wiki shows that for these pins it must be one of three protocols: ISO 9141-2, ISO 14230 or ISO 15765. I don't have all the chips needed to test 9141 or 14230, but I'll have them and another update within two weeks.