

Fuel economy meter
A system for tracking trip data on an ESP32
- Size
- 40.4 × 54.4 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 9
- Nets
- 32
- Pads
- 50
- Tracks, vias
- 29, 3
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 3 Jul 2023
- Updated
- 30 Jun 2024
Overview
Fuel economy meter is an open-source printed circuit board by Goosetaf, from the Goosetaf/esp32-trip-meter repository on GitHub. It is a 2-layer board of 40.4 × 54.4 mm with 9 parts on 32 nets, routed with 29 tracks and 3 vias.
Its parts include 3 resistors, 2 diodes, 2 connectors, 1 capacitor and 1 IC. It belongs with the ESP32 boards of this library.
README
README.mdESP32 Trip Meter
An ESP32-based trip meter primarily made for measuring fuel efficiency.
Background and motivation
I started this project in search of a solution for measuring the fuel efficiency on my '97 Volvo 940. The only real solution I found prior was the MPGuino, but I quickly realised it wasn't for my needs. What I wanted was to have a solution that was as clean as possible, so having a separate display that I had to mount somewhere was out of the question.
Instead, I built it around a standard Bluetooth OBD-II interface, which would allow any device to get information and display it in any way they want. This was perfect for my use case, as I wanted to display all the information on my phone or Android stereo via the Torque app.
Features
- Measure fuel efficiency (L/100km)
- Measure velocity (Km/h)
- Measure fuel injection speed (L/h)
- Display data through an emulated ELM327 (OBD-II) interface
Connections
- The negative side of the injector is connected to corresponding input on the board
- NOTE: Must be a saturation-type injector (read below)
- A pulsed signal of the vehicle speed sensor (VSS) is connected to VSS+
- Variable reluctance (VR) speed sensors do not seem to work
Power and ground
The ground reference and power is currently given by the USB port on the ESP32. This may change later due to being a limiting factor.
Injector types
This project is mainly made to support saturation-type injectors. If your engine uses other types of injectors, such as peak-and-hold injectors, this project will not work.
The easiest way to check this is to measure the resistance of an injector; If it has a resistance of around 12Ω, it is a saturation-type injector. If it has a resistance of around 2-3Ω, it is likely a peak-and-hold injector.
Also note that injectors that are connected for batch injection may be connected in parallel, and may in some cases display a resistance that is lower than normal.
The reason why peak-and-hold injectors will not work, is that they work differently from saturation injectors. While saturation injectors simply open while the signal is active, a peak-and-hold injector, like its name suggests, sends a high voltage signal which forces the injector open (peak). After that, a lower-voltage signal (normally around 12 volts) is pulsed through the remainder of the opening time (hold).
Platform compatibility
Since the project currently uses ESP32-specific platform code a lot, it would be difficult to port to using normal Arduino implementations. It may be possible to port it to ESP8266 devices, but they would need a discrete Bluetooth module.
Parts
9| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 50K | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2, R3 |
| 2 | 3V | Diode_SMD:D_SOD-123 | D1, D2 |
| 2 | Conn_01x02_Female | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J1, J2 |
| 1 | 0.01uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1 |
| 1 | ESP32-DEVKIT-V1 | ESP32_Devkit:MODULE_ESP32_DEVKIT_V1 | U1 |
Similar boards
- 2 layers103 × 30.5 mm

- 2 layers31.8 × 47.6 mm

- 2 layers24 × 27.3 mm

Expansion Card Retrofit
FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop
9 parts1.1kCC-BY-4.0 - 2 layers15.6 × 17.3 mm

SKR Mini TFT Thermistor Board
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
9 parts1.1kGPL-3.0 - 2 layers39.1 × 49.5 mm

Learnoliver
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
9 parts915 - 2 layers17.4 × 16.9 mm

- 2 layers9.8 × 108 mm

- 2 layers

Keyboard after
adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing
9 parts547GPL-3.0
Questions
How big is the Fuel economy meter PCB?
It measures 40.4 × 54.4 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Fuel economy meter use?
9 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Fuel economy meter KiCad files?
From the Goosetaf/esp32-trip-meter repository on GitHub, at the commit this page was made from: the board is pcb/fuel_economy_meter.kicad_pcb and its schematic pcb/fuel_economy_meter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Fuel economy meter design in my own project?
Its repository states no licence, so its author keeps all rights: ask Goosetaf before reusing the design.