Skip to content
steanlabPublic

About

Custom firmware and Web Bluetooth control page for the Hanshow Nebular Pro 437Q-N (4.37" BWRY e-paper tag): slideshow, NFC tap, OpenDisplay, OTA with rollback.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

badge437

Repo path: steanlab/badge437 (public).

Own firmware and a web control page for a 4.37" electronic shelf label on a Telink TLSR8258: a tag with a 480 x 176 pixel black / white / red / yellow e-paper panel, a Telink TLSR8258 Bluetooth LE module, an RGB LED and an NFC chip. The firmware replaces the original one and turns the tag into a small picture frame / badge that you control from a phone or a PC.

Release 0.9n (2 December 2026): firmware/n437_0.9n.bin (previous releases stay in the same folder. Fixes the unattended demo tour sleep/retention bug, hardware info render speed and missing font glyphs, restores the Truchet / XOR-moire / UEIT test-card patterns, and reopens the BLE window after a tour), notes in firmware/RELEASE_NOTES.md. Control page: https://steanlab.github.io/badge437/ (Chrome or Edge, Android or desktop, Web Bluetooth).

Unofficial: not affiliated with Hanshow, Telink, OpenDisplay or OpenEPaperLink. Flashing replaces the original firmware of your tag and needs a programmer wire. Use it at your own risk, no warranty. Tested so far on one tag.

Read this first: two stages

A tag comes with the original firmware, and it cannot be updated over Bluetooth or from the page. Our firmware gets onto the tag in two stages:

Stage How When
1. First installation With a programmer wire (Telink SWS: an RP2040 bridge, one 1 kOhm resistor and five wires to pads on the board, wiring, photo and commands in the guide), once. You back up the original flash of your tag first, then write firmware/n437_0.9n.bin. See the user guide, sections 0 and 1 once per tag. There is no way around it: without a programmer the tag stays original
2. Everything afterwards Over Bluetooth from the page: pictures, settings and firmware updates (OTA), no wires needed every later change. OTA needs firmware 0.9 or later already running on the tag

So: if you do not have (or do not want to build) a programmer, this project is not for you yet. If you do, do stage 1 once and forget the wire.

What it does

Pictures Up to 24 pictures ("slots") are stored in the tag's flash and survive power loss. A picture is 176 x 480 pixels in four colours (white, black, dark red, yellow) or, with the page's "8 colours" option, eight (adds orange, ochre, grey, dark grey, needs 0.9d). The page converts any image (fit, rotation, dithering, brightness / contrast, preview) and uploads it compressed (a flat graphic takes a few hundred bytes, a dithered photo about 90 % of the raw 21 120 bytes)
Slideshow Slides change by timer (1 minute to 18 hours), in turn or in random order, set on the page. The same slide is not redrawn. The tag sleeps in between. A slide also changes when you touch the tag with a phone (NFC tap = next slide)
Two operating modes Standalone (default): Bluetooth is only on for a window after power-up and after a tap, deep sleep otherwise, to save the battery. OpenDisplay: always connectable, works with the OpenDisplay web tool and Home Assistant (direct write of one picture)
Boot splash After a power-up or restart the tag shows BADGE437 PROJECT and the firmware version (can be switched off)
LED Short, dim flashes tell the state (window open, linked, slide change, error), and can be reduced
NFC The tag carries a text record with version, last panel temperature, slide count and so on, readable by any phone
Update over Bluetooth (OTA) New firmware is uploaded into a second image area from the page, checked, started on trial and rolled back by the tag itself if it does not run properly (needs 0.9 or later already running)
Safety The firmware never writes the panel's factory waveform data, the factory record or the radio calibration. The flash write protection of the chip is restored after every write. An interrupted upload leaves no half picture

Start

  1. Read docs/USER_GUIDE.md (Russian: docs/USER_GUIDE.ru.md). It covers the programmer, the backup of your tag's original flash (required, keep it), flashing, the first start, the page, modes, NFC and OTA.
  2. Check the file: sha256sum -c firmware/SHA256SUMS.txt.
  3. After flashing, open the page, connect, and check in the card "Panel" that the orientation is mirrored horizontally (the default of 0.9d, a tag that stored another value keeps it, see the guide).

Documents

File For whom
docs/USER_GUIDE.md, docs/USER_GUIDE.ru.md users: flash, first start, page, modes, LED, NFC, slideshow, OTA, problems
firmware/RELEASE_NOTES.md what is in 0.9n, what was tested on a tag, history
docs/HARDWARE.md for those who want to write their own firmware: the tag (MCU, pins, flash map and what must never be written, panel basics, NFC, LED, power, Telink pitfalls), but not the panel drive recipe
docs/PROTOCOL.md Bluetooth commands of the firmware, OpenDisplay subset, basic slot and image formats

Safety notes

No authentication: in standalone mode anyone near the tag can connect during an open window (after power-up or a tap) and change pictures, settings and even upload firmware, so keep the windows short and use standalone mode for a tag in a public place. The tag's battery cell is probably a non-rechargeable lithium cell (see the hardware notes), so never charge it. A faulty OTA image that starts running is rolled back by the tag itself, but an image broken before its own start code runs, or one that hangs during initialisation, needs the programmer to recover. 0.9n has not been run on a tag yet, so keep the programmer handy for this update, as for any firmware update.

What is published here, and what is not

Published: the page, released firmware binaries with checksums, guides, and the hardware notes that are safe to publish. Not published: flash dumps, the panel's waveform data and its layout, the panel drive sequence and the colour drive (two passes), the eight-colour slot formats, serial numbers and addresses of tags, the firmware source code, and analysis of the original firmware. If you write your own firmware you must read the data of your own tag from your own backup.

Related projects by the same author: frame970 (the 9.7" tag), badge154 (the 1.54" tag).

Licence

Copyright 2026 steanlab. The page, the firmware binaries and the documents of this repository are free for personal, non-commercial use. Commercial use needs a written agreement with the author. Details: LICENSE.md. Third-party parts and their terms: NOTICE.md. Unofficial, no warranty.

About

Custom firmware and Web Bluetooth control page for the Hanshow Nebular Pro 437Q-N (4.37" BWRY e-paper tag): slideshow, NFC tap, OpenDisplay, OTA with rollback.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages