A 17 EUR LTE Modem as an RC Laptiming Decoder

kucu’s notes ·

3 min read Original article ↗

I came across a blog post about OpenStick, and OMG: those cheap, no-name 4G LTE USB modems are actually full-blown quad-core ARM computers, and they can run Debian. So I bought one, and turned it into a lap timing decoder for RC racing, using an RTL-SDR.

The 17 EUR LTE modem hosting an RTL-SDR

The LTE modem

Inside is a Qualcomm Snapdragon 410 (MSM8916): four Cortex-A53 cores at 1.2 GHz, 512 MB RAM, 4 GB eMMC, WiFi, and of course an LTE modem. The OpenStick project installs Debian on it.

For comparison, a Raspberry Pi Zero 2W has four Cortex-A53 cores at 1 GHz and 512 MB RAM. Same class of machine, except the stick ships with an enclosure, eMMC instead of an SD card, and an LTE modem, for less money.

The modem opened up, with the UZ801_V3.0 board inside

The board inside mine is a UZ801_V3.0, one of the well-supported variants. After the base OS install, there’s 317 MB of free memory. That’s plenty.

OpenStint and LapBeeps

OpenStint is an SDR-based laptiming decoder. It listens to the transponders in RC cars as they pass over the track loop. It uses an RTL-SDR, so the whole decoder is a ~40 EUR SDR dongle and a computer.

LapBeeps is the race management side (takes the passings from OpenStint and turns them into something we can actually look at).

Both are known to run well on a Raspberry Pi Zero 2W, so I really hoped the LTE stick will just work.

The USB port

There’s one catch. The stick’s USB port is in “device” (gadget) mode: it’s meant to be plugged into a computer, not to have things plugged into it. Host mode is possible, so it can drive the RTL-SDR. ChatGPT image (The UZ801 board is “up to 1.2A”, while the RTL-SDR is 450 mA max; a 2A power supply is good enough):

Conceptual USB power injection wiring for a USB-powered OpenStick

The physical side is the other problem: a USB-A male plug sticking out of the stick, and an RTL-SDR that also has a USB-A male plug. I desoldered the stick’s connector:

USB connector desoldered from the board

In hindsight, I should have bought an RTL-SDR V4Lc, the variant with a USB-C socket. With a couple of adapter cables, there’d have been no need to touch the board at all. Whatever.

Instead, I cut a short USB extension cable (A male to A female) and soldered the wires straight onto the pads. The male end is power input only: in host mode, the stick has to power the SDR rather than the other way around.

USB extension cable soldered onto the pads

(There is a shit load of epoxy keeping those thin wires together under the case…)

Resource usage

With everything running:

  • OpenStint takes about 30% of a single core and 2-3 MB of memory (like on a Zero 2W).
  • LapBeeps uses about 100-150 MB of memory.
  • For those interested, rtl_433 takes about 5-7% of a single core.

That leaves three idle cores and well over 100 MB of memory for the usual maintenance.