View Full Version : help with pwm
babatundeawe
- 27th October 2008, 19:52
can anyone help with code to generate pwm 0f 5ohz from 16f877a
Acetronics2
- 27th October 2008, 20:01
SEARCH Function ...
Question has already been asked here ...
Alain
mister_e
- 27th October 2008, 20:02
it's unlikely you'll be able to produce a real hardware PWm using hardware PWM module (HPWM), you'll need to use a software PWM, easy to build with Timer Interrupts.
One way to go is to use the following
http://www.pbpgroup.com/modules/wfsection/article.php?articleid=6
rmteo
- 27th October 2008, 20:16
it's unlikely you'll be able to produce a real hardware PWm using hardware PWM module (HPWM), you'll need to use a software PWM, easy to build with Timer Interrupts.
Not with a PIC16 or PIC18 you won't. What is needed is a PIC with a 16-bit period register. With any of the 24-bit core devices, you can get below 10Hz easily with 16-bit resolution on the duty cycle.
mister_e
- 27th October 2008, 20:17
I KNOW.. it's just not PBP related ;)
skimask
- 27th October 2008, 22:08
can anyone help with code to generate pwm 0f 5ohz from 16f877a
http://www.essex1.com/people/speer/large.html
How much is an ohz?
babatundeawe
- 30th October 2008, 12:35
[QUOTE=mister_e;65164]it's unlikely you'll be able to produce a real hardware PWm using hardware PWM module (HPWM), you'll need to use a software PWM, easy to build with Timer Interrupts.
One way to go is to use the following
http://www.pbpgroup.com/modules/wfsection/article.php?articleid=6[/QUOT
thanks guys i will sure work on this clues.
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.