Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:37 04 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : RGB LED and PWM output

Author Message
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 09:25am 19 May 2014
Copy link to clipboard 
Print this post

Was asked to make an RGB controller for some RGB leds for a friend. Immediately I thought of using the uMite for this. Upon reading the manual for 4.5 I realized that there are only 2 pwm outputs. I was going to use the pwm outs to drive fets for higher current handling. However with only 2 pwm outs i seem to have hit a wall. Does anyone know if it is somehow feasible to use the servo outs to drive the fets for this type of thing?

Thanks!!!!!!
 
PicFan
Senior Member

Joined: 18/03/2014
Location: Austria
Posts: 133
Posted: 09:53am 19 May 2014
Copy link to clipboard 
Print this post

Hello,
i think the uMite have 2 Generators and 5 PWM Outputs. Gen.1 Output 1A,1B, 1C and Gen.2 Output 2A, 2B. I control a high power Led with RGB and White with the uMite 28p and IRF-7471 MOSFET as Driver.
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 11:50am 19 May 2014
Copy link to clipboard 
Print this post

Hi PicFan,

That sounds perfect! Would you care to share some code so we can get an idea?
Thanks!!!!
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 01:05pm 19 May 2014
Copy link to clipboard 
Print this post

I looked at the manual (should have done that first duh!) and see that indeed the freq. and pwm is easily controlled using the servo deal. PicFan, what freq. are you running for your rgb setup?
 
PicFan
Senior Member

Joined: 18/03/2014
Location: Austria
Posts: 133
Posted: 10:08pm 19 May 2014
Copy link to clipboard 
Print this post

I have the best results with 2500Hz.

PWM 1,2500,r,g,b

 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024