Hello,
I am looking forward to do the following:
1) Run a loop from 0 - 255 counts
2) Write each count value to an Analog Output Port of Arduino
3) Wait some time T before the next scan
4) Convert the PWM Analog Output to 'Smoother' DC Output using some RC Filter
Question:
I went thru an interesting article at http://www.thebox.myzen.co.uk/Tutorial/PWM.html
However, I have a query here regarding the filter design...!!
The design considers the frequency with which I am updating my output Analog PIN at Arduino (the scan time)...!! And the entire Filter Design is based on that info alone... Like how frequently, I wanna update the my output (Scan time T) and based on that the filter wud be made...!!
But my question is that apart from the frequency of updating the Analog Output pin of Arduino, there is ALSO the frequency of PWM itself...!! So does the frequency of PWM not play any role in considering the filter components?
Thanks in adv and regards
Rahul
I am looking forward to do the following:
1) Run a loop from 0 - 255 counts
2) Write each count value to an Analog Output Port of Arduino
3) Wait some time T before the next scan
4) Convert the PWM Analog Output to 'Smoother' DC Output using some RC Filter
Question:
I went thru an interesting article at http://www.thebox.myzen.co.uk/Tutorial/PWM.html
However, I have a query here regarding the filter design...!!
The design considers the frequency with which I am updating my output Analog PIN at Arduino (the scan time)...!! And the entire Filter Design is based on that info alone... Like how frequently, I wanna update the my output (Scan time T) and based on that the filter wud be made...!!
But my question is that apart from the frequency of updating the Analog Output pin of Arduino, there is ALSO the frequency of PWM itself...!! So does the frequency of PWM not play any role in considering the filter components?
Thanks in adv and regards
Rahul