Giter Club home page Giter Club logo

nerves_system_rpi0's Introduction

Raspberry Pi Model Zero

CircleCI Hex version

This is the base Nerves System configuration for the Raspberry Pi Zero and Raspberry Pi Zero W.

If you are not interested in Gadget Mode it might be worth checking out nerves_system_rpi. That image configures the USB port in host mode by default and is probably more appropriate for your setup.

Fritzing Raspberry Pi Zero image
Image credit

Feature Description
CPU 1 GHz ARM1176JZF-S
Memory 512 MB
Storage MicroSD
Linux kernel 4.4 w/ Raspberry Pi patches
IEx terminal OTG USB serial port (ttyGS0). Can be changed to HDMI or UART.
GPIO, I2C, SPI Yes - Elixir ALE
ADC No
PWM Yes, but no Elixir support
UART 1 available - ttyAMA0
Camera Yes - via rpi-userland
Ethernet Yes - via OTG USB port
WiFi Pi Zero W or IoT pHAT
Bluetooth Not supported yet

Supported OTG USB modes

The base image activates the dwc2 overlay, which allows the Pi Zero to appear as a device (aka gadget mode). When plugged into a host computer via the OTG port, the Pi Zero will appear as a composite ethernet and serial device.

When a peripheral is plugged into the OTG port, the Pi Zero will act as USB host, with somewhat reduced performance due to the dwc_otg driver used in other base systems like the official nerves_system_rpi.

Supported WiFi devices

The base image includes drivers for the Red Bear IoT pHAT and the onboard Raspberry Pi Zero W wifi module (brcmfmac driver).

If you are using another WiFi module (for example, a USB module), you will need to create a custom system image. Before doing this, check if the nerves_system_rpi works better for you. That image configures the USB port in host mode by default and is probably more appropriate for your setup.

Installation

Add nerves_system_rpi0 to your list of dependencies in mix.exs:

  def deps do
    [{:nerves_system_rpi0, "~> 0.16.0"}]
  end

Image credit: This image is from the Fritzing parts library.

nerves_system_rpi0's People

Contributors

fhunleth avatar mobileoverlord avatar tmecklem avatar alfert avatar ghitchens avatar joelbyler avatar mazubieta avatar pkazmier avatar bolandrm avatar optikfluffel avatar

Watchers

Christopher Coté avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.