Close
0%
0%

pin16

Custom Bluetooth firmware for Solum EL016Fxxxx/EL022Fxxxx e-paper tags: PWA, NFC control, optional OpenDisplay mode, BTHome beacon

Similar projects worth following
0 followers
Solum Newton e-paper tags (EL016F*,EL022F*) use a SL EFR32BG22 (Cortex-M33) with debug-protected factory firmware, and an SWD unlock wipes it for good. The only way to somewhat revive a dead tag is OpenEPaperLink, with an AP (ESP32-S3+C6) on IEEE 802.15.4 (Thread). I tried that: slow updates, one picture in memory, dropped connections.

So I wrote my own firmware. A tag becomes standalone: a picture frame waking on an NFC tap, or a slideshow of about 30 slides, with an optional OpenDisplay mode and an optional BTHome v2 beacon.

Everything runs from a web page in Chrome over Web Bluetooth, no app and no account, installable as a PWA. Images sit in flash, raw or LZ4-compressed, with a thumbnail read back, and a built-in converter maps any photo to the panel's four colors, with crop, zoom, rotation, color correction, and a choice of dithering.

The first flash needs an SWD programmer, later updates travel over Bluetooth, gated behind a required NFC tap so no one nearby can reflash

I turned a Solum 1.6-inch e-paper price tag into a Bluetooth photo badge with firmware of my own: slides upload from a web page, a coin cell keeps it alive, and the original radio protocol is gone.

Why e-paper, and why price tags

I like cheap, low-energy things; they fit my ecological view of technology. E-ink is wonderful in that sense. Because it is bistable, it needs power only to change the picture, so a display becomes a small glass photograph that you can swap whenever you want. The best platform for that idea is the electronic shelf label. These tags are built to run for as long as possible on a small battery and to waste nothing. So whenever I see new ones at an auction, I buy a few and study them.

This one is a miniature 200x200 pixel tag with a four-colour panel (black, white, yellow, red).

The tag

The tag is a Solum EL016 (variants EL016F5W4C and EL016F6W4A) with a 1.6-inch, 200x200 pixel BWRY panel. A second tag from the same family, the EL022F5C4C with a 2.2-inch panel of 160x296 pixels, uses the same processor and the same pins, and the firmware supports it too. Inside:

  • Processor: Silicon Labs EFR32BG22C224F512IM40, an Arm Cortex-M33, 512 KB flash and 32 KB RAM.
  • External flash: Fudan Micro, 512 KB (4 Mbit, JEDEC ID A1 28 13), on its own SPI bus. This is where the slides live
  • Clock: a single 38.4 MHz crystal
  • NFC: a 3ALogics TNB132M chip, an NFC Type 3 tag with an I2C side and a field-detect pin, so the processor knows when a phone touches the tag
  • Power: one CR2450 coin cell
  • Other: an RGB LED, and two buttons on some variants. The tag exposes an SWD interface, so it can be programmed with a probe

A locked chip and a detour through OpenEPaperLink
The BG22 is debug-locked from the factory. Unlocking it is possible over SWD, but it erases the original flash. Only the user-data page survives, and that is enough: it still holds the panel type and resolution, so my firmware reads it at start-up and picks the right panel profile. So the stock firmware is gone, and the first thing I tried was OpenEPaperLink (OEPL). To talk to the tag I even built an access point from an ESP32-S3 and an ESP32-C6, because the tag uses Thread (802.15.4) by default.
I did not like it. The response time was never the same and depended on the weather. And OEPL could do only what it was designed for: send one picture, plus small things such as the date or the access-point data. I wanted a tag that holds many pictures and changes them by itself, without a base station. So I decided to write my own firmware, and I had the developer tools for it.

Tools

  • Silicon Labs Gecko SDK 4.4.1 with the SLC command-line configurator and the Arm GNU toolchain (arm-none-eabi-gcc).
  • Simplicity Commander to build the firmware images (S37 files and the GBL files used for over-the-air updates).
  • GitHub Actions with a Docker build image. I work only through the GitHub web interface, so every build runs in CI and I read the logs there.
  • An SWD probe, pyOCD and gdb-multiarch on a ThinkPad x220 for flashing. After the first install the firmware updates itself over Bluetooth.
  • An ESP32-S3 and an ESP32-C6 as the OEPL access point in the first experiment.
  • gcc with AddressSanitizer and UndefinedBehaviorSanitizer for host tests of the firmware modules: slot storage, compression, settings, the panel driver, update logic. 

The first firmware: a standalone slideshow

My first version was deliberately simple. It was a fork of the OEPL tag firmware, branch slideshow, with the radio and everything not needed removed. The tag worked alone, with no base station:

  • The slides were converted on the PC and went into the firmware image, so every new set of pictures meant flashing the tag over SWD.
  • The slide changed on a timer (120 minutes in my final settings). A title slide stayed for 15 seconds after power-up.
  • The LED blinked a different colour at each change. A tap of the phone on the NFC chip showed the next slide, which matters because some tags have no buttons.
  • A low battery...
Read more »

PIN16DEMO.mp4

pin16 demo on a Solum e-paper tag: boot splash, then the timed slideshow cycling through stored pictures, an orientation test picture, LED signals (LED parade)

MPEG-4 Video - 48.25 MB - 11/25/2026 at 21:07

Download

  • 1
    Get a supported tag

    pin16 targets Solum ESL tags built on the Silicon Labs EFR32BG22C224F512IM40 with 512 KB external SPI flash, an NFC chip, and a CR2450 coin cell. Panels supported: EL016F5W4C, EL016F6W4A (200x200) and EL022F5C4C (296x160, scanned as 160x296). Other tags on the same board report themselves over Bluetooth but aren't usable until their panel driver is added.

  • 2
    Check the lock state

    Factory tags ship with a locked EFR32BG22. Unlocking it over SWD erases the factory firmware for good, with no way to back it up, and leaves the tag with no bootloader afterward. There's no undo here, so treat this step as one-way before starting.

  • 3
    Wire up SWD

    Connect an SWD programmer to the tag. Pin mapping for the panel, NFC, and debug lines is in docs/ in the repo.

View all 7 instructions

Enjoy this project?

Share

Discussions

Does this project spark your interest?

Become a member to follow this project and never miss any updates