Live data from Hacker News

ESP32-S31

espressif.com

91–100 of 207 posts

Re: ESP32-S31

#91
post #85

Earlier quoted context omitted.

I do a lot of LED projects too but I just use ws2812s. What do you need the controller for? Large brightness perhaps? Just curious.

WLED is a system that runs on the ESP32 for some cool capabilities to drive the ws2812s, OP linked above.

Yes but these don't need controller hardware. The OP is using a dedicated controller and I was asking why.

Re: ESP32-S31

#92
Great to hear the adoption of RISC-V across the ESP32 line. The old Xtensa-based parts were fine, but RISC-V should make tooling, compiler support, and long-term ecosystem work cleaner

Re: ESP32-S31

#93
post #33

This looks like the long-awaited replacement for the original ESP32. The S and C series have been relatively low performance (the S better than the C but stuck on the outgoing Xtensa architecture), the P4 is powerful but lacks wireless. This is a relatively high performance, dual core MCU with wireless; a nice default option for low volume designs where being able to copy a previous implementation is more important t…

Can it cope with TLS? The esp32 having a viable TLS stack has been a big win

It looks like they've been adding more hardware crypto offloads too!

Re: ESP32-S31

#94

I'm interested in audio out because I dabble in musical instruments. What's the state of Bluetooth audio out on microcontrollers? Is low latency and high quality output possible?

> I'm interested in audio out because I dabble in musical instruments. Sorry, I don't know. I'm just responding to echo and expand on another reply that Bluetooth for anything related to serious music, from audio playback to MIDI input is a dumpster fire on Windows. Several years ago I tried to set up a high-end Windows laptop for hobby DAW composition on the go. The real-world BT audio latency just from laptop to he…

I'll mention that you usually need to put the BT connection in a low latency audio profile or else you're likely to get something more suitable for mp3-style high buffer playback.

Re: ESP32-S31

#95
post #24

I'm interested in audio out because I dabble in musical instruments. What's the state of Bluetooth audio out on microcontrollers? Is low latency and high quality output possible?

Low latency in Bluetooth audio comes down to codecs and the best are proprietary. If you want to really cut down latency and need wireless with hardware like this, you could use a second ESP32 and send your own bitstream between them.

You don't just use four simultaneously connected audio profiles and interleave them?

Re: ESP32-S31

#96
post #55

> ESP32-S31 is particularly well suited for edge AI and machine learning workloads, including neural network inference Any way to know what kind of performance one could expect running e.g. a depth anything model on there?

Memory is the main constraint. You have what, 8mb of psram.

Compute wise you can manage. You can do quantisation and run a small 10-15 layer CNN perhaps. Image classification is possible. Keep in mind the channel count and input resolution cannot be high since memory will be a problem. You can maybe do face _detection_, "is my cat on my keyboard" classification as well maybe.

Audio, you can do a lot more. Wake word detection happens on _much_ smaller accelerators inside iphones. In this one you can do slightly heavier classifications. Maybe speaker identification "which member of family" or maybe "which dog is barking"

Re: ESP32-S31

#97
I'm the maintainer of a standalone printf library, targeting mostly embedded devices and other no-standard-library use cases:

https://github.com/eyalroz/printf/

I would like to make sure the library can be used on this SoC, and other RISC-V systems; which it probably can, but if there are any issues cross-compiling for it, or using the toolchain Espressif provides, please consider filing a bug report on GitHub at the link above. Same of course goes for any FOSS librar/tool that you're trying out.

Let's help foster a rich(er) ecosystem of software available on these babies!

Re: ESP32-S31

#98

When can we buy these?

Apparently available on AliExpress as a dev board[0]

[0] "ESP32-S31-Korvo-1 Development Board Espressif System AI Intelligent Multimedia Development Board Engineering Sample" for £54.79 from the (allegedly official) Espressif store at https://www.aliexpress.com/item/1005012333744553.html

Re: ESP32-S31

#99
post #33

This looks like the long-awaited replacement for the original ESP32. The S and C series have been relatively low performance (the S better than the C but stuck on the outgoing Xtensa architecture), the P4 is powerful but lacks wireless. This is a relatively high performance, dual core MCU with wireless; a nice default option for low volume designs where being able to copy a previous implementation is more important t…

Can it cope with TLS? The esp32 having a viable TLS stack has been a big win

Has TLS been an issue since ESP32? I know ESP8266 had to increase CPU speed to be able to do RSA without timing out the watchdog. Wonderful hack. Didn't think ESP32 had the same issue.

Anyway, the S31 has SHA, AES, ECC, RSA, and ECDSA accelerators, so that should be fine. https://documentation.espressif.com/esp32-s31_datasheet_en.p...

Re: ESP32-S31

#100
post #85

Earlier quoted context omitted.

WLED is a system that runs on the ESP32 for some cool capabilities to drive the ws2812s, OP linked above.

Yes but these don't need controller hardware. The OP is using a dedicated controller and I was asking why.

WS2812 absolutely need a controller, without one they would simply not light up.
Post reply on HN