Page 1 of 1
R12 CAN hack
Posted: Wed Dec 04, 2013 1:38 am
by wayneosdias
I wanted to post this to this forum, but was unable to link/upload pics, sorry for cross thread
http://www.r1200rforum.com/forum/bmw-r1 ... hack-7890/
Re: R12 CAN hack
Posted: Sat Dec 07, 2013 10:33 am
by wayneosdias
Got TPS and RPM figured out see pic. Couldnt wait for the Haynes manual so I started poking around the cluster. Wire colors are the same, but the pinout for the identical connector under the seat is different!?

12R CANbus facts
-Cluster Runs at 500k/s
-Pin 1, Wht/Blk = CANH
-Pin 2, Wht/Brn = CANL
-ID 0x10C = RPM, TPS and ???
If the cluster knows the TPS, I would have to think it has engine temp, what Im ultimately after. Problem is its ez to figure lights, gear position, throttle position and such since its easily manipulated while sampling the bus. Finding temp will take a bit longer. Anyway hope to have the majority R12 bus sorted relatively soon!
Re: R12 CAN hack
Posted: Sat Dec 07, 2013 11:00 am
by dbrick
Wayne,
The first bracketed expression ("/url") should instead be "url" without the forward slash.
Pretty fancy investigating!
Re: R12 CAN hack
Posted: Sat Dec 07, 2013 2:32 pm
by Bob Ain't Stoppin'
Looks great Wayne. Though I have no idea what you might do with this information. Bet it's fun learning. Keep posting!

Re: R12 CAN hack
Posted: Sat Dec 07, 2013 3:10 pm
by wayneosdias
Bob Ain't Stoppin' wrote:Looks great Wayne. Though I have no idea what you might do with this information. Bet it's fun learning. Keep posting!

Thanks Dave and Bob, going to have a supplementry display for the bikes vitals. Initially I was after just the engine temp, but finding a bunch of additional info. This morning I found the Cylinder head temp and the Oil temp! Once I get the CAN fully mapped Ill build some dedicated hardware that will fit in the cluster.

Re: R12 CAN hack
Posted: Sat Dec 07, 2013 6:19 pm
by Bob Ain't Stoppin'
Ha! You must have skills the rest of us only dream about.

Re: R12 CAN hack
Posted: Sat Dec 07, 2013 8:52 pm
by wayneosdias
Bob Ain't Stoppin' wrote:Ha! You must have skills the rest of us only dream about.

Thanks again Bob, its really not that tuff w/some electronics knowledge. Before health care I was an embedded engineer. Just a matter of time now to sift thru all the data. Im thinking of programming something like this to display bike vitals in realtime instead of building my own circuit.
http://www.mikroe.com/mikromedia/pic32/ Itll be much faster and prolly a bit cheaper than designing my own and has an accelerometer and SD reader to datalog ride data, I think itll turn out pretty cool.