Giter Club home page Giter Club logo

blinkfi's Introduction

Hello WiFi

This example shows how to connect your Nerves device to the network using WiFi. The directions below show how to use the Raspberry Pi 3 with its built in WiFi, but it will also work with a variety of popular USB WiFi dongles on other targets.

Hardware

If you are using a Raspberry Pi 3, the WiFi hardware is already built-in. If you're using another board, you will need to connect a supported USB WiFi dongle.

How to Use this Repository

  1. Configure your WiFi settings by editing config/config.exs (note: ssid is case-sensitive`)

    # config/config.exs
    use Mix.Config
    
    config :blinkfi, :wlan0,
      ssid: "my_accesspoint_name",
      key_mgmt: :"WPA-PSK",
      psk: "secret"
  2. Specify your target with the MIX_TARGET environment variable

  3. Get dependencies with mix deps.get

  4. Create firmware with mix firmware

  5. Burn firmware to an SD card with mix firmware.burn

  6. Connect a monitor to the HDMI port on the board

  7. Insert the SD card into your target board and power it on

  8. After it finishes booting (about 5 seconds), pressing the button will log events to the console on the HDMI monitor

export MIX_TARGET=rpi3
mix deps.get
mix firmware
mix firmware.burn

Learn more

blinkfi's People

Watchers

James Cloos avatar Brian Carrigan 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.