This debug tooling enables reading canbus information from the b* ebike system.
The tooling consists of the following parts:
- Adapter for intercepting data from the Display connector port.
 - Platform.io project for an esp8266 to send the intercepted canbus frames to a smartphone/laptop via wifi.
 - dbc file for dumping the received traces.
 
- 3D print the connector from the stl file in 'connector'
 - Cut a euroboard with stripe pattern to the required size.
 - Get some 2mmx9.5mm Pogo pins. Solder them to the board and use a lot of solder to create contact points for the pins coming from the display.
 - Wire everything up
 
- 
Adapt the wlan SSID and Key in
esp8266/src/settings.h.sample - 
Rename
esp8266/src/settings.h.sampletoesp8266/src/settings.h - 
Compile the esp8266 firmware with pio and flash it to an esp8266
 - 
Attach a cheap MCP2515 transiver to the esp8266. (See picture)
 - 
Power the esp8266 via a usb power supply
 - 
Connect to the esp8266 via wifi on port 5001
nc <esp_ip> 5001
 - 
You should now see received canbus frames
 
- 
Install can tool via
pipenv installintracereader - 
Enter venv shell via
pipenv shellcat dumpfile | cantools decode -s drive.dbc
 
