I'm designing a board ostensibly for my USB MIDI thing but I figure it might be useful to other folks to have a generic board that can convert PWM from a microcontroller into either a DC or other analogue voltage by low-passing the PWM.
My current plan is to have "low ripple" outputs that use a sallen-key or similar. I might also add some lower quality outputs that are just passive low-passes.
I also want the option for level shifting either via an adjustable gain trim or some preset switch or solder bridge to convert the 3.3v or 5v PWM into eurorack appropriate voltages
Lastly I'll probably put some buffers or level shifters on there for gate signals
Attached is the basic idea for one of the sallen-key low passes which is designed to output DC with a ~32kHz PWM frequency, including level shifting to 0-10v