Teensy vs. Arduino for a midi bass Project.

Hey guys, First off, I have searched and found posts comparing the teensy and the arduino but since i am a beginner with electronics i prefered posting a specific questions for my situation.

I’m starting a new project which consists intransforming my old bass guitar into a midi controller (A Button for each fret and a few analog input on the body) I will be needing between 25 and 32 Digital Outputs and at least 8 analog ones. I was wondering if you tell me which board would best adapt to my needs.

My First priority is speed, as a matter of fact i started planning this project with a raspberry pi and soon enough realized that an arduino or teensy would be much faster. Which is faster between these two? and do you think that there would be a noticable latency? (This is one of the most important factors for me) All the device would have to do is get the inputs (Digital Buttons) (Analog Joystick, ultrasound distance sensor) and send a midi message out to my main computer which would produce the sound.

Thanks alot for your help , any questions of extra suggestions would be great! I hope i have been clear enough.

Thanks! :smiley:

Check the clock speeds. The RPi is much, much faster than any ATmega-based Arduino and any Teensy.

Based on the limited understanding evident in your question, this will be a very challenging project.

jremington:
Check the clock speeds. The RPi is much, much faster than any ATmega-based Arduino and any Teensy.

Based on the limited understanding evident in your question, this will be a very challenging project.

Hey, Thanks for your fast answer. Actually as i said, i’m completely new to electronics but not as much to programming so the hardest side of it will be the hardware. But thats usually how i prefer to learn, and i expect it to be tough.

And yes. I am well aware that i need to be looking at the clock speed but i expected the arduino to be better than a Rpi for this kind of project mostly because the arduino doesn’t run an operating system (Doesn’t this make it faster and more stable?) and secondly because it is simpler to program and arduino for I/O and i would be able to have more control over my sensors using C rather than python.

Can i get a confermation that an Rpi is infact the best device for a purely I/O Project that doesn’t require an OS (And all the possible complications that come with it) or for that matter any high level functionalities?

Thanks again jremington

It is hard to imagine that “latency” will be an issue for this project, no matter what platform you choose.

This is a challenge:

between 25 and 32 Digital Outputs and at least 8 analog ones

so your starting point will be with boards that meet it. The Arduino ATMega2560 is one.

jremington:
It is hard to imagine that “latency” will be an issue for this project, no matter what platform you choose.

This is a challenge:

between 25 and 32 Digital Outputs and at least 8 analog ones

so your starting point will be with boards that meet it. The Arduino ATMega2560 is one.

Yes, the Arduino ATMega2560 was first in my list. Other options were the Teensy++ 2.0 and the Teensy 3.2. I need to take some time to properly cover all aspects of a comparison between these three products.

I was Particularly drawn to the Teensy 3.2 (21 Analog, 34 Digital) mostly because of the possibility to send my midi messages out through the USB rarther than having to hook up a Midi output device.

Kmm93:
I was Particularly drawn to the Teensy 3.2 (21 Analog, 34 Digital) mostly because of the possibility to send my midi messages out through the USB rarther than having to hook up a Midi output device.

You can do that with an Arduino as well. You just have to reprogram the 8U2/16U2 chip. See [https://www.arduino.cc/en/Hacking/MidiWith8U2Firmware](https://www.arduino.cc/en/Hacking/MidiWith8U2Firmware).