Use ArduinoRX8All.c
- RaceChrono DIY BLE (~20Hz send data)
- Read CAN Bus data
- Ask OBD2 via CAN Bus
- Read Analog Data
- Concat all measurements as two RaceChrono DIY BLE CAN messages (https://github.com/aollin/racechrono-ble-diy-device)
- Draw information on two I2C OLED displays
- Add signal through buzzer
- Add signal as Led blinking
Hardware:
- Arduino UNO R4 WiFi (Amazon)
- Arduino Proto Shield (Amazon)
- SN65HVD230 CAN Transmitter (Amazon)
- 0.96' OLED I2C Displays (Amazon)
Useful links:
https://github.com/MagnusThome/esp32_obd2/blob/master/src/esp32_obd2.cpp
https://github.com/sandeepmistry/arduino-OBD2/blob/master/src/OBD2.h
https://github.com/DaveBlackH/MazdaRX8Arduino
https://github.com/Radivv/arduino-display-obd2-can-mazda-rx8
https://docs.arduino.cc/tutorials/uno-r4-wifi/can/
patch timeout here:
/Users/n.mikolaichuk/Library/Arduino15/packages/arduino/hardware/renesas_uno/1.1.0/libraries/Wire/Wire.cpp
TwoWire::TwoWire(int scl, int sda, WireAddressMode_t am /*= ADDRESS_MODE_7_BITS*/, bool prefer_sci /*= false*/) :
scl_pin(scl),
sda_pin(sda),
init_ok(false),
is_master(true),
is_sci(false),
address_mode(am),
timeout(10),