This example extends the MaTouch_SimpleCan example by adding OBD2 PID polling. Code is written to support 2 display sizes, the 2.1" and the 1.28" MaTouch round tft displays. This example is provided as-is. There are no guarantees this will work for your vehicle although it was tested on 2 different makes as well as a generic DIY OBD2 ECU emulator.
Canbus and 12V adapter boards can be found here:
https://www.tindie.com/products/cnjboards/can-bus-adapter-card-for-matouch-round-displays/
This code is supplied as a demonstration of:
- cnjboards Canbus and 12V adapter card
- Canbus with filtering on ESP32-S3 processor
- Reading generic OBD2 using the Canbus
- Displaying OBD2 values on a round tft using LVGL.
- Simple rotary encoder mechanism for user input.
A simple OBD2 test rig for test use in a vehicle.