GithubHelp home page GithubHelp logo

imclab / mens-amplio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mens-amplio/mens-amplio

0.0 1.0 0.0 20.31 MB

Main repo for code that controls lighting and flame effects and handles hardware interfacing

mens-amplio's Introduction

mens-amplio

Main repo for code that controls lighting and flame effects and handles hardware interfacing

Instructions to get lighting simulator running on a dev machine (no additional hardware required):

  • Clone this repo
  • Clone https://github.com/stappon/openpixelcontrol and pull branch mens-amplio-tweaks
  • Install dependencies
  • Build OPC and launch visualizer:
    • cd [whatever]/openpixelcontrol
    • make
    • bin/gl_server [whatever]/mens-amplio/modeling/opc-layout.json &
  • Build Perlin noise C module:
    • cd [whatever]/mens-amplio
    • python setup.py build --build-platlib=
  • Launch MA display scripts:
    • cd [whatever]/mens-amplio
    • ./led_plaything.py (to test single effects)
    • ./run.py test (to test with headset/flame emulation - edit effects playlist in testplaylists.py)

Dependencies:

  • python-scipy (includes numpy; make sure that numpy is version 1.7*)
  • python-matplotlib
  • mesa-common-dev and freeglut3-dev (for OPC gl_server on Linux; not needed on Pi or Mac)
  • bluetooth, blueman, bluez-utils, python-bluez (for Neurosky headset)
  • python-smbus (for flame board)

Instructions to run on Raspberry Pi with WS2801 LEDs:

  • Connect MOSI pin on Pi to data pin to LED data pin, SCLK pin on Pi to LED clock pin, share ground between Pi and LEDs (do NOT power LEDs from Pi directly)
  • Connect SDA/SCL pins on flame relay board (http://propaneandelectrons.com/projects/wifire16) to SDA/SCL pins on Pi, share ground
  • Same as above, but ignore gl_server build error and run bin/ws2801_server & instead of gl_server

mens-amplio's People

Contributors

deleted avatar fragmede avatar jes5199 avatar robintibor avatar rudeboybert avatar sontek avatar stappon avatar tensory avatar zestyping 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.