Giter Club home page Giter Club logo

pi-inky-phat's Introduction

Pi Inky pHAT

Summary

The Inky pHAT and Inky wHAT are eink displays made by Pimoroni (https://bit.ly/2xTrfHB). I like using them to test things when developing programs on the Raspberry Pi. Though the screens are nice, the installation process is a pain, takes a long time, and isn't automated.

Diagram

Raspberry Pi 3 with Inky pHAT

Installation

Existing Image

If you are already using a Raspberry Pi, I would recommend using the inky-phat-installer.sh script. Running this will give you a minimal install of the Inky pHAT drivers. Once the script has run, you will see the current time in UTC on the Inky pHAT display.

New Image

If you are creating a fresh image for a Raspberry Pi, using the Firstboot Raspbian Image is the way to go as you can have everything ready to go when you first login into the Raspberry Pi.

The best way to get everything working properly is to follow these steps:

  1. Download the latest image from https://github.com/nmcclain/raspberian-firstboot/releases
  2. Use etcher to write to the SD card (https://www.balena.io/etcher/)
  3. Copy over image-setup/firstboot.sh and image-setup/wpa_supplicant.conf to boot partition of SD card. Remember to edit the wpa_supplicant.conf file with the details for your wifi network
  4. Put the SD card into Raspberry Pi and boot. This will take a while but shouldn't take more than 20 mins. If it does, something probably went wrong.
  5. Once the script has run you will see the current time in UTC on the Inky pHAT display.

Using display.py

Using either of the two methods above will download a program called display.py into the /home/pi directory. You can use this program to send strings to the Inky pHAT display.

For example, python3 /home/pi/display.py hello will print hello on the Inky pHAT display.

pi-inky-phat's People

Contributors

himalayanelixir avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

pi-inky-phat's Issues

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.