I built a 25x24 pixel LED Vest to wear at Burningman 2016!
[2x 300 WS2812B LED Strip] (https://www.amazon.com/gp/product/B018X04ES2/ref=oh_aui_detailpage_o08_s00?ie=UTF8&psc=1)
[Teensy 3.2] (https://www.pjrc.com/store/teensy32.html)
[2x RAVPower Battery Pack] (https://www.amazon.com/gp/product/B00HFMUBYG/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1)
[DROK Step Down Voltage Regulator] (https://www.amazon.com/gp/product/B00C4QVTNU/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1)
[25mm Fan] (https://www.amazon.com/gp/product/B00MYNWUP4/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1)
Optional Parts:
For Testing at Home - [DROK Step Down Voltage Regulator with LED Voltage Display] (https://www.amazon.com/gp/product/B015Z02TE4/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1)
For Charging in the Desert - [ALLPOWERS 18W Portable Solar Charger Panel] (https://www.amazon.com/gp/product/B00G6CDTGS/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1)
Install the Teensy udev rule: sudo cp tools/49-teensy.rules /etc/udev/rules.d/
Then unplug your Teensy and plug it back in.
- Put your code in
src/main.cpp - Put any libraries you need in
libraries - Set the TEENSY variable in
Makefileaccording to your teensy version - Build your code
make - Upload your code
make upload
makealias formake hexmake buildcompiles everything and produces a .elfmake hexconverts the elf to an intel hex filemake post_compileopens the launcher with the correct filemake uploaduploads the hex file to a teensy boardmake rebootreboots the teensy
Teensy 3.X Project Template github.com/apmorton/teensy-template
- First download your favorite Arduino src and install Teensyduino
- The
teensy3sub-folder is taken from <path-to-arduino-x.y.z>/hardware/teensy/avr/cores/teensy3 - The
toolssub-folder is taken from <path-to-arduino-x.y.z>/hardware/tools and/or Teensyduino - The
src/main.cppfile is moved, unmodified fromteensy3/main.cpp - The
49-teensy.rulesfile is taken from PJRC's udev rules
Modifications to Makefile include
- Add support for arduino libraries
- Change tools directory
- Calculate target name from current directory
- Prettify rule output
- Do not upload by default, only build
