Giter Club home page Giter Club logo

arizona_newshacking's Introduction

Note: this repo is out of date. The updated repo is here

PiBakery for Arizona Newshacking

This repo contains a .xml file intended to be imported by the PiBakery program. It bootstraps a fresh Raspbian install with software updates and ensures that VNC is enabled with a unique hostname. That way you can simply SSH or VNC into "PIHOSTNAME.local" without having to know the IP address of the Pi.

What this recipe does:

  • Sets up wifi
  • Changes the hostname
  • Enables the I2C and SPI pins
  • Enables login over the GPIO serial (just in case)
  • Downloads a bootstrap script from github gists and runs it

What the bootstrap script does:

  • Runs a full update/upgrade of Raspbian packages
  • Enables VNC login at boot
  • Changes the Pi keyboard to American-style
  • Changes the locale/timezone to Phoenix
  • Installs vim(just for fun) and iPython (important for teaching)
  • Installs various python extensions, which are dependencies for sensors
  • Installs the Adafruit_DHT library for the DHT_22 sensor

How to use:

  1. "Import" the .xml file with PiBakery
  2. Change the hostname block to a unique hostname.
  3. Change the wifi block(s) to your wifi information
  4. Make sure your pi has access to wifi and is plugged into a monitor and keyboard
  5. Put the SD card in the Pi and turn it on
  6. Wait about 1 hour

When the Pi starts up for the first time after the bootstrap it won't have VNC access right away. This has something to do with the OS update and will happen only once. Reboot the pi or shut it down, and the next time it boots it will be ready to go. It helps to have the Pi plugged into a monitor and keyboard for this, but afterwards you can use SSH/VNC exclusively if you like.

arizona_newshacking's People

Contributors

scottpham avatar

Watchers

 avatar  avatar

Forkers

rwisner

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.