Live data from Hacker News

Teensy 4.1 Development Board

pjrc.com

61–70 of 211 posts

Re: Teensy 4.1 Development Board

#61

Earlier quoted context omitted.

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)?

I don't know about Eurorack stuff, but yes, for analog audio output, Teensy sells an audio adapter board with line-level output and a headphone jack [1] and that's what I'm using. The audio data is sent digitally using I2S. The audio library also supports cruder ways to do DAC yourself if you don't need it to be as high quality.

It would be nice if there was a Teensy board with analog audio output, though.

[1] https://www.pjrc.com/store/teensy3_audio.html

Re: Teensy 4.1 Development Board

#62
post #54

Earlier quoted context omitted.

These are substantially more powerful than both of those families.

https://www.st.com/content/st_com/en/products/microcontrolle...

What is your point? This is more powerful than all of the ones on your linked page.

Re: Teensy 4.1 Development Board

#63
post #56

Taking a look at this. It looks like it only supports ICMP and UDP? https://forum.pjrc.com/threads/60532-Teensy-4-1-Beta-Test?p=...

That was the low-level access. Below that they talk about porting a LWIP:

> I developed test sketches for NTP, DNS, multicast, web server, web client, httpd with SD or SdFat-beta lib, tfttp server (SD, SdFat-beta, or SPIFFS), ftpd (get/put) with SD lib, and TCP/UDP client/server

Re: Teensy 4.1 Development Board

#65

Earlier quoted context omitted.

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?

Arduino has had ARM-based boards for years, starting with the Arduino Due in 2012; most of their newer boards use ATSAMD MCUs rather than the AVR8 parts they started out with. There's also a pretty active community supporting STM32 ARM hardware at https://www.stm32duino.com/.

The "FPGA acceleration", on the other hand, is pretty limited. Arduino has one board -- the MKR Vidor 4000 [1] -- with an onboard FPGA. The FPGA can be configured with one of a couple prepackaged bitstreams to add I/Os or perform some specific video processing tasks; it does not accelerate processing on the Arduino MCU. The documentation for the board is minimal, and support for generating your own bitstreams is basically nonexistent. The whole thing has a half-baked feel to it; I'd avoid it.

[1]: https://store.arduino.cc/usa/mkr-vidor-4000

Re: Teensy 4.1 Development Board

#66
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 became popular for a few reasons: it's small, cheap, has lots of IO and dead-simple USB HID support.

Re: Teensy 4.1 Development Board

#68

Does this one have the JTAG/SWD pins available? I know that the teensy bootloader is one of its USPs, but not being able to connect a debugger is kind of a dealbreaker for any sort of complex project.

It does not.

This has been a longstanding issue with all of the ARM-based Teensy boards, and it's really the main reason I'd hesitate to recommend them.

Re: Teensy 4.1 Development Board

#69

Earlier quoted context omitted.

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.

> Teensy and ESP32 are just souped up Arduinos. Cheaper, more powerful, more feature-rich Arduinos, if you squint. I'm not sure why you would actually use an Arduino™ unless they've really improved their lineup since I last looked.

The Adafruit “Arduinos” are pretty great.

Re: Teensy 4.1 Development Board

#70

Earlier quoted context omitted.

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)?

Yep. I have a teensy+codec for the express purpose of experimenting with audio DSP filters.
Post reply on HN