Giter Club home page Giter Club logo

megageilerjellyfisch's Introduction

     .-;':':'-.
    {'.'.'.'.'.}
     )        '`.
    '-. ._ ,_.-='
      `). ( `);(
      ('. .)(,'.)
       ) ( ,').(
      ( .').'(').
      .) (' ).('
       '  ) (  ).
        .'( .)'
          .).'

megageilerjellyfisch

Birds that became dragons are so yesterday. Deep sea baby!

Prerequisites

For the current version you need.

Setup

Add the Teensy to know Arduino boards

Add the following to your boards.txt (on OSX in /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/boards.txt)

teensy36.build.fcpu=180000000
teensy36.build.usbtype=USB_SERIAL
teensy36.build.keylayout=US_ENGLISH
teensy36.build.flags.optimize=-Os
teensy36.build.flags.ldspecs=--specs=nano.specs

Needed libraries

A couple of libraries are needed to build the project. These need to be in your Arduino libraries folder. Usually ~/Documents/Arduino/libraries/ on macOS.

  • FastLed to control the LEDs
  • Pixie for the 3W LEDs
  • Trellis for the button pad
  • LSM9DS0 for the motion sensor
  • Adafruit Sensors sensor library
  • ADC to be able to use ADC1 independently of ADC0 which is in use by the Teensy Audio library

Important for the potentiometer to work correctly, the Teensy Audio library needed to be edited�. Open input_adc.cpp (to be found in the Teensy audio library folder) and find the call to analogReference(INTERNAL); and comment it out. (See https://github.com/PaulStoffregen/Audio/blob/master/input_adc.cpp#L51)

Remark

The code base is in no way idiomatic C/C++ (i.e. directly including files without headers) or written to please the eye. :-)

Build

make

Deploy

Over the air deployment relies on:

  • the PI is connected to the local network
  • the PI and the Teensy are correctly connected
  • the teensyloader is available on the PI
make deploy

Serial port on Pi

TODO

List of modes we want to do

  • mode that can be steered by buttons! i.e. effects mixer
  • streaming to the outside mode
  • to soemthing with CRGB HeatColor( uint8_t temperature);
  • white pallet mode!

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.