4 ms·
Could you put a few thousand of these on a PCB and have a super duper tiny compute cluster?
by LoganDark 4mo ago
Could you put a few thousand of these on a PCB and have a super duper tiny compute cluster?
- emil-lp 4mo agoYou mean ... Like a Beowulf cluster of those?
- LoganDark 4mo agoYeah, exactly!
- myrmidon 4mo agoYes, if you want all the drawbacks of distributed computing with none of the advantages: You'd probably be stuck with something UART based as interconnect, Every core is gonna have way too little RAM to do anything useful, you are missing like half the instruction set (floating point operations in software), and power draw at 4mW minimum per core adds up quickly to something that an efficient laptop-CPU would use. On top of all this, latency for anything is gonna be abysmal because the cores are so slow... I honestly don't see an application where this is even close to desirable. Would be fun, tough, to have a 10-stack of PCBs with 10 by 10 CPUs each for a thousand cores (=> ~4W power @1.8V).
- aa-jv 4mo agoMaybe not practical as a cluster configuration, but it could certainly be used as a voice-generating device for a synthesizer, or as a controlling device for MIDI I/O, or .. both even of course, configurable according to the users needs/patch idea.
- myrmidon 4mo agoYeah, but even for those applications you suffer from limited RAM a lot; with 16bit samples at 48kHz the thing has 10ms of audio buffer (stereo: 5ms) if you don't need RAM for anything else :S The ADC is really nice though, 1.5 MSPS is really good for such a small/low powered thing (fills the whole RAM in under half a millisecond).
- aa-jv 4mo agoTrue, you will have to write some tight code, but .. at that form factor and price, challenge accepted! Besides, 10ms is a LOT in that world ..
- piva00 4mo ago10ms of buffer is almost 512 samples @ 48kHz, it's quite a lot of buffer in audio terms!
- emctech 4mo agoI have a fourier transform loop running on this micro which takes 64 samples and outputs 32 frequency bins. It works perfectly for generating inputs to algorithmically driven animations including a visual audio spectrum frequency analyser.
- imtringued 4mo agoUsing it as a cluster is probably a bad idea, but you could probably build a 2d sensor grid using these. The 8 pin restriction is extremely limiting though. If you have an FSR matrix, you could connect a 2x2 grid to each MCU and then connect each row in a daisy chain configuration.
- nneonneo 4mo agoI'm reminded of TIS-100, a game where you program a cluster of tiny, parallel CPUs using a custom assembly language. It's painful to get basic stuff done, but you can do some amazing things with some effort.
- LoganDark 4mo agoI love TIS-100! I actually have a couple printed copies of the reference manual somewhere.
- grogenaut 4mo agoI stopped playing TIS100 after about 40 minutes becuase: a) the editors, come on man b) I realized I could just learn FPGA instead and it would be more useful. so I didn't do either
- goodpoint 4mo agoNo.
- zipy124 4mo agoYes, but also why would you? at 24MHz, you would be better off paying 100x the price ($25) for a 2.4GHz chip (easily doable). Something like a Raspbery Pi Zero 2 W already comes pretty close to that and without the penalty of memory communication/bandwidth.
- nullc 4mo agohttps://hackaday.com/2025/07/07/160-core-risc-v-board-is-the-m-2-coprocessor-you-didnt-know-you-needed/ https://hackaday.com/2025/07/07/160-core-risc-v-board-is-the... I could only imagine the bringup fun for thousands of them. :P
- topspin 4mo ago> Could you put a few thousand If you had 1024 of these, you'd have a grand total of 1 MiB of RAM. You won't be compute clustering much with 1 MiB of RAM.