siniaev.dev / PLS:3D / workshop notes Nov 2026 · pls3d.store
PLS:3D, n.A one-person workshop in Amsterdam: LoRa radios, 3D-printed camo stencils, and the store around them.

PLS:3D.

RBaken, a LoRa team radar whose radar view is now part of Meshtastic, and the small store I built and run around it: camo spray-paint stencils printed to order and STL files made for each buyer.

Merged
into Meshtastic
8
tested boards
EU868
LoRa radio
15
stencil kits
01RBaken

A team radar you can glance at

In airsoft or out hiking, a group spreads out and loses track of itself. Phone apps can show the others on a map, but that means a phone in your hand. RBaken puts it on a small screen on your vest instead: press the button, and you see every teammate’s direction and distance on a radar. No phone, no pairing, no app.

The name is the idea. R for radar. Baken is Dutch for a beacon, a marker that shows the way and helps people find each other again.

↑ you 19 m 279 m
Up is the way you face
heading from the compass in the motion sensor; north-up on boards without one
A dot per teammate
direction and distance from your position to the last one each teammate sent
Sent over the mesh
any Meshtastic node on the same channel
What the screen shows, drawn out. The two distances are the ones on the bench in Fig. 3.
Tan and olive RBaken devices on a MOLLE platform on the forest floor, radar screens lit
Fig. 1. RBaken prototypes in tan and olive, radar screens on, with their 5 dBi antennas.

What’s inside

RBaken runs Meshtastic, the open-source mesh firmware for LoRa radios, so it talks to any Meshtastic node on the same channel. Every unit is built by hand around RAK’s modular WisBlock system, in a case I designed and print in PLA+.

Core
RAK19007 base board with a RAK4631 core: nRF52840 microcontroller and SX1262 LoRa radio
Radio
EU868 LoRa, a 5 dBi swappable antenna
Position
GPS (Quectel L76K) and a motion sensor for heading
Screen
0.96-inch OLED behind a clear window, two waterproof buttons: one to wake the radar, one for power
Power
3000 mAh LiPo, 24 h+ of typical use, USB-C charging through a sealed port
Body
116 × 55 × 38 mm, 170 g; MOLLE and belt carry in two positions; takes heavy rain, not submersion
An RBaken mounted on a plate carrier vest next to pouches
Fig. 2. On a vest, where a glance down is enough.
Two open RBaken cases on a table, one showing the view menu, one the radar with two teammates and their distances
Fig. 3. On the bench: the view menu, and the radar with two teammates at 19 m and 279 m.

Build your own

Five finished prototypes make up a test batch, for people who want to try it in the field and help fund the next version. For everyone else there is the RBaken Build Pack: print files for 7 parts and a 15-page guide, every step built and photographed on a real unit, from heat-set inserts to flashing the firmware. The parts cost about €65 to 70, and a build takes 2 to 3 hours with basic soldering and crimping.

Every part of one RBaken laid out on a table: printed case parts, RAK boards, battery, screen, antenna, buttons, screws and wires
Fig. 4. One RBaken before assembly: everything the parts list asks for.
A page of the build guide: fitting the antennas and the first power-on, with photos
Fig. 5. A page from the guide: antennas and the first power-on.
02Firmware

Seven months to get the radar into Meshtastic

The radar is a new screen in the Meshtastic firmware. The closest teammates are listed with their distance, and everyone sits on a minimap around you that turns with you when the board has a compass. Off the screen, it’s a normal Meshtastic node: messages, the phone app, everything else still works.

I didn’t want to keep it as a private fork. A feature in the official firmware keeps working through upstream releases and reaches every Meshtastic user, not only the people with an RBaken. So it went upstream as pull requests:

Pull requestOpenedStatus
Radar minimap on the distance and bearings screen21 Apr 2026merged 25 Nov, after 42 review comments
Radar settings in the device config1 Jun 2026merged 24 Nov
MPU-9250 / RAK1905 9-axis sensor support26 May 2026open
Configurable button pin on boards without one16 Sep 2026open
Motion sensor remap for a vertical mount31 Jul 2026closed; kept in the RBaken build

The radar went in on 25 November 2026, seven months after the first pull request. Waiting that long meant keeping the branches rebased on a project that moves every day.

Builds for other boards in the meantime

Until it ships in an official release, I publish my own builds as GitHub releases: one for each board I’ve tested by hand, eight so far, plus untested builds for eleven more. Each is upstream Meshtastic plus the radar; a few boards also get the fixes that are still in review. The firmware page reads the latest release and lists the boards with photos and download counts. The builds have been downloaded 589 times.

Tested devices on the firmware page: photos of boards running the radar, with download counts
Fig. 6. Tested devices on the firmware page, each with its download count from GitHub.
Several Meshtastic devices from different makers side by side, all showing the radar
Fig. 7. The same radar on Meshtastic boards from several makers.
03Airtime planner

One shared radio budget

Every Meshtastic node on a channel shares the same slice of radio time. A slower radio mode reaches further but keeps each packet on air longer. More frequent positions mean fresher dots on the radar but more packets. Relaying helps a spread-out team but multiplies the traffic. And in Europe the budget has a legal ceiling: a node may transmit at most 10% of the time on this band (see the LoRa settings).

Teams usually find the limit in the field, when positions stop arriving. The planner works it out beforehand. You pick a radio mode, the number of nodes, who relays, how often positions go out, how fast people move, and whether phones run ATAK on top. It shows:

  • airtime per packet, from the standard LoRa formula for each radio mode;
  • your own duty cycle against the 10% limit, and the channel’s use against the 25% at which the firmware starts holding back positions;
  • range in forest and in the open, from a link budget with path-loss figures fitted to real ground-level LoRa results rather than free space;
  • how far a moving teammate gets between two updates, and how long the battery lasts with that many screen checks.

Every threshold matches a real check in the Meshtastic firmware, so the warnings map onto what a device actually does. It also models the nodes still on stock settings, because they keep broadcasting every five minutes whatever the rest of the team sets.

The Meshtastic airtime planner: radio modes with airtime, duty cycle, channel use and range
Fig. 8. The radio modes in the planner. Each step up reaches further and doubles the airtime; red is more than the channel or the rules allow.
04Stencils

A real shop, small enough to own every part

The shop grew out of RBaken: while building the cases I made camo stencils to paint them, and the stencils became a shop. Real customers pay real money, so every part has to work the way a store’s does.

What I wanted to learn by doing it myself, end to end:

  • designing and building a small radio device, and the firmware on it;
  • contributing that firmware to a large open-source project;
  • taking payments properly, with refunds, disputes and webhooks that arrive twice;
  • what EU consumer law and VAT ask of a shop selling physical and digital goods;
  • printing, packing and shipping, and finding buyers for all of it.
Shop
15 printed TPU stencil kits, 4 STL packs (one free), the RBaken Build Pack
Device
RBaken: a Meshtastic radar for teams; 5 finished prototypes
Free tools
Radar firmware for 8 tested boards, a Meshtastic airtime planner, a spray can finder
Since
The firmware work from April 2026, the site from May, the stencil shop from October, the public launch on 9 November
Code
About 24,700 lines of TypeScript for the site, plus the firmware and a Python project for the stencil files

Pick a pattern, paint your gear

The home page is a hub with one slide per thing on offer. The stencil slide uses a photo of two ammo boxes I painted with the kits.

The PLS:3D home page: two ammo boxes painted in camo on autumn leaves, with the title Camo stencils
Fig. 9. The home page on its stencil slide. The photo is real: Frogman Pixel on the left, U.S. Woodland on the right.

Each pattern page shows the colourways, the RAL code for every layer, the sheets in spray order and the two ways to get it. Where no STL pack exists yet, the box takes an email instead of a price, so I know which file to make next.

The U.S. Woodland pattern page: the camo preview, RAL colours per layer, the printed kit at €19.95 and an STL pack on request
Fig. 10. A pattern page. Prices come from the server, never from the browser.
The cart on a desktop: contact and address fields, two items, totals including VAT and two consent checkboxes
Fig. 11. The cart with a demo kit and STL pack. Two consents: the shop terms, and giving up the withdrawal right for files delivered right away.

On a phone

The printed kit and the STL request box on a phone
Fig. 12. The kit and the STL request on a phone.
The cart on a phone
Fig. 13. The cart on a phone.

Which spray can for which RAL colour

The painting guides give RAL codes, but matte RAL cans are hard to find. The can finder matches each of the 53 colours to ready-made cans from six brands by colour distance (ΔE). Every match links to a web search, not to a shop, so the page recommends a colour and never a store.

The camo spray paint finder filtered to M81: each RAL colour with the closest cans from several brands
Fig. 14. The can finder, filtered to U.S. Woodland. “Very close”, “Close” and “Similar” are bands of ΔE.
05How it fits together

Architecture

One Next.js app in a Docker Compose container on a small Hetzner server, behind Caddy. The database is managed Neon Postgres. Payments, email and shipping are outside services, each behind one small module of mine. The stencil files come from a separate Python project that slices every pattern into sheets, exports the catalog and builds the packs.

one server · Docker Compose outside Browsersshop, account, downloads StripeCheckout, Tax, coupons,payment links Brevotransactional email PostNLlabels, delivery status GitHub releasesradar firmware builds CaddyTLS,reverse proxy appNext.js, TypeScript, Node pages: hub, stencils, RBaken, firmware cart, checkout, passwordless account payment webhook downloads, made per buyer prices · discount codes · VAT reviews with moderation page counting without cookies airtime planner, can finder admin: orders, labels, prices structured data, sitemap, llms.txt Drizzle ORM Filespacks, buyer copies,review photos Logskept across deploys Hourly jobdelivery, reviews, fees Neon Postgresmanaged GitHub Actionstest → migrate → deploy camo-stencilPython: STL, 3MF,PDF, catalog signed webhooks sessions, refunds orders, alerts, sign-in labels, status latest release, counts deploy packs, catalog JSON
Fig. 15. Brown is the money path: Stripe’s signed webhooks in, sessions and refunds out.
App
Next.js 16 (App Router, server actions), React 19, TypeScript, Tailwind CSS 4
Data
Neon Postgres, Drizzle ORM with generated SQL migrations
Payments
Stripe Checkout, Stripe Tax, coupons and promotion codes, payment links
Email
Brevo transactional API; plain text and HTML from the same function
Shipping
PostNL for labels, barcodes and delivery status
Files
sharp for photos, pdf-lib and fflate for the per-buyer packs
Stencils
A separate Python project slices patterns into sheets and writes STL, 3MF, the painting guide PDF and the catalog JSON
Hosting
Docker Compose, Caddy, one Hetzner server, GitHub Actions for CI and deploys
06Checkout and payments

The browser holds a list, the server holds the price

The cart is a list of products and quantities kept in the browser. No price is stored there. At checkout the server works out the price itself, checks the discount code, the buyer’s country and the consents, and only then asks Stripe for a payment page.

The order is recorded when Stripe says so, through its webhook, not when the buyer lands on the thank-you page. That one decision shapes most of the code below.

1 Cartproducts andquantities, no prices 2 Server checkoutprices it, checks the code,country and consents 3 Stripe Checkoutpayment, VAT,billing address 4 Webhooksignature checked, then routedto the shop or to RBaken new? Already recordeda repeat delivery: answerOK, send nothing again 5 Order paiddownloads opened,fees recorded 6 Emailsconfirmation, anda note to me Later: refund or disputea full refund or a dispute closesthe order’s downloads Other endingsexpired or failed: cancelled, stock is free againdelayed payment methods: paid only on success Kept apartshop orders and RBaken contributions nevershare a cart, a payment or an email yes no
Fig. 16. One payment through the shop. Brown is the happy path. Stripe may deliver the same event more than once, so step 4 asks whether this payment is already recorded before it does anything.

Discount codes and VAT

Each discount code lives in my database and in Stripe at the same time, limited to the products it covers. Codes are entered and checked in my own cart, so every attempt is logged, and guessing them is made slow and unrewarding.

Stripe Tax calculates VAT at checkout and collects VAT IDs for business buyers. My own ledger keeps a VAT estimate per order, tracks the EU’s OSS threshold and exports a quarterly overview for the books. Downloads are offered only in countries where the VAT side is covered.

07Downloads

Every STL pack is a copy made for one order

A pack is a zip of STL and 3MF files in three thicknesses, plus the painting guide. On the first download the server builds the buyer’s own copy, marked with their order reference, and keeps it for next time. No name or email goes into the files.

1 Linkfrom the email, the orderpage or the account 2 Checkthe order is paid andnot refunded cached? 3 Personalisethe order reference goesinto every file 4 Servethe buyer’s zip If that failsserve the plain pack and log it:the buyer paid for the files First downloada note to me no yes, and the source pack hasn’t changed
Fig. 17. A download. The copy is rebuilt when the source pack changes, so a fixed file reaches buyers who already have the old one.
08After the order

Emails that say what happens next

Every message to a buyer is built by one function that returns the subject, the plain text and the HTML, so tests read exactly what would be sent. The confirmation carries the legal parts too: the withdrawal right for kits with a model form, or the record that the buyer gave it up for files delivered right away.

The top of an order confirmation email with demo data: two items, totals with VAT, a download button and the dispatch note
Fig. 18. The top of the order confirmation, rendered with demo data by the same code that sends the real one.

Kits are printed to order. A PostNL label issues the barcode and announces the parcel in one step, and the buyer gets a shipping email with tracking.

An hourly job then follows the parcel. A week after it’s delivered, the buyer gets one review request. Download-only orders get theirs a week after payment.

Reviews come from verified orders only and are moderated by hand. A published review with a photo earns a free STL pack, whatever the rating, and is labelled as rewarded.

paidconfirmation label,shipping email delivered reviewrequest published,free pack ≤ 5 working days PostNL 7 days moderated
09How it runs

A real business on one server

This is a production shop with real customers, so the details of how it’s protected stay private. In general terms:

Customers and privacy

  • Withdrawal rights and waivers follow EU consumer law, and every consent is stored with the exact wording the buyer agreed to.
  • Visits are counted by the site itself, without cookies. Analytics load only after a visitor says yes.
  • Interest lists are double opt-in. Photos are cleaned of location data. Personalised files never carry a name or an email.

Security

  • Admin is not on the public internet, and every admin action is checked on its own.
  • Customer accounts use one-time email links instead of passwords. Public forms are rate-limited, and user input is escaped wherever it’s shown.
  • Secrets stay out of the code, and the deploy pipeline runs with the least access it needs.

Operations

  • Every push runs lint, type checks, tests and a build, then the database migrations, then the deploy. Migrations only ever add, so the running version keeps working while they apply.
  • Logs survive a redeploy. Paid orders, first downloads and requests arrive as short notes in my inbox, so a quiet inbox means a quiet shop.
  • An hourly job follows parcels, sends review requests and fills in payment fees that settle late.
10Learnings

What the project taught me

  1. A device is easy to build and hard to sell.

    Building RBaken was the part I knew how to do. Selling it legally needs a CE and radio equipment declaration: testing, paperwork and money that a five-unit batch can’t carry. So the device itself isn’t for sale. What is open to everyone is what I could legitimately offer: the build pack, the free firmware and the planner, while a test batch funds the certification work.

  2. Selling is the real job.

    The code was the fast part. Most of the time now goes into marketing: photos, videos, posts, reviews, search, and finding the few places where airsoft players and Meshtastic users actually look. With almost no budget, every euro spent on reaching people has to come back as margin, and staying profit-positive at this scale is harder than any webhook.

  3. Upstream is slow, and worth it.

    Seven months from the first pull request to the merge, with many rounds of review. The feature is better for it, and it now reaches people who will never visit this site.

11Next

Certification, and the files people ask for

For RBaken: the remaining pull requests upstream, the radar in an official Meshtastic release, and the certification that would let a finished device be sold. On the shop side, the stencils grid sorts itself by demand once there is enough of it, and the new STL request form shows which pattern files to prepare next.

+ More from siniaev.dev

  • Truckroll A simulated EV charging network that breaks on purpose, and the operations around it.
  • Woordje A Dutch vocabulary trainer that explains words and sentences and grades every answer.
  • Books I recommend The reading behind how I lead and build.