Live data from Hacker News

Teensy 4.1 Development Board

pjrc.com

161–170 of 211 posts

Re: Teensy 4.1 Development Board

#161

Earlier quoted context omitted.

The ESP32 can do that too. Note that PSRAM is a lot slower than the embedded SRAM, so if you need to access that memory a lot, you're going to have a bad time.

Rest assured, when I'm trying to figure out whether I can coerce Linux into running on a board that was never meant to support such a thing, "slow" is a secondary concern:)

Well in that case... http://dmitry.gr/?r=05.Projects&proj=07.%20Linux%20on%208bit

Re: Teensy 4.1 Development Board

#162
post #82

PSA: Networking on microcontrollers is a giant pain in the ass. Don't get me wrong, boards like this (and ESP/Realtek boards with WiFi) are great for hacky prototypes. But if you're building an embedded device that will be deployed in any sort of volume, a small application processor running Linux will make your life dramatically easier. You can keep it asleep most of the time if your power budget is tight. The hard…

I totally get what you're saying.

Although I'll add that Linux has it's fair share of networking bugs and quirks (less now than before, but still plenty.)

Re: Teensy 4.1 Development Board

#163

Earlier quoted context omitted.

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:…

Teensy audio adapter has SGTL5000[1] running on the board and in my opinion it is highly customizable. It provides up to 96KHz sample rate (44.1 KHz with teensy's clock I guess) with 16bit sample size for ADC and DAC so I don't think it's low quality.

[1] https://www.nxp.com/products/audio/audio-converters/ultra-lo...

Re: Teensy 4.1 Development Board

#164
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.

There is even a hearing aid using teensy board and the modified version of teensy audio library[1]!

[1] https://shop.tympan.org/

Re: Teensy 4.1 Development Board

#165
post #82

PSA: Networking on microcontrollers is a giant pain in the ass. Don't get me wrong, boards like this (and ESP/Realtek boards with WiFi) are great for hacky prototypes. But if you're building an embedded device that will be deployed in any sort of volume, a small application processor running Linux will make your life dramatically easier. You can keep it asleep most of the time if your power budget is tight. The hard…

On a similar note, does anyone know of good resources for beginners for prototyping all the way through small-scale manufacturing of an embedded device? As a web & backend developer who likes to tinker with Arduino/Teensy style projects, I've always been curious what all would be involved in actually getting some units manufactured, like for a small kickstarter run or something. It seems pretty doable these days to g…

Take a look at Particle. They sell dev boards, but also have excellent documentation on how to scale (at least they used to, I'm not sure where it's gone now - have a look in the datasheet section) - obviously they want to get you into their cloud fleet management platform, but it would be a tempting solution for me. For example, you buy the dev board (fairly cheap), they also sell the SoC (cheaper when you buy in bulk) and have design guidelines for making your own boards.

The boards themselves are quite nice. It's an Arduino-like stack and you can always code in C++ if you need the STM32 capability underneath. The main stack is also open source I think.

Doesn't really cover much on the mechanical side, e.g. enclosure design. That's a whole different game and that's where people lose a lot of money - if you mess up an injection mold for example.

https://www.particle.io/

Re: Teensy 4.1 Development Board

#166

Earlier quoted context omitted.

If you want an decently peforming SBC that can match the Pi Zero in price, unfortunately you're out of luck. But if you're willing to put in a bit of work, make your own board and suffer most things not working out-of-the-box, you have a wide variety of cheap SoCs and MPUs. E.g. the STM32 MPU line, which has a decent enough ecosystem and plenty of devboards available, and has some chips under $5/unit in bulk.

None of which have wifi, as far as I can see?

The original ESP8266 ESP-01 was among such devices to add Wi-Fi to host CPU over SPI or UART...

Re: Teensy 4.1 Development Board

#167
Every time I ran across these boards, I always think of "Apollo Guidance Computer"[1] which is used on Apollo spacecrafts.

They have 16KB ram 2000MHz cpu freq so I feel like I can build a spaceship witha couple of teensies :D

[1] https://en.m.wikipedia.org/wiki/Apollo_Guidance_Computer

Re: Teensy 4.1 Development Board

#168

Earlier quoted context omitted.

The RTOS world is much less of an 'operating system' and more so a bare-bones task scheduler. It's not like a POSIX environment at all.

that's not really true anymore. it may apply to things like pharlap or vsworks, but there are more modern options that give you a nice real-time linux environment. https://access.redhat.com/documentation/en-us/red_hat_enterp... https://www.ni.com/en-us/innovations/white-papers/13/introdu...

Linux with RT patches isn’t exactly RTOS, it’s Linux with such patches.

Re: Teensy 4.1 Development Board

#169

Every time I ran across these boards, I always think of "Apollo Guidance Computer"[1] which is used on Apollo spacecrafts. They have 16KB ram 2000MHz cpu freq so I feel like I can build a spaceship witha couple of teensies :D [1] https://en.m.wikipedia.org/wiki/Apollo_Guidance_Computer

One note: they had a 2.048 MHz CPU, not a 2000 MHz CPU. 2000 MHz only slightly below modern clock speeds.

Re: Teensy 4.1 Development Board

#170
post #36

What would it take to make CAN work with this? https://en.wikipedia.org/wiki/CAN_bus

A CAN transceiver? A few dollars + an SPI bus at a glance. https://www.digikey.com/catalog/en/partgroup/can-transceiver...

Do you need a CAN controller and a CAN transceiver or just a transceiver?
Post reply on HN