avatar
David Klaffenbach @klaffen.bsky.social

Does installing and running Makie (I saw use of it in the WiringPI repo) give you time to refill your water, make tea, make scrambled eggs, cook rice, smoke a turkey ...?

jul 8, 2025, 9:38 pm • 1 0

Replies

avatar
Jacob S. Zelko @thecedarprince.bsky.social

Per Julia LTS (1.10), you could refill water, make a cuppa tea, and sit back down to continue hacking on the Pi! 🍵 Story is great; Pi 4 only has 4GB RAM. Did expand swap to 2GB (overkill) for compiling but... Not bad. Will share future updates! 🔮 No problems with #Julialang in my non-hobby work. 🤓

jul 10, 2025, 6:48 pm • 0 0 • view
avatar
David Klaffenbach @klaffen.bsky.social

I'm not working on that kind of problem now but it sounds like you could model a system on PC, develop a control law in the simulation, then move the control portion in Julia to a Raspberry Pi and test with hardware. Skip the part where you port the control law to micropython or C. Very cool!

jul 10, 2025, 6:57 pm • 1 0 • view
avatar
Jacob S. Zelko @thecedarprince.bsky.social

Oh that sounds fascinating! What sorts of projects do you tend to work on? I am slowly rediscovering my love of hardware hacking and hardware engineering so would love to hear more!

jul 11, 2025, 5:22 pm • 0 0 • view
avatar
David Klaffenbach @klaffen.bsky.social

That was at a previous employer and I'm not doing that now, but my intro to Julia was using the DiffEq tools to develop control algorithms or analyze behavior of long-existing ones, around substitute in medical devices doing things like control of ultrasound actuators, or pressure or vacuum.

jul 11, 2025, 5:29 pm • 1 0 • view
avatar
David Klaffenbach @klaffen.bsky.social

*subsystems*

jul 11, 2025, 5:30 pm • 1 0 • view
avatar
David Klaffenbach @klaffen.bsky.social

So embedded systems running C code to read sensors, implement control law, drive actuators, in a variety of electromechanical systems.

jul 11, 2025, 5:33 pm • 1 0 • view
avatar
David Klaffenbach @klaffen.bsky.social

I was wanting to do it all in one place for less translation and porting.

jul 10, 2025, 6:53 pm • 1 0 • view
avatar
David Klaffenbach @klaffen.bsky.social

Oh that's not bad at all! I remember either Plots or one of the stripped down DiffEq packages basically taking forever. It churned for an hour or so and I killed it. At the time I was exploring options for prototyping platforms. I was doing simulations on PC but testing on pyboards.

jul 10, 2025, 6:52 pm • 1 0 • view