Nerves Examples
Setup
Please see the main Nerves installation docs if you haven't used Nerves before.
Nerves can work with quite a few Elixir and Erlang versions, but we recommend using the following versions for the examples. These are used on our CI and should be easier for us to support.
- Elixir 1.14.2 or later
- Erlang OTP 25.2 or later
See the EmbeddedElixir post on using ASDF-VM
This repository contains several Nerves example projects as sub-directories. Most of these projects should work on all of the Nerves supported targets.
For detailed information on how to build an example, see the README.md
in each
application's root directory.
blinky
hello_erlang
hello_gpio
hello_lfe
hello_phoenix
hello_live_view
hello_wifi
hello_sqlite
hello_snmp_agent
hello_snmp_manager
minimal
Other examples
The Nerves community has additional projects that may be useful. Here are a few:
- Nerves Livebook - Learn Nerves using the new Elixir Livebook application
- Elixir Circuits - Experiment with hardware I/O with a pre-built firmware image
- NervesKey Quickstart - Basic provisioning of an IoT authentication device
Support
If you are having trouble, let us know. The Nerves community can be found on Elixir Forum and the #nerves channel on the Elixir Slack.