Build a Binary Clock with Elixir and Nerves

Use Layering to Produce Better Embedded Systems



Bookstore > Books > Build a Binary Clock with Elixir and Nerves

Price$29.95 - $32.88
Rating
AuthorsFrank Hunleth, Bruce A. Tate
PublisherThe Pragmatic Programmers
Published2022
Pages106
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101680509233
ISBN-139781680509236
EBook Hardcover Paperback

Want to get better at coding Elixir? Write a hardware project with Nerves. As you build this binary clock, you'll build in resiliency using OTP, the same libraries powering many commercial phone switches. You'll attack complexity the way the experts do, using a layered approach. You'll sharpen your debugging skills by taking small, easily verified steps toward your goal. When you're done, you'll have a working binary clock and a good appreciation of the work that goes into a hardware system. You'll also be able to apply that understanding to every new line of Elixir you write.

Combining software with hardware can be frustrating, but you can become proficient in no time by taking a simple, logical approach. Blinking a single LED is the traditional "Hello-World" of embedded systems. Building your own binary clock is the logical next step. It blinks groupings of LEDs based on the system time. This guide walks you through a working project using the techniques used by experts who build software for hardware every day.

This commonsense project moves forward in tiny, logical steps. As you progress, you can verify each step before moving on to the next. You don't have to be a Nerves novice to benefit from this project. Become a better Elixir programmer as you build your own desktop showpiece. With a layered approach to software design, you'll learn to control the complexity of your programs the way the experts do by focusing on one small slice of your system at a time.

When you're done, you'll have your own binary clock and more of the tools you need to design and build your own Nerves and Elixir projects. You'll also be a better programmer with a deeper appreciation of layering techniques for controlling complexity.


  1. (2 books)
  2. (5 books)


Similar Books


Build a Weather Station with Elixir and Nerves

Build a Weather Station with Elixir and Nerves

by Alexander Koutmos, Bruce A. Tate, Frank Hunleth

The Elixir programming language has become a go-to tool for creating reliable, fault-tolerant, and robust server-side applications. Thanks to Nerves, those same exact benefits can be realized in embedded applications. This book will teach you how to structure, build, and deploy production grade Nerves applications to network-enabled devic...

Price:  $23.18  |  Publisher:  The Pragmatic Programmers  |  Release:  2022

Exploring Graphs with Elixir

Exploring Graphs with Elixir

by Tony Hammond

Data is everywhere - it's just not very well connected, which makes it super hard to relate dataset to dataset. Using graphs as the underlying glue, you can readily join data together and create navigation paths across diverse sets of data. Add Elixir, with its awesome power of concurrency, and you'll soon be mastering data netw...

Price:  $47.95  |  Publisher:  The Pragmatic Programmers  |  Release:  2022

Build an HTML5 Game

Build an HTML5 Game

by Karl Bunyan

If you already have even basic familiarity with HTML, CSS, and JavaScript, you're ready to learn how to build a browser-based game. In Build an HTML5 Game, you'll use your skills to create a truly cross-platform bubble-shooter game - playable in both desktop and mobile browsers.The programming starts right away in Chapter - no h...

Price:  $14.28  |  Publisher:  No Starch Press  |  Release:  2015

Advanced Game Design with HTML5 and JavaScript

Advanced Game Design with HTML5 and JavaScript

by Rex van der Spuy

How do you make a video game? Advanced Game Design with HTML5 and JavaScript is a down to earth education in how to make video games from scratch, using the powerful HTML5 and JavaScript technologies. This book is a point-by-point round up of all the essential techniques that every game designer needs to know.You'll discover how to c...

Price:  $49.99  |  Publisher:  Apress  |  Release:  2015

Applied Data Science with Python and Jupyter

Applied Data Science with Python and Jupyter

by Alex Galea

Getting started with data science doesn't have to be an uphill battle. Applied Data Science with Python and Jupyter is a step-by-step guide ideal for beginners who know a little Python and are looking for a quick, fast-paced introduction to these concepts. In this book, you'll learn every aspect of the standard data workflow pro...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2018

The Book of IMAP

The Book of IMAP

by Peer Heinlein, Peer Hartleben

IMAP (the Internet Message Access Protocol) allows clients to access their email on a remote server, whether from the office, a remote location, or a cell phone or other device. IMAP is powerful and flexible, but it's also complicated to set up; it's more difficult to implement than POP3 and more error-prone for both client and ...

Price:  $49.95  |  Publisher:  No Starch Press  |  Release:  2008

Building Node Applications with MongoDB and Backbone

Building Node Applications with MongoDB and Backbone

by Mike Wilson

Build an application from backend to browser with Node.js, and kick open the doors to real-time event programming. With this hands-on book, you'll learn how to create a social network application similar to LinkedIn and Facebook, but with a real-time twist. And you'll build it with just one programming language: JavaScript.If yo...

Price:  $4.85  |  Publisher:  O'Reilly Media  |  Release:  2012

Beginning iOS Apps with Facebook and Twitter APIs

Beginning iOS Apps with Facebook and Twitter APIs

by Chris Dannen, Christopher White

Beginning iOS Apps with Facebook and Twitter APIs shows you how to add the power of social networking to your mobile apps on iPhone, iPad, and iPod touch. With this book as your guide, you can write apps that connect to Facebook and Twitter quickly, securely, and discreetly. Instead of starting from scratch, you will build on the vast res...

Price:  $29.66  |  Publisher:  Apress  |  Release:  2011