.-;':':'-.
{'.'.'.'.'.}
) '`.
'-. ._ ,_.-='
`). ( `);(
('. .)(,'.)
) ( ,').(
( .').'(').
.) (' ).('
' ) ( ).
.'( .)'
.).'
Birds that became dragons are so yesterday. Deep sea baby!
For the current version you need.
- Arduino 1.8.5
- latest Teensyduino
- a Teensy 3.6
- a RaspperyPi Zero W (for over the air updates)
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
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)
The code base is in no way idiomatic C/C++ (i.e. directly including files without headers) or written to please the eye. :-)
make
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
TODO
- 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!