I'm trying to make an "analog coloured-light source", using RGB leds (4-pins - common cathode).
To control light intensity of each of the three colours I will be using PWM, via a separate ne555-based controller per color.
I'm not good in electronics, so I always try to find something ready and suitable for my application.
Most of pwm circuits out there use N-channel mosfets as switches. My problem is that my leds are Common-Cathode so the switch will need to be BEFORE the load. How should I do? Should I use P-channel mosfets? or will it work even if I simply put the n-mosfet before the load?
The original schematics, for driving motors:
My modification of it (Don't know if it works) :
I really thank anybody in advance for any help... I'm quite Noob and i have a lot to learn!
To control light intensity of each of the three colours I will be using PWM, via a separate ne555-based controller per color.
I'm not good in electronics, so I always try to find something ready and suitable for my application.
Most of pwm circuits out there use N-channel mosfets as switches. My problem is that my leds are Common-Cathode so the switch will need to be BEFORE the load. How should I do? Should I use P-channel mosfets? or will it work even if I simply put the n-mosfet before the load?
The original schematics, for driving motors:

My modification of it (Don't know if it works) :

I really thank anybody in advance for any help... I'm quite Noob and i have a lot to learn!