lastshaman
Member
Hello everyone,
I would like to start a project for a class compliant MIDI device using the brand new Teensy 4.0.
I know that this board already has 14 analog inputs, but I need lots of them, much more than that.
In a previous attempt at starting this project, years ago, I bought and used Arduino Uno and Mayhew Labs Mux Shield II, which adds 48 analog inputs to the Arduino board.
The 16MHz ATmega328P of the Arduino UNO, though, may be too slow for all the processing that is needed on every input before the MIDI signal is output to the MIDI host.
Therefore, the 600MHz Cortex-M7 microcontroller of the Teensy 4.0 would be more fit.
My questions are:
1. Could I use use the Teensy Arduino Shield Adapter (KIT-15716) from Sparkfun to couple the Teensy 4.0 to the Mayhew Labs Mux Shield? Would there be voltage problems (3.3 vs 5.0 Volts)?
2. Or would it be better to stack three Mux shields specifically developed for the Teensy (like SparkFun Analog/Digital MUX Breakout - CD74HC4067)?
After that, I have read that the simplest way to program the Teensy 4.0 is by using Arduino IDE + Teensyduino. Is that correct?
What are the steps for building a class compliant USB MIDI application using the LUFA library in this environment?
Or does Teensyduino already come with a fitting example?
Sorry for the noob questions, but the board is pretty new and it is difficult to find something in the net.
Cheers
LINKS:
Mux Shield for Arduino: http://mayhewlabs.com/products/mux-shield-2
Teensy/Arduino Shield Adapter: https://www.sparkfun.com/products/15716
Mux Shield for Teensy: https://www.sparkfun.com/products/9056
I would like to start a project for a class compliant MIDI device using the brand new Teensy 4.0.
I know that this board already has 14 analog inputs, but I need lots of them, much more than that.
In a previous attempt at starting this project, years ago, I bought and used Arduino Uno and Mayhew Labs Mux Shield II, which adds 48 analog inputs to the Arduino board.
The 16MHz ATmega328P of the Arduino UNO, though, may be too slow for all the processing that is needed on every input before the MIDI signal is output to the MIDI host.
Therefore, the 600MHz Cortex-M7 microcontroller of the Teensy 4.0 would be more fit.
My questions are:
1. Could I use use the Teensy Arduino Shield Adapter (KIT-15716) from Sparkfun to couple the Teensy 4.0 to the Mayhew Labs Mux Shield? Would there be voltage problems (3.3 vs 5.0 Volts)?
2. Or would it be better to stack three Mux shields specifically developed for the Teensy (like SparkFun Analog/Digital MUX Breakout - CD74HC4067)?
After that, I have read that the simplest way to program the Teensy 4.0 is by using Arduino IDE + Teensyduino. Is that correct?
What are the steps for building a class compliant USB MIDI application using the LUFA library in this environment?
Or does Teensyduino already come with a fitting example?
Sorry for the noob questions, but the board is pretty new and it is difficult to find something in the net.
Cheers
LINKS:
Mux Shield for Arduino: http://mayhewlabs.com/products/mux-shield-2
Teensy/Arduino Shield Adapter: https://www.sparkfun.com/products/15716
Mux Shield for Teensy: https://www.sparkfun.com/products/9056
Last edited: