logoalt Hacker News

Show HN: ThingStudio, Node-RED style programming for microcontrollers

33 points • by mkarliner • last Wednesday at 11:39 AM • 5 comments • view on HN

Hi, I'm Mike, I've made ThingStudio, a flow programing environment for microcontrollers. It allows drag and drop programming Node-RED style, but emits MicroPython which it uploads to the micro. The board does not need the editor to run after that. Runs fully local, Apache 2 licensed. There's a functional version of the editor/IDE at linked to the home page, you'll need to install to be able to upload, because WebSerial is not universal. Please give it a whirl. I'm happy to answer any questions.


Comments

superxpro12 • last Wednesday at 3:50 PM

I remember wishing for something like this that emitted C or C++ code a few years ago. Micropython is a fine choice, but very limiting. It's nearly impossible to do anything hard-realtime with it. But if it fits the nice, which is usually some flavor of a communication bus abstraction, this is probably a nice toy to play with. Curious how hard you can push the pedal on this.

Can it saturate the adc sampling? Can it configure a 20khz systick? Can it link interrupts together?

How easy is it to stand up uart/i2c/spi concurrently? What about canbus and usb?

How does it handle threaded programs? IS that part of the Node-RED arch? Or maybe micropy?

➕ show 1 reply
CamperBob2 • today at 5:35 PM

Honestly, all you need to program microcontrollers is a decent LLM. No need for a particular toolchain and workflow, even a simplified drag-and-drop environment.

Tell it what you want, give it access to the COM port or JTAG header, and go have lunch. It'll be working when you get back.

➕ show 1 reply