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!

First Post!

arcanemachine

arcanemachine

Looks interesting. What is the expected timeline for the book to be completed?

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).

Last Post!

akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

Hey Tomaz,

I don’t often check my social media DMs as they are always bombarded with spam…but glad you posted here!

Hugo and I are currently working on the 0.3.0 release, and with that release Part 1 of the book should be wrapped up. We’ll be sure to post here once that release is cut, but you should also automatically receive that release via ConvertKit. Hope that helps!

Where Next?

Popular in Books Top

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
jack-s9
Simplify and streamline your Elixir Phoenix Deployments. Deploy with tools that are easy to use, maximize Elixir’s features, and have ex...
New
PragmaticBookshelf
Bruce Tate @redrapids edited by Jacquelyn Carter @jkcarter OTP is the heart of the rapidly growing Elixir, the functional language at th...
New
shankardevy
Dear Elixir Alchemists I’m happy to share that I’m working on my 2nd series of books (See my first one here) and this time it’s about As...
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
PragmaticBookshelf
Joseph Koski Series editor: Sophie DeBenedetto @SophieDeBenedetto Developmental editor Adaobi Obi Tulton @aotulton Combine advanced fu...
New

Other popular topics Top

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
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement