ahmedragia21
Member
Hi, I'd like to know how precise voltage can the pwm module present , i want the change to be in millivolt , i mean the change in the duty cycle , i wanna use it as 16 bit DAC can this happens ??
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.
Using a processor you can create a PWM signal with any resolution (up to where your processor is not fast enough).Hi, I'd like to know how precise voltage can the pwm module present , i want the change to be in millivolt , i mean the change in the duty cycle , i wanna use it as 16 bit DAC can this happens ??
Yea , but i mean if i wrote OCR1A=6000 , would i sense this change in millivolts ?
PWM can always be done in software to get the needed resolution.
Nigel know more about the filter needed to smooth the PWM out into an analog voltage.
Maybe there is an easier way to do what you are attempting. What is the application? Why not use a DAC?