This is the next article in the series about our "Flower Machine".
Of course a machine like this would be useless without any brain to control it. The industrial solution is called a PLC (Programmable Logic Controller). However a real PLC has a number of deal-breakers for us: It is expensive, full of proprietary software, and 99% of the time programming it is windows-only.
Thus I set out to build an alternative: Meet the Poppy Logic Controller - a custom PLC-like device which mimics the real thing, but on a budget.
In this post, I will go over the hardware side. A future post about the software/firmware will follow.
I often open
pavucontrol to adjust the volumes of different applications relative to each other.
Sometimes music is too loud, sometimes Jitsi sessions are too silent. However, it is annoying to
switch context ever so often just to open the mixer, change volume, close again. As I am always
looking to challenge myself with some useful projects reaching beyond just writing software, this
felt like a great opportunity: I built myself a small mixing desk to control PulseAudio streams with
Pavu Mixer is what this resulted in. The project is fully free and open-source, including the hardware. It can all be found on GitHub: https://github.com/rahix/pavu-mixer
In this blog entry, I'm going to detail parts of the journey and the architecture of the project.
Many people who have written C code for Arduino have at least heard of the
millis() function at some point. It returns the number of
milliseconds since the program started running.
In avr-hal (a Rust library for AVR microcontrollers) there currently is no equivalent for it. Instead of waiting on someone to add that, let's see what it takes to build our own!