<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt" -->

---
title: Building a typographic tester station (with Elixir)
description: A physical typeface testing device for a type foundry's exhibition was built using Elixir to drive the hardware. Around 500 people used the machine, called...
canonical: https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building a typographic tester station (with Elixir) | daily.dev
og:description: A physical typeface testing device for a type foundry's exhibition was built using Elixir to drive the hardware. Around 500 people used the machine, called...
og:url: https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt
og:image: https://api.daily.dev/og/posts/aVwcZwZvt.png
og:image:alt: Building a typographic tester station (with Elixir)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building a typographic tester station (with Elixir)

**[ElixirStatus](https://daily.dev/sources/elixirstatus)** · 15 min read · 3 upvotes · 0 comments

## Summary

A physical typeface testing device for a type foundry's exhibition was built using Elixir to drive the hardware. Around 500 people used the machine, called 'the brutator', printing nearly 2000 souvenir stickers in a week. It had a 196-key keyboard, analog gauges, a trackball, and a floppy disk font picker, split across four ESP32 modules that only send raw signals with no business logic. Elixir processes model each component as a pure struct with transition functions, with wiring between hardware and software stored as a component list in an SQL table. A browser-playable version now runs via Popcorn, Software Mansion's BEAM compiled to WebAssembly, loading 19MB (6MB brotli'd).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://lucassifoni.info/blog/building-a-typographic-tester-station-with-elixir>

## Questions this post answers

### What is Popcorn and how does it relate to the Erlang BEAM running in a browser?

Popcorn is a project by Software Mansion that compiles the actual BEAM virtual machine to WebAssembly, allowing Erlang/Elixir code to run directly in a browser. It previously relied on the more minimal AtomVM implementation, but a newer version runs the real BEAM. A demo build loads about 19MB of data, or 6MB after brotli compression.

_Developers evaluating running Elixir or Erlang in the browser can track WebAssembly runtime changes like this on daily.dev._

### How can you design hardware firmware so it stays decoupled from application business logic?

Firmware can be written so modules have no knowledge of their purpose, only reading raw inputs like a key matrix and sending raw event identifiers over a serial link, with no business logic embedded. This lets the host application, in this case an Elixir system, interpret and route the signals, making the firmware fully generatable and replaceable without reflashing when wiring or meaning changes.

_Engineers architecting hardware-software boundaries can follow patterns like this for IoT and embedded projects on daily.dev._

### How can Elixir processes model physical hardware components like buttons and gauges using pure functions?

Each hardware component type, such as a button, joystick, or gauge, is defined as a struct with pure transition functions implementing a shared behaviour (new, events, handle_event, handle_effect). An Elixir process instance holds the state and routes signals to a pure core, so a key press like key_down transforms state from idle to pushed and emits an event, keeping side effects isolated to dedicated handle_transition functions.

_Elixir developers designing testable hardware-to-software bridges can find architecture deep dives like this on daily.dev._

## Similar posts on daily.dev

- [Elixir v1.20 released: now a gradually typed language](https://daily.dev/posts/elixir-v1-20-released-now-a-gradually-typed-language-081x31cuq) · Elixir · 4 upvotes · 0 comments
- [E-ink Writing Deck Rocks A Typewriter Aesthetic](https://daily.dev/posts/e-ink-writing-deck-rocks-a-typewriter-aesthetic-uxzxqnfef) · Hackaday · 0 upvotes · 0 comments
- [Elixir v1.20.0 released](https://daily.dev/posts/elixir-v1-20-0-released-7hyajmuxu) · Elixir Forum · 1 upvotes · 0 comments
- [60fps Video on a CGA?](https://daily.dev/posts/60fps-video-on-a-cga--6dmcdlx1s) · Two Stop Bits · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#iot](https://daily.dev/tags/iot), [#embedded](https://daily.dev/tags/embedded), [#elixir](https://daily.dev/tags/elixir), [#liveview](https://daily.dev/tags/liveview)

[View this post on daily.dev](https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building a typographic tester station (with Elixir)","url":"https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt"},"datePublished":"2026-11-16T13:16:00.098Z","dateModified":"2026-11-16T13:27:00.157Z","description":"A physical typeface testing device for a type foundry's exhibition was built using Elixir to drive the hardware. Around 500 people used the machine, called...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/07eabac10376d37819305fe201c22d63?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/07eabac10376d37819305fe201c22d63?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ElixirStatus","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ElixirStatus","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/22e4640538124187827caf8cc8e39190","url":"https://daily.dev/sources/elixirstatus"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,iot,embedded,elixir,liveview","timeRequired":"PT15M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ElixirStatus","item":"https://daily.dev/sources/elixirstatus"},{"@type":"ListItem","position":3,"name":"Building a typographic tester station (with Elixir)"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/building-a-typographic-tester-station-with-elixir--avwczwzvt#faq","mainEntity":[{"@type":"Question","name":"What is Popcorn and how does it relate to the Erlang BEAM running in a browser?","acceptedAnswer":{"@type":"Answer","text":"Popcorn is a project by Software Mansion that compiles the actual BEAM virtual machine to WebAssembly, allowing Erlang/Elixir code to run directly in a browser. It previously relied on the more minimal AtomVM implementation, but a newer version runs the real BEAM. A demo build loads about 19MB of data, or 6MB after brotli compression. Developers evaluating running Elixir or Erlang in the browser can track WebAssembly runtime changes like this on daily.dev."}},{"@type":"Question","name":"How can you design hardware firmware so it stays decoupled from application business logic?","acceptedAnswer":{"@type":"Answer","text":"Firmware can be written so modules have no knowledge of their purpose, only reading raw inputs like a key matrix and sending raw event identifiers over a serial link, with no business logic embedded. This lets the host application, in this case an Elixir system, interpret and route the signals, making the firmware fully generatable and replaceable without reflashing when wiring or meaning changes. Engineers architecting hardware-software boundaries can follow patterns like this for IoT and embedded projects on daily.dev."}},{"@type":"Question","name":"How can Elixir processes model physical hardware components like buttons and gauges using pure functions?","acceptedAnswer":{"@type":"Answer","text":"Each hardware component type, such as a button, joystick, or gauge, is defined as a struct with pure transition functions implementing a shared behaviour (new, events, handle_event, handle_effect). An Elixir process instance holds the state and routes signals to a pure core, so a key press like key_down transforms state from idle to pushed and emits an event, keeping side effects isolated to dedicated handle_transition functions. Elixir developers designing testable hardware-to-software bridges can find architecture deep dives like this on daily.dev."}}]}
```

