Generate 0 to 5 DC volt
-
- Posts: 3
- Joined: Mon Jun 25, 2012 9:18 pm
Generate 0 to 5 DC volt
my project how to use pic16f877 to get 0-5V dc volt output.any can help me or good idea?
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Generate 0 to 5 DC volt
One method is to generate a PWM signal, then feed PWM into a low pass RC filter. If time constant of filter is too high, then there will be a pure DC voltage but response time will be too slow.
If time constant is too low then waveform will be a triangular.
PWM frequency will not be to critical perhaps 5KHz to10 KHz
If you require any further help then can you please state what version of Flowcode your using including free, student or professional?
Since you have posted in Flowcode V2 & V3 and just joined?
Martin
If time constant is too low then waveform will be a triangular.
PWM frequency will not be to critical perhaps 5KHz to10 KHz
If you require any further help then can you please state what version of Flowcode your using including free, student or professional?
Since you have posted in Flowcode V2 & V3 and just joined?
Martin
Martin
-
- Posts: 3
- Joined: Mon Jun 25, 2012 9:18 pm
Re: Generate 0 to 5 DC volt
Hello
its work thank you.
I attached the program.
Regards
its work thank you.
I attached the program.
Regards
- Attachments
-
- ADC Controlled PWM_LCD.fcf
- (7 KiB) Downloaded 389 times