Resistor and Capacitor values for RC filter for Arduino throttle control?

sjrides

1 mW
Joined
Apr 10, 2018
Messages
15
I want to build a little throttle smoother using an Arduino. I've seen online that most controllers won't accept the PWM output from the Arduino and it needs to be converted back to analog using an RC filter.

Can anyone recommend a resistor Ohm value and capacitor Farad value to use that give a good response time and not too much wiggle in the final voltage output? It's going to be used with a cyclone controller if that makes a difference
 
I saw in this thread, someone used a 1k resitor and a 10uf capacitor, I suppose I will start there unless anyone has another recommendation. Looking at these circuits in a circuit simulator it seems like the RC filter itself adds quite a bit of smoothing just on its own
 
If you know the frequency of the PWM signal, you can calculate the value of the cap you need if you have a particular resistor you want to use. It'd be based around the time-constant of charging up the capacitor. The higher the frequency, the smaller a cap it would take for the same value of resistor.

But if you have an oscilloscope you can simply try different values and measure the output to see how close to DC it is. The closer the better.


This is probalby more complex than you need, but
https://www.allaboutcircuits.com/textbook/direct-current/chpt-16/voltage-current-calculations/
https://www.allaboutcircuits.com/textbook/alternating-current/chpt-8/low-pass-filters/

https://www.google.com/search?q=allaboutelectronics+calculating+rc+filter+values&ie=utf-8&oe=utf-8&client=firefox-b-1
 
Back
Top