akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

@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 OP

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 OP

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 OP

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 OP

Author of Build a Weather Station with Elixir and Nerves

I also forgot to add that anyone attending the ElixirConf Nerves training in Sept also gets this book for free!!

Where Next? Top

Trending in Books Top

akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New
manhvu
I have a sharing session about the Elixir ecosystem for Erlang developers. I feel that people are still confused about the differences be...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews