The RC Car Logger should help to measure following informations
- velocity
- battery voltage
- power consumption
This values are measured and recorded. The recorded data can be downloaded from the web ui. The drag indicators min
and max
can be read by the system ui and web ui.
The following picture shows the system overview.
All boards and schilds are described on the following chapters.
The GPS receiver is based on the BN220. The RC-Car-Logger uses the UART to read the data provided by the BN220.
GPS BN220 | WMOS D1 Mini | color of the included cable |
---|---|---|
VCC | VCC | red |
GND | GND | black |
Tx | D4 | white |
Rx | D3 | green |
The INA226 is a TI based board to measure the voltage of the battery and the current consumed by the car. The INA226 is connected by I2C to the WMOS D1 Mini. The I2C address of the board is 0x45, therefore are A0
and A1
connected to VCC
.
INA 226 | WMOS D1 Mini |
---|---|
VCC | VCC |
GND | GND |
SCL | D1 |
SDA | D2 |
The shunt resistor is modified to 0.001 Ohm.
The OLED Schild Display V2.0 for Wemos D1 Mini has a size of 0.66" with the resolution 64x48. The display is control over I2C with the address 0x3C. On the board are also two buttons, they are connected as following:
OLED Schild v2.0 | WMOS D1 Mini |
---|---|
Button A | D5 |
Button B | D6 |
The input voltage must be in the range of 7-24V. The schild provide up to 1A on the output.
The software is designed to be modular, as far as the effort justifies it. It is possible to adjust the image to match your memory footprint by en- / disable the software components.
You have to adjust in the file platformio.ini the lib_deps
list. The following overview should make it easier to decide which modules should be used.
The platformio.ini is groped with comments based on the overview. You can remove the rc-car-logger module and the required library (At this point, 2021-07-05 there is a bug in platformio )
This Project is based on platformio.io for the installation please follow the plug-in installation guide.
The espurna documentation describes the procedure in detail. Please follow the documentation espurna/flashing.