An Oil Temperature Gauge for the 420R, (Part 2)
In the previous blog post (part 1) we looked at the beginings of an oil temperature gauge for the 420R based on a Waveshare ESP32-S3-Touch-AMOLED-1.75 display and Texas Instruments ADS122C04 24-bit analogue-to-digital converter. In this post we'll pick up the journey looking at the physical build optons.
Hardware Build
There are two common ways to build the hardware.
Stripboard / Veroboard
Stripboard or Veroboard, this is the approach I've used. The board is approximately 28 holes by 10 strips (73.7 × 27.9 mm), with 11 track cuts, 3 wire links and (recommended) 4-way screw terminal blocks, one for the display lead and one for the harness. However I've actually used headers during testing as compatible cables were readily available which made connectivity easier, especially connecting into the Waveshare display.

No ground strip runs beside the signal, sense or measuring strips. A solder bridge to ground there could give a believable wrong reading, for the same reason there's no capacitor to ground, and it's also why pin 3 of the harness terminal is left empty.
PCB
I've also designed a two-layer PCB, 71 × 36 mm, with locking Molex Micro-Fit connectors. The display and harness connectors are different sizes, so the cables can't be swapped. I t follows the same ground-clearance rule, with at least 1 mm between those tracks and ground; the closest they come is 2.5 mm. It hasn't been made yet, and the stripboard is in use for now.

Bench Dev Activities
The first power-up found two problems.
ADC UNAVAILABLE.
I'd wired up the new front end, but the display was still running the firmware for the ADS1115. Reflashing it fixed that.
GROUND FAULT.
I hadn't fitted the ground-sense wire. To get going I'd linked R2's far end to ground on the board, which gave a reading with no fault. That is the hazard the design is meant to avoid, because a sense wire shorted to the gauge's ground hides any difference between the gauge's ground and the tank. I removed the link and fitted the sense wire.
Now Working
With the sense wire fitted, the gauge found the ADC, read the sender, and showed ohms with CALIBRATION REQUIRED, as it should. With the Bosch bench build loaded, the sender then read 18 °C at room temperature. Great!
Next I replaced the sender with fixed resistors and tested the alarms and faults.
120 Ω resistor
The gauge read 117 °C, and HIGH TEMPERATURE came on after the 2.5 second delay. The Bosch table gives 117.7 °C for exactly 120 Ω. I hadn't measured the resistor or its leads, so the small difference is expected.
68 Ω resistor
This is beyond the hot end of the table, so the gauge immediately showed ABOVE CAL RANGE and >130 in red.
The fault checks, one at a time:
Sense clip off: GROUND FAULT.
Spade off: SENSOR OPEN.
Spade shorted to the sender body: SENSOR SHORT.
A clip across C1: SENSOR OPEN.
A clip across C2: SENSOR SHORT.
Importantly none of the above fault checks showed a reading value staying true to the design principle I detailed in part 1 of this series.
A wrong but believable reading is worse than no reading at all.
There's more bench work to do before it goes in the car.
I still need to measure the reference resistor, check a range of known resistors, test a ground offset with a battery rig, and do the short-to-battery test with a current-limited bench supply at 14.4 V.
Before that we'll take a look at the screens and data in part 3.







Comments