2009 R1200R CAN Bus Monitoring Hardware / Software Setup

264 views
Skip to first unread message

Jacob Aalfs

unread,
Dec 10, 2020, 11:08:00 PM12/10/20
to bmw-canbus

Hey Everyone,

 

Just got my monitoring setup working and I'm collecting data for a 2009 R1200R.

 

Hardware Setup

 

Connect to CAN Bus at anti-theft/tire pressure connector (I have neither).

GND (4), CAN Lo (5) and CAN Hi (6).

 

Those signals go to a USB2CAN board from Inno-Maker

Company Website: http://wiki.inno-maker.com/display/USBTOCAN

Ordered here ($26): https://www.amazon.com/gp/product/B07P9JGXXB/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1

I have a feeling this is a copy/knockoff of the USB2CAN from 8Devices:

https://www.8devices.com/products/usb2can_korlan

 

I am using linux and can-utils to capture the signals. I have the USB2CAN connected to a Raspberry Pi Zero/w. I can SSH into the RPi board and start/stop monitoring using candump and cansniffer.


Raspberry Pi Zero/w

https://www.raspberrypi.org/products/raspberry-pi-zero-w/?resellerType=home

 

Software Tips

Follow directions from Inno-Maker GitHub

Make sure to update your OS. This should load gs_usb module.


ifconfig -a

If you do NOT see can0

 

Then manually load module

sudo modprobe gs_USB

 

verify gs_USB loaded

sudo lsmod

 

Reboot RPi

sudo reboot

 

Download can-utils

sudo apt-get install can-utils

 

Set bitrate

sudo ip link set can0 type can bitrate 500000

 

Enable can0

sudo ifconfig can0 up

 

start candump

candump can0

  can0  10C   [8]  FF 00 00 00 15 E7 FF FF
  can0  130   [8]  FF EF FF FF FF FF FA CF
  can0  294   [8]  FF 5F 00 00 00 00 03 FF
  can0  2A8   [8]  FF 9F 00 00 00 00 FF FF
  can0  10C   [8]  FF 00 00 00 15 E7 FF FF
  can0  130   [8]  FF EF FF FF FF FF FA CF

 

Ctrl - C to exit

 

start cansniffer

jaalfs@RPi004:~ $ cansniffer can0
|  time    ID  data ...                     < cansniffer can0 # l=2 h=10 t=50 >
9.999999  10c  FF 00 00 00 15 E7 FF FF ........
9.999999  130  FF EF FF FF FF FF FA CF ........
9.999999  294  FF 5F 00 00 00 00 03 FF ._......
9.999999  2a8  FF 9F 00 00 00 00 FF FF ........
9.999999  2ac  FF FF FF FF FF FF FF FF ........
9.999999  2bc  FF 53 37 00 00 22 F8 57 .S7..".W
9.999999  2d0  FF 71 00 FE FB FC FF CF .q......
9.999999  3ff  45 BF 52 A0 17 03 54 00 E.R...T.

 

I'll try to verify the PIDs already listed and explore new ones.

 

Jake Aalfs

jaa...@gmail.com

Jacob Aalfs

unread,
Dec 10, 2020, 11:19:28 PM12/10/20
to bmw-canbus
Could not add pictures to post - Here is a link to a shared album:

schwarzela...@gmail.com

unread,
Dec 11, 2020, 1:15:26 AM12/11/20
to bmw-canbus
This is my first post.

I've been building a Raspbery Pi based CAN logger, and running it on my bike for over a year.


If you're interested, check it out.

I've also made logging software that runs on the Raspberry Pi and an app that can analyze it on Windows.

2020年12月11日金曜日 13:19:28 UTC+9 jaa...@gmail.com:

Jacob Aalfs

unread,
Dec 11, 2020, 2:40:43 PM12/11/20
to bmw-canbus
Thank you for sharing. I enjoyed looking through your work. Lots of good information and it's given me some ideas.

fernando costa

unread,
Sep 3, 2022, 12:33:00 PM9/3/22
to bmw-canbus
oi 

fernando costa

unread,
Sep 3, 2022, 12:34:08 PM9/3/22
to bmw-canbus
ola gostaria de te mais informações alguem para mi ajuda 55016988313903

technicahmett

unread,
Nov 9, 2022, 4:20:03 AM11/9/22
to bmw-canbus
Hi friends.
I am trying to connect to my bike on the DWA module port.
But I cannot read any message on the serial monitor. I fistly tried Can Read Demo skecth with Nano. But I cannot read any data.
I think that canspeed may incorrect?
Do you have any idea?

3 Eylül 2022 Cumartesi tarihinde saat 19:34:08 UTC+3 itibarıyla nandoc...@gmail.com şunları yazdı:

Keith Conger

unread,
Nov 9, 2022, 9:35:48 AM11/9/22
to technicahmett, bmw-canbus
CANbus speed should be 500K.

--
You received this message because you are subscribed to the Google Groups "bmw-canbus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bmw-canbus+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bmw-canbus/b2c9757d-e8a5-4bba-b41d-df287b0d0172n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages