Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The 100uF cap from post #1 is too large. Any time you can increase the PWM frequency you can reduce the size of the caps. I want to use caps like 0.1uF or smaller.I can get the arduino to output pwm smoothly at 31,250 Hz if it is best to do so?
Not relevant because the TS wants to filter the PWM to where it has only a tiny bit of ripple. It is essentially a DC level by the time he does something with it..... If it drives an actuator or motor (in a wheelchair?) then you want its frequency above 20kHz so it will not make a loud noise. Your 500Hz will make the light from an LED flicker (like on new cars) if you move your eyes.