Scott Tompkins

A Touchscreen Remote for an HDMI Matrix

A touchscreen remote that switches a TESmart 4×4 HDMI matrix over Wi-Fi with one press. I built it in late 2026, about a week from idea to prototype, on a board that comes two for $32. Everything about the room is set up on site from the remote's own web page.

ESP32 · PlatformIO · Claude · 3D printing

At Three Angels Seventh-day Adventist Church in Newington, CT, a speaker steps up to the pulpit and plugs in a laptop. Getting that laptop onto the projector used to mean guessing in the AV room and an awkward delay.

I like to say that inconvenience is the mother of modern innovation. This build came from that delay.

The switching is done by an HDMI matrix, a box that sends any of its video inputs to any of its outputs. Ours is a TESmart 4×4, a 1080p model: four inputs and four outputs. It has a network port for control. In late 2026 I built a remote for it, in about a week from idea to prototype. It is a small touchscreen that reaches that port over Wi-Fi, with one button for each routing we use. The speaker plugs into the wired HDMI cable at the pulpit and presses Pulpit Wired. The projector switches.

The board inside is a Cheap Yellow Display: an ESP32, which is a microcontroller with Wi-Fi built in, with a touchscreen attached. The boards come two for $32. It is the same kind of board that runs the pantry ticket printer, which joins Wi-Fi the way this remote does. The firmware is built with PlatformIO, a build tool for microcontroller code, and I wrote it with Claude. I did not design the case. I found a model someone else had designed and printed it.

As of November 2026 two are in service, one in a white case and one in grey. One sits in the AV room and the other at the pulpit. Both show what the matrix is routing, so a change made on one appears on the other.

Nothing about the room is built into the firmware: not the Wi-Fi network, not the matrix’s address, not the buttons. All of it is set on site, in the order below.

  1. Own networkshows a QR code to join and set up
  2. On the Wi-Fishows its IP address on screen
  3. Matrix foundscanned for on the local network
  4. Buttons setone per matrix mapping
  5. In serviceone press switches the projector
  • Sister units push or pull the configuration
A remote is set up on site in four steps, each from its own screen or web page. Once the buttons are defined, one press switches the projector.

It starts with a network of its own

The first time it powers up on site, the remote does not know the building’s Wi-Fi. It starts its own network and shows a QR code. Scanning the code with a phone joins that network and opens the remote’s setup page. The page scans for the Wi-Fi networks in range, and I pick the one the remote should join.

Then it shows where to find it

Once it has joined, the remote shows its IP address, which is its address on the local network, in the corner of the screen. That address opens the remote’s own web page in a browser. The screen can also show the address as a QR code, labelled “Scan to open the controller”.

From that page the remote scans the local network for the matrix.

The buttons are configuration

The firmware has no fixed buttons. On the web page I add as many as the room needs and give each one the matrix mapping it applies, meaning which input goes to which output. Ours has three: Pulpit Wired, Pulpit Wireless and AV PC.

The second unit copies the first

The web page also scans the network for sister units. A remote can push its configuration to another one or pull the other’s, so a second unit does not have to be programmed by hand.