Giter VIP home page Giter VIP logo

duo-firmware's Introduction

Dato DUO

The Dato DUO is a musical instrument that is designed to be played by two people.

Discontinued firmware

This repository is no longer updated. Go to https://github.com/datomusic/duo-imxrt for firmware for newer Dato DUO's.

The firmware is open source, although changing it is not recommended for beginners. Steps below are tested on Mac OS X. We're welcoming contributors who want to help us get this working on other platforms.

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 now, it's not possible to upload firmware using the Arduino IDE. You will need to download and install it, though, in order to get all required tools and libraries. Advanced users can use the supplied makefile.

  1. Download and install the Arduino IDE from Arduino.cc

  2. Download and install Teensyduino from PJRC.com. In the install wizard, enable the Audio, FastLED and Keypad libraries Teensyduino installer with Audio library checked

  3. From a command line window, clone this repository including submodules git clone --recursive https://github.com/datomusic/duo-firmware

Compiling and uploading

Go to the duo-firmware folder and type make.

Connect the Dato DUO to your computer using a micro USB cable. Put your Dato DUO into firmware update mode by gently pressing a pointy object into the little hole next to the headphone output. The lights will stop flashing and the Play button will become blue (early DUO's with a serial number below 350 will not show a blue button).

On your computer, type make dfu to upload the firmware to the DUO.

Troubleshooting

If you cloned this repository without the submodules, go to the duo-firmware folder and type git submodule update --init --recursive to fetch all required submodules.

If that doesn't help, please file a GitHub issue with as much detail as you can so that we can troubleshoot the issue.

Where everything came from

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

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.