FuelGauge
davefiddes·FuelGauge·hardware/FuelGauge.kicad_pcb
About the FuelGauge PCB
FuelGauge is an open source PIC PCB design by davefiddes, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 94 × 44 mm, with 27 components from 24 distinct parts.
Its main chip is the PIC12F1840-IP, from the PIC family. Other key parts include the LM317L_TO92 and LM7805_TO220. By type, the board carries 7 diodes, 6 capacitors, 6 resistors, 3 ICs, 2 transistors and 2 connectors.
From the project
An Open Source Hardware and Software device to provide a linear fuel gauge for cars with oddly shaped fuel tanks.
This project allows an accurate linear fuel readout to be created for vehicles with unusually shaped fuel tanks and/or mismatched fuel senders.
I built this for my Ultima GTR kit car which uses a conventional VDO fuel gauge and vertical float sender unit. The fuel tank on the car is a very unusual shape so it can get as much fuel as possible into a small space. This combination means that with a thirsty V8 the fuel quickly drops from 100% to 25% but takes a lot longer to go from 25% to empty. It's easy to run out of fuel!

Main components on the FuelGauge
FuelGauge bill of materials (BOM)
27 components, 24 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LM317L_TO92 | TO-92_Inline | U1 |
| 1 | LM7805_TO220 | TO-220-3_Horizontal_TabDown | U2 |
| 1 | PIC12F1840-IP | DIP-8_W7.62mm | U3 |
| 1 | BC547 | TO-92_Inline | Q1 |
| 1 | PHB55N03LT | TO-263-3_TabPin2 | Q2 |
| 1 | Conn_01x10 | Molex_KK-254_AE-6410-10A_1x10_P2.54mm_Vertical | J1 |
| 1 | Conn_01x06 | PinHeader_1x06_P2.54mm_Vertical | J2 |
| 1 | 22V MOV | RV_Disc_D7mm_W3.4mm_P5mm | RV1 |
| 4 | 1N4001 | D_DO-41_SOD81_P10.16mm_Horizontal | D1, D2, D4, D6 |
| 1 | 5V1 | D_DO-41_SOD81_P10.16mm_Horizontal | D3 |
| 1 | 12V 1W | D_DO-41_SOD81_P10.16mm_Horizontal | D5 |
| 1 | 22V 1W | D_DO-41_SOD81_P10.16mm_Horizontal | D7 |
| 1 | 1nF 100V | C_Rect_L7.0mm_W6.0mm_P5.00mm | C1 |
| 1 | 1nF | C_Disc_D3.0mm_W1.6mm_P2.50mm | C2 |
| 1 | 1uF | C_Rect_L7.0mm_W6.0mm_P5.00mm | C3 |
| 1 | 22uF 25V | CP_Radial_D5.0mm_P2.00mm | C4 |
| 1 | 47uF | CP_Radial_Tantal_D6.0mm_P5.00mm | C5 |
| 1 | 100nF | C_Disc_D3.4mm_W2.1mm_P2.50mm | C6 |
| 1 | 120R | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 2K2 | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2 |
Show 4 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 1K | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3 |
| 1 | 10R | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4 |
| 1 | 4K7 | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 1 | 10K | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6 |
FuelGauge design files
The KiCad project lives in the davefiddes/FuelGauge repository on GitHub; these links point at the commit this page was built from.
FuelGauge: common questions
What microcontroller does the FuelGauge use?
The FuelGauge is built around the PIC12F1840-IP, from the PIC family.
How big is the FuelGauge PCB?
The FuelGauge measures 94 × 44 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the FuelGauge?
27 components, from 24 distinct parts. The full bill of materials is listed on this page.
Where can I download the FuelGauge design files?
From the davefiddes/FuelGauge repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the FuelGauge design in my own project?
Yes, under the terms of its GPL-3.0 license, which davefiddes chose for the repository.
Can I test firmware for the FuelGauge without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug PIC firmware against it before you order a PCB.
Similar boards
PIC
Pslab hardware
fossasia
99 × 53.3 mm187 parts4LApache-2.01.7kPIC
Micro 8088
skiselev
152.4 × 101.6 mm71 partsGPL-3.0414PIC
GB-CARTPP-DIY
Gekkio
100 × 100 mm22 parts2LCC-BY-4.0376PIC
GB-MBCTEST
Gekkio
51.4 × 61 mm32 parts2LCC-BY-4.0376PIC
GB-BENCH-G1
Gekkio
100 × 100 mm98 parts4LCC-BY-4.0376PIC
GB-LIVE32
Gekkio
51.4 × 61 mm46 parts4LCC-BY-4.0376