← All journal entries

Screens, switches and a small printed box (23–29 November 2026)

Getting the van’s touchscreen to start reliably, testing an ESPHome input board, and learning from the first prints of a converter enclosure.

A fair bit of this week went into the van electronics. I’ve been working on a seven-inch touchscreen for the cab, showing things like battery readings, temperatures and tank levels. The long term plan for this is to have it ‘state’ aware, in other words display switches and options based on the current situation as an example if the van is in reverse then that might trigger a different screen to say ignition on and still connected to external power. Getting a picture on it was one step. Getting the picture and touch to come back after pulling the power was another.

The test build eventually did both. The backlight needed to stay enabled, and the touchscreen needed its reset line released properly. I checked it at startup and again after disconnecting and reconnecting USB power. I’ve since brought those settings into the main configuration, though that exact build still needs its own check on the panel. For now the screen is showing information; vehicle controls are a later job.

I also flashed an ESPHome switch-input board and checked a contact on the first input. Opening and closing it reported correctly, and the connected temperature and humidity sensor was giving readings too. There are more terminals to work through before it goes into the van.

From a model to something that fits

On the printer side, I designed a small enclosure for an LM2596 converter. A thin test piece let me check the circuit board’s mounting points before printing the whole box. The first was close, and a small spacing change got the locating pegs fitting properly.

The full PLA test fitted too, but one of the lid clips broke while I was fitting it. I’ve revised the clip roots and made the arms thinner, then added external tabs so the box can be screwed to a wall. The revised clips and wall mounting still need trying. I’ve written more about the print-and-adjust process in a separate post.