possible 3 pwm's?

mobents

New Member
my problem is that i need to control 3 (three) pwm outputs individually. i have tried to use hpwm in single mode, but i think i didn't understand the manual the right way, because i thought you could control each output individually.
i can't use hpwm at the same time as normal pwm.

is there any way to get around this? maybe poking some registers?

all help is appreciated.
 

hippy

Ex-Staff (retired)
HWPM routes a single PWM to any of the four outputs but there's only one PWM generator. Plus the other which goes to a single output , makes two PWM in total.
 

mobents

New Member
ok, i guess the best solution then is to use one "master" picaxe" (28x1 or 40x1) and a smaller picaxe to take care of the third pwm.
 

Mycroft2152

Senior Member
3 PWM's, hmmm RGB LED project?

If so do a forum search, this has beed discussed ad nauseum before.

The cheapest way out is to use one the Sparkfun RGB moduiles ~$12.95
 

premelec

Senior Member
My 'solution' has been to run a serial in 8x8 DAC which controls current output to various drivers... also al-williams.com has a PAK V chip that is serially programmed to put out PWMs - more expensive than a bunch of 08Ms on PWMOUTs...
 
Top