The Joy of Connecting Elixir to the Physical World
summary
Shows concrete claims and working examples: Elixir’s binary pattern matching and functional transforms simplify messy device protocols, and OTP helps recover from flaky hardware. Demonstrations use nerves_uart over a USB-to-serial FTDI cable, parse GPS NMEA lines and line-framed UART traffic, and handle an odd 17 bits SPI/ADC exchange without glue code. Ends with creating standalone firmware with Nerves, cross-compilation details, and when to develop on laptop versus Raspberry Pi.
AI-written summary · about
chapters (17)
- 0:00Platinum
- 0:13Lanyard
- 9:50The great part about Debian
- 12:07Hooking it up
- 13:43What does elixir_ale want for SPI?
- 15:04Get the datasheet
- 15:34Figure out what to transfer
- 18:41Try #2 - Find app note
- 20:27The code
- 23:24The UART
- 25:32USB to serial cable
- 29:17A taste of nerves_uart
- 35:08What else can a USB- Serial cable do?
- 37:14nerves_uart to an Arduino
- 38:32Common embedded system architecture
- 40:17Comparing approaches
- 44:40Where to find out more








