Replies: 4 comments 14 replies
-
If you want you are welcome to try and use something different. I chose the Teensy 4.1 because that’s what PJRC recommends for new projects. You would have to update the PCB to use whatever footprint you choose. I can’t guarantee the firmware would work exactly as written for anything but the 4.1, so that might need updating as well. But if you stick to something within the teensy or even the broader arduino family you’ll probably be ok. I would ensure you pick something supported by Control Surface as it makes the firmware extremely simple. I know sending midi signals sounds pretty simple, but the logic behind reading the switch matrix and all the MIDI related stuff would be quite a bit to implement yourself, so stick with something supported by that (or a similar library) You will also need to ensure whatever you pick has enough inputs. The current switch matrix is routed to be as easily understandable as possible at a glance (ie what looks like the rows and columns are the actual rows and columns), and is not optimized for using the minimum number of inputs, so if you really needed to you could reduce the number of required inputs some. |
Beta Was this translation helpful? Give feedback.
-
I haven't done this in a long time (probably 10-ish years) but there are libraries that exist for a number of microcontrollers that let them act as USB-HID devices without too much trouble. The Teensy itself is rather costly considering it's basically just acting as a custom USB keyboard, so if anyone is up for a challenge, the could look at something like the V-USB library, or perhaps a project like this one: It could allow for a different base PCB for the LMN-3 that would accommodate a different footprint where the Teensy goes. I don't currently have the time to look into this, but it's certainly do-able. |
Beta Was this translation helpful? Give feedback.
-
After analysing the current schematic, I think it is possible to reduce the pin count of the circuit sufficient to put the Raspberry Pi Pico forward as an alternative to the Teensy 4.1. Current pin count is 30 pins (28 digital, 2 analog). The design needs to be reduced to 26 pins for the Pico. This can be done.
These changes reduce the pin count in total to 25 and inside the pin budget available with the RP Pico. Item 4 above then becomes optional as there is still one pin available. RP Pico is listed as supported by ControlSurface so firmware porting would hopefully be straight forward. [Edit: remove reference to "dual 1-of-2 decoder"] |
Beta Was this translation helpful? Give feedback.
-
I'm planning on using an ATMEGA328P chip (along with some multiplexers) to replace the Teensy. I'll use a small serial-USB chip and Hairless MIDI to connect to the Raspberry PI. Now I come to think of it actually, it's probably possible to connect the serial interfaces of the atmega and the Pi together through a logic level shifterr to eliminate that complicated setup. |
Beta Was this translation helpful? Give feedback.
-
As I understand, the Teensy is only grabbing keypresses and turning them into MIDI signals which are then sent to the rPi via USB.
Currently it's hard to get a hold of the Teensy 4.1 board and where it is available it's extremely expensive. At least here in Australia it goes for about $65 - $75 AUD. In comparison, a Raspberry Pi 4B with 4Gb costs about $95 AUD.
So my question is, could a different MCU be used for this job? Or even a Teensy 4.0 which is a bit cheaper?
Beta Was this translation helpful? Give feedback.
All reactions