MotoReco is Raspberry Pi Zero based CAN logger system for recent models of BMW Motorrad. MotoReco Logger is designed as “coupler-in”* so all you need is just plug MotoReco Logger into DWA coupler of your motorcycle.
MotoReco is essentially just a CAN data logger** system, so you can also install MotoReco Logger to any kind of CAN bus.
**MotoReco Logger can record only base frame format at the moment. MotoReco Logger hardware itself is ready for extended frame format however MotoReco softwares are programmed to respond to base frame format. (Because BMW Motorrad only uses it.)
MotoReco Logger consists of Raspberry Pi Zero, Original MotoReco Hat and GPS module.
MotoReco Logger mainly consists of 3 programs,
- mrlogger: The main program records CAN data in the key-on state.
- mrserver: The program broadcasts the latest data for each CAN ID via UDP. I plan to use it to develop an app that will allow you to connect your phone to MotoReco via WiFi to check CAN data.
- mrgpio: This little program is a power management program that works in conjunction with the bike’s key On/Off.
These three programs are running on Raspbian Buster Lite. Whole procedure of Setting up MotoReco Logger takes some time, so you can also download MotoReco Logger image.
MotoReco Logger image is configured as
- WiFi access point, ssid:MotoReco and pass:motoreco
- MotoReco Logger IP:192.168.100.1
- SSH server, login with user:pi and pass:motoreco
After first time login with ssh,
- sudo raspi-config
- go to Advanced Option
- go to Expand Filesystem
After reboot, now MotoReco Logger become default setting.
MotoReco Viewer is windows software. MotoReco viewer allow you to visualize and analyze CAN data.
- Install MotoReco Logger to your motorcycle.
- Ride motorcycle.
- When you come back home, key on your motorcycle and wait MotoReco awake.
- MotoReco is configured as WiFi access point so just connect to ssid:MotoReco and password:motoreco.
- Open Windows file explorer and access “\\192.168.100.1”. You’ll see motoreco folder and *.dat file which is logged data are there.
- Open data file with MotoReco Viewer to visualize or analyze.