GithubHelp home page GithubHelp logo

isabella232 / hackpack-v4-firmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twilio/hackpack-v4-firmware

0.0 0.0 0.0 12.14 MB

Shell 1.93% C++ 31.68% Python 27.06% C 19.79% CSS 0.07% Makefile 14.47% CMake 5.01%

hackpack-v4-firmware's Introduction

Hackpack v4 Firmware

What is Hackpack?

Hackpack v4 is a limited-run hardware device distributed at SIGNAL 2018 - Twilio's Customer & Developer conference. Hackpack is your 8-bit companion through the conference, letting you interact with the environment, build an avatar, level up and earn coins.

But Technically What is it?

At it's heart, Hackpack v4 is a Raspberry Pi Zero W equipped with a color TFT screen, a joystick, six game buttons, and a 5-NeoPixel LED bar. It boots into a custom browser view that gives any website it loads access to the joystick, game buttons, and control of the lights on the LED bar.

Firmware

Hackpack v4 Firmware manages system-level components for the Hackpack v4 hardware drivers that manage the onboard screen, LEDs, and gamepad.

Installation

Boot up a Raspberry Pi with Raspbian

To get started, you'll need to set up a standard Raspberry Pi with the current Raspian image. Hackpack v4 requires Raspbian rather than Raspian Lite, due to depending on the Raspbian desktop window manager for its 8-bit glory.

You can get the image files at the Raspberry Pi foundation's website:

https://www.raspberrypi.org/downloads/raspbian/

Get the codebase

To get started, clone this repo into /home/pi/firmware. The codebase depends on being installed at /home/pi/firmware currently.

Once cloned locally, run:

sudo bash /home/pi/firmware/bin/install.sh

This master install script, in turn, runs the install scripts for each system component - drivers, and kiosk.

Functionality

Hardware

Onboard Screen

Your Hackpack v4 is equipped with a capacitive-touch screen, which duplicates the video output that can also be displayed normally via the HDMI output of the Raspberry Pi.

Onboard LEDs

What Hackpack would be complete without NeoPixels? Your Hackpack v4 sports 5 RGB NeoPixels, with a custom-built unix socket that lets you control light patterns from

Onboard Gamepad

The /drivers directory contains all functionality that drives the custom inputs on the device - namely the joystick and control buttons.

System Control

Command-Line Interface

hackpack kiosk start - starts the kiosk webview hackpack kiosk stop - stops the kiosk webview

hackpack lights led_scanner - play the led scanner light pattern

hackpack-v4-firmware's People

Contributors

blueboxer avatar enborra avatar pkamp3 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.