Hello community,
I have some teensy boards for a long while, but new to this forum, so apologies in advance if my question had been answered somewhere a long ago. I'm presenting my project briefly, maybe it helps if there's no easy answer to the problem.
It's a long-term on-off project where I developed an e-drum trigger hardware & multi-layer sample player unit (aka 'drum brain' in drummers' terms). It consists of a 4.1 for the piezo trigger part (fed by a bunch of 6004 quad ops for signal conditioning and virtual ground), and configured as midi device. I use all available 18 analog inputs for piezo sensing as well as continuous control input for the hihat opening position. The teensy then does the necessary trigger detection dsp part (at a constant rate of 11kHz) and spits out midi note and cc (and is also configurable over midi). A Pi3 sitting in the same case (runing a sampler app in kiosk mode based on the JUCE framework) processes the midi data, and outputs 8 channels of audio at 44k1 using an Audioinjector Octo hat. A well-working solution so far that we use with the band for quite a while, although there's no edge or bell hit detection with cymbal pads at this point.
I have fiddled with the analog ins to also detect those membrane-switch presses, but it would mean I have to share inputs. I would like to use additional digital ins instead.
Considering I might still need 1 SPI channel and UART at some point, how many digital ins (i.e. gpios that can be converted into such) would I have left on the board? I'm not sure if I understand the specs correctly with regard to input/output configuration: can any gpio be configured to either state?
If I were to give up SPI & UART, would I be able to use those pins as additional digital ins?
Thanks,
Sascha
I have some teensy boards for a long while, but new to this forum, so apologies in advance if my question had been answered somewhere a long ago. I'm presenting my project briefly, maybe it helps if there's no easy answer to the problem.
It's a long-term on-off project where I developed an e-drum trigger hardware & multi-layer sample player unit (aka 'drum brain' in drummers' terms). It consists of a 4.1 for the piezo trigger part (fed by a bunch of 6004 quad ops for signal conditioning and virtual ground), and configured as midi device. I use all available 18 analog inputs for piezo sensing as well as continuous control input for the hihat opening position. The teensy then does the necessary trigger detection dsp part (at a constant rate of 11kHz) and spits out midi note and cc (and is also configurable over midi). A Pi3 sitting in the same case (runing a sampler app in kiosk mode based on the JUCE framework) processes the midi data, and outputs 8 channels of audio at 44k1 using an Audioinjector Octo hat. A well-working solution so far that we use with the band for quite a while, although there's no edge or bell hit detection with cymbal pads at this point.
I have fiddled with the analog ins to also detect those membrane-switch presses, but it would mean I have to share inputs. I would like to use additional digital ins instead.
Considering I might still need 1 SPI channel and UART at some point, how many digital ins (i.e. gpios that can be converted into such) would I have left on the board? I'm not sure if I understand the specs correctly with regard to input/output configuration: can any gpio be configured to either state?
If I were to give up SPI & UART, would I be able to use those pins as additional digital ins?
Thanks,
Sascha