akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

Programming Nerves (self-published)

@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building LiveView powered kiosks (and everything in between).

You’ll be building projects like:

  1. A Morse code translator
  2. A reaction time tester
  3. An Etch A Sketch that renders in Livebook using knobs
  4. Upgrading the Etch A Sketch to use a joy stick
  5. Rending CPU temperature from the Raspberry Pi in LiveBook using VegaLite (you’ll also write a simple stress test to get the CPU hot :grin:)
  6. A simple weather report/clock using a 20x04 LCD display
  7. Displaying of accelerometer data using OLED displays
  8. Interacting with accelerometer data using a LiveView kiosk

By the end of the book, you will have built a wide a array of projects and should be more than comfortable tackling some of your own Nerves projects!

  1. Part 1: Rapid Prototyping Nerves Using Livebook

  • Getting Started With Livebook
  • Build a Morse Code Translator
  • Build a Traffic Light Simulator
  • Build a Reaction Time Game
  • Building the Etch A Sketch Circuit
  • Programming the Etch A Sketch
  1. Part 2: Building Custom Nerves Firmwares

  • Build a Custom Nerves Firmware
  • Optimizing Your WorkflowC
  • Interfacing With I²C Hardware
  • Creating a Nerves Kiosk
  1. Appendices

  • Basics of Electricity
  • Selecting Resistors
  • Using a Breadboard

Check out the book landing page for more details and to see how you can buy the book at 38% percent off while we’re in beta:

https://www.programmingnerves.dev/

Also our promo video where we show off a few of the projects that you will build:

Happy hacking!

Most Liked

akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

The goal is to have the book edited and completed by mid 2026.

akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

Thanks! Here is a screenshot of the “What you will need” section:

This is subject to change as the projects are tweaked here and there during Beta. That said I don’t imagine it’ll change much.

Specifically regarding the Raspberry Pi, the wiring diagrams in the book are based on the Raspberry Pi 5 like so:

But if memory serves me correctly, any Raspberry Pi that has the 40 pin header should work (Raspberry 2+) as they standardized on the pins. So you have some flexibility with regards to what hardware you use.

akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

Apologies if my previous comment was unclear. I meant anything with higher specs than the Pi Zero 2 W, including the Pi Zero 2 W. So I would suggest using one of the following to complete the projects within the book (also depending on what you plan on doing with the Pi long term):

  • Raspberry Pi Zero 2 W (can be found for about $20 with headers already soldered on)
  • Raspberry Pi 3 Model B+ (can be found for $40)
  • Raspberry Pi 4 Model B (1GB version can be found for $40 and price goes up with more ram)
  • Raspberry Pi 5 Model B (1GB version can be found for $45 and price goes up with more ram)

Given that the Livebook distribution of Nerves will consume about 100MB of memory at idle, you have about 400MB of memory left if you go with the cheapest option in the list (that being the Pi Zero 2 W which has 512MB of memory).

Where Next?

Popular in Books Top

PragmaticBookshelf
Bruce A. Tate @redrapids and Sophie DeBenedetto @SophieDeBenedetto edited by Jacquelyn Carter @jkcarter The days of the traditional requ...
New
peerreynders
Don’t forget you can get 35% off the ebook using the code: devtalk.com :023: Note: Check out this thread for help running code in lat...
New
peerreynders
Don’t forget you can get 35% off the ebook using the code ‘devtalk.com’ :023: Available in Beta now This title will be available on o...
355 16649 140
New
peerreynders
by Elvio Vicosa @elviovicosa elvio Learning a new framework is hard As a seasoned Rails developer, you know Rails and its components...
New
waseigo
by Isaak Tsalicoglou Why this book is being written A few years ago I got fed up with the menial manual labor I was engaged in in our f...
New
Eiji
The Ecto recipes were originally written for the “What’s new in Ecto 2” ebook and then made open-source by Plataformatec. Since then, the...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27861 124
New
mchean
By @emadb OVERVIEW Author Emanuele DelBono guides readers along the first steps of mastering the Elixir programming language in Elixi...
New
peerreynders
by Darin Wilson and Eric Meadows-Jönsson Languages may come and go, but the relational database endures. Learn how to use Ecto, the prem...
New
arpan
:waving_hand: Hey Elixir Enthusiasts! I’ve got something cool for you. It’s a free book on Elixir that dives into the nitty-gritty of co...
New

Other popular topics Top

albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 53690 245
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52341 488
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

We're in Beta

About us Mission Statement