Grumpy_Mike:
That is a whole new ball game and not at all what you asked in the first post. I also suspect that it is not going to happen.
What are you trying to do, this is coming across as a classic x-y problem.So explain what you want to do and with what equipment and give a link to this piezo that looks like it has to move a camera. It doesn't sound like it is a project for an Arduino.
The piezo is not relevant for this post. (It does not move a camera, it moves a mirror which shift structured light)
I am searching for help on the design of a LP filter (or something else) that can smooth out a PWM-signal.
I'd like to send a constant 1V and 2V (seperately), sending a PWM square-wave does not work, I need the average value (duty cycle x 5V). I need the signal to converge in less than 5ms.
I thought of a RC circuit with t=RC=1ms, where R=100Ohm and C = 1uF.
Is it possible to buy this circuit?