Coder Social home page Coder Social logo

mcroboface's Introduction

McRoboFace
==========

McRoboFace has 17 smart pixels organised as a Face
- 0 to 13 for the mouth
- 14 for the nose
- 15 and 16 for the eyes

Each pixel is individually addressable and has 8 bits to define the brightnes of each colour (Red, Green and Blue).

The LEDs are on pin 12 (GPIO 18) of the Raspberry Pi GPIO connector and can be driven in python using the rpi_ws281x.py base library and neopixel.py wrapper

Software Installation
=====================

Ensure your Raspberry Pi is connected to the internet

$ git clone https://github.com/4tronix/mcroboface
$ cd ~/mcroboface
$ sudo apt-get install python-pip python-dev
$ sudo python setup.py install

NB. For Raspbian Jessie release 10th May 2016 (and probably later versions also) you will need to add the following lines in config.txt:
  hdmi_force_hotplug=1
  hdmi_force_edid_audio=1

Now you can run the strandtest.py demo as follows. This is a generic test which displays various colour sequences on all pixels. It doesn't know about the McRoboFace layout
$ sudo python strandtest.py

Also included is a simple demo of the McRoboFace which displays various facial expressions
$ sudo python mcroboface.py


mcroboface's People

Contributors

4tronix avatar

Watchers

 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.