Live data from Hacker News

Teensy 4.1 Development Board

pjrc.com

41–50 of 211 posts

Re: Teensy 4.1 Development Board

#41
post #8

Genuinely curious, what kinds of projects are better suited to a Teensy than an Arduino, ESP32 or some form of Raspberry Pi? Is the main advantage the pin count?

The main advantage for the Teensy 4.x is the performance. 600Mhz Arm M7 with LOTS of RAM and Flash. So anywhere where a microcontroller is better suited than an RPi (hard real time, etc), but performance matters.

Re: Teensy 4.1 Development Board

#42
post #26

Earlier quoted context omitted.

To be fair you can also build C/C++ code on an arduino. Although if you want to move away from the Arduino IDE/language, probably an Arduino is not the best platform for you anyway!

The standard Arduino "language" is really C/C++, is it not? (as well as all the C/C++ libraries that extend it) I suppose the "Arduino language" itself could be described as a library as well, or at least a C/C++ helper/wrapper abstraction for common tasks.

You are correct, the "Arduino language" is just C++ with some special libraries, macros, added types, and an IDE that enforces some limitations on the programmer (though you can use the Arduino library without the IDE).

In practice using this library/ecosystem/whatever is different enough from "normal" embedded C/C++ libraries that to me at least to me it does feel like a different language.

I think most people call it a language out of ignorance or laziness though.

Re: Teensy 4.1 Development Board

#43
post #8

Genuinely curious, what kinds of projects are better suited to a Teensy than an Arduino, ESP32 or some form of Raspberry Pi? Is the main advantage the pin count?

As an anecdotal example, Teensy is often found in custom built mechanical keyboards and mechanical keyboard kits. Form factor and library support are two primary reasons as far as I've understood in my occasional bouts with hobbyists.

And their official software to flash the firmware is excellent. I've had severe issues with cheaper controller boards where the pain isn't worth the price difference in my opinion.

Re: Teensy 4.1 Development Board

#44
post #8

Genuinely curious, what kinds of projects are better suited to a Teensy than an Arduino, ESP32 or some form of Raspberry Pi? Is the main advantage the pin count?

Arduino you write bare metal firmware, raspPi you write software on a host OS

firmware does not have the overhead of a host OS. super low power modes, instant sleep/wake, exact control of instructions/clock, far fewer security issues.

Teensy and ESP32 are just souped up Arduinos.

Re: Teensy 4.1 Development Board

#46

Earlier quoted context omitted.

As an anecdotal example, Teensy is often found in custom built mechanical keyboards and mechanical keyboard kits. Form factor and library support are two primary reasons as far as I've understood in my occasional bouts with hobbyists.

And their official software to flash the firmware is excellent. I've had severe issues with cheaper controller boards where the pain isn't worth the price difference in my opinion.

I pick teensy for mine. Is null-issues and so easy to flash.

Also exist a neat workflow where you design your keyb on http://www.keyboard-layout-editor.com and then import it on https://kbfirmware.com and you get your keyb up and running very fast.

Re: Teensy 4.1 Development Board

#47
post #8

Genuinely curious, what kinds of projects are better suited to a Teensy than an Arduino, ESP32 or some form of Raspberry Pi? Is the main advantage the pin count?

Teensy has a nice audio library if you're interested in real-time sound synthesis and stuff like that, as well as MIDI-over-USB support. Along with a fast processor and a tiny footprint, it's pretty useful for making musical instruments.

Wouldn't you also need an ADC/DAC to interface with analog signals (e.g. for a custom Eurorack module)?

Re: Teensy 4.1 Development Board

#49
post #8

Genuinely curious, what kinds of projects are better suited to a Teensy than an Arduino, ESP32 or some form of Raspberry Pi? Is the main advantage the pin count?

I've used both extensively as "daughterboards" to big control circuits. The main advantage of the Teensy to me is that the hardware is better than Arduino was at the time. It is also, well, Teensy compared to most Arduinos so it takes up less real estate. Now that Arduino is running an ESP32 or ARM chip or has FPGA acceleration and such I'd say the difference is mostly just size. I do think some of the core libraries…

> Now that Arduino is running an ESP32 or ARM chip or has FPGA acceleration

I recently used a Teensy for exactly the reasons you gave, but I'm not familiar with Arduino's with ARM or FPGA. That sounds very interesting, do you have some links where we can learn more?

Post reply on HN