#Dato DUO The Dato DUO is a musical instrument that is designed to be played by two people.
##Firmware/software The electronic heart of the Dato DUO is the NXP Kinetis K20 microcontroller, the same as used in the Teensy 3.2. Audio is generated using the Audio Library.
###Installing For beginners, we recommend using the Arduino IDE for modifying and uploading the firmware. Advanced users can use the supplied makefile, but following the steps below is necessary in both cases.
-
Download and install the Arduino IDE from Arduino.cc
-
Download and install Teensyduino from PJRC.com. In the install wizard, enable the Audio, FastLED and Keypad libraries
-
Clone this repository.
###Connecting and uploading Connect the Dato DUO to your computer using a micro USB cable.
Arduino IDE:
- Pick the correct board by choosing
Tools
->Boards
->Teensy 3.2 / 3.1
- Set the clock speed to 72 MHz from
Tools
->CPU Speed
->72 MHz optimized
- Open the .ino file in the firmware/src folder
- Press upload and wait until compilation finishes. After this, Teensyduino will automatically upload the code to your Dato DUO.
Makefile method:
make clean; make upload
##Hardware Circuit schematics will be added to this repository once the final hardware is available.
##Where everything came from
- The
teensy3
sub-folder is taken from The Teensy 3 Cores - The
tools
sub-folder is taken from Teensyduino - The
src/main.cpp
file is moved, unmodified fromteensy3/main.cpp
- The
Makefile
file is moved, modified fromteensy3/Makefile
- The
49-teensy.rules
file 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