jslearner

jslearner

Any recommended book or books to learn and master Nerves?

Showing Posts 1 to 4

elcritch

elcritch

Haven’t seen or heard of any books. There’s a few tutorials but currently you’ll need to pull together disparate knowledge like dealing with hardware and similar. Though start small and learn each part as you delve deeper into Nerves. Others may have some more in depth resources but I’m not aware of any.

fhunleth

fhunleth

Co-author of Nerves

Welcome @jslearner! Sadly no books yet. We are very lucky to have a supportive community here and on the Elixir Slack so if you have any projects in mind, please ask around.

As for resources, here’s what’s available:

  1. You’ve probably found the docs at https://nerves-project.org/. There are also simple example projects at GitHub - nerves-project/nerves_examples: Small example programs using Nerves · GitHub.
  2. Nerves can start pretty minimal which can be hard to get used to. Many people use the nerves_init_gadget library to bring up the basics like networking. That’s a default with the new project generator.
  3. As a side note on nerves_init_gadget, we are in the process of a major change to our networking support. It’s slowly making its way through the docs, so you may start to see references to nerves_pack and vintage_net. If you have any ideas of running multiple network connections simultaneously or making your device an access point, please see https://embedded-elixir.com/post/2019-11-22-embedded-networking/.
  4. For low level hardware, see GitHub - elixir-circuits/circuits_quickstart: Try out Elixir Circuits on Nerves! · GitHub. Elixir Circuits runs on Raspbian and Debian in addition to Nerves. If you’re new to Elixir and hardware, but comfortable with a Raspbian and Raspberry Pis, a lot of people have had success using Elixir Circuits there and then when they’re comfortable, they start packaging their apps using Nerves.
  5. There are a few options for deploying lots of Nerves devices. If you’re interested in that, see https://www.nerves-hub.org/.
  6. We try to collect talks on Nerves at https://nerves-project.org/watch/. There are a few really good “getting started” ones and a few that talk about specific technologies.

A final comment is on picking hardware. Nerves runs on a lot of devices, but the support that you’ll find online is mostly for Raspberry Pis and BeagleBone (BeagleBone Black, Green, PocketBeagle, etc.) boards. At the moment, the Raspberry Pi 4’s display doesn’t work with Nerves, so I’d go with another RPi for now (that will hopefully be fixed in the coming months).

Hope this helps!

14
Post #2
TripperRacoon

TripperRacoon

Hi @jslearner, if you have not found it out already, here is the link for a course: Groxio Learning
I have not done it myself, so cannot comment on content.

bartblast

bartblast

Creator of Hologram

There is also some Nerves related content in “Build a Weather Station with Elixir and Nerves” book: Build a Weather Station with Elixir and Nerves: Visualize Your Sensor Data with Phoenix and Grafana by Alexander Koutmos, Bruce A. Tate, Frank Hunleth

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New

Other Trending Topics Top

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
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
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews