Can u post your circuit, if you dont drive a fet correctly and it works in the linear region(not fully on or off) they can get pretty hot. Are you trying to drive a large fet directly from a pwm pin?
Since you are new to electronics, may I make a suggestion?
Get a premade mosfet power module that can be driven from 3.3 or 5.5 logic level.
Post back with your specifics and I can make a suggestion. You need to know whether you are switching your light on the positive side or the negative side. I have to drive my light on the high side and a opto isolated p channel mosfet board is only 4 dollars and will do 1khz pwm frequency and can hook right to the pwm pin of the rpi or the pca.
I am using this diagram - https://learn.adafruit.com/assets/2693 which is from this guide - https://learn.adafruit.com/rgb-led-strips?view=all#wiring
The article talks about using a TO-220 fet and lists this one - IRLB8721, my local electronics place did not have that particular fet but he had this one which should be as good IRLZ44N, another TO-220 low level logic fet. Right now I have no load I just have my meter connected to the output and I see constant voltage, it's no cycling at all and when I set the light to 1, the meter shows 9.75 volts and increases from there.
I am trying to control a chihiros led light, I havve 2 of them, one with 99 led's and one with 36 led's, they have an in line jumper that allows you to step down or up the intensity, 7 steps. When I hooked my meter up to the output of the dimmer, it was constant at 12v on its highest setting, but when you went down the voltage went down accordingly but cycled, it was not constant, see this post for dimmer details - https://www.reef2reef.com/threads/r...-on-raspberry-pi.289256/page-441#post-5539596
I did try to take a reading from my meters' frequency setting (20K HZ setting) and this is what it showed:
Full power - step 1 - 0
step 2 - .02-03 cycles from here out
step 3 - .-4-.05
step 4 - .06-.07
step 5 - .06-.08
step 6 - .07-.09
step 7 - .08-.10
Yeah I as just wanting to control the intensity throughout the day along with the time, I can order the pre-made controller but somehow would like to know if that is the answer before hand. I did try both PWM pins from the pi and they should the same results, I'm just trying to figure out where to go from here from a testing perspective to help figure things out.
Thanks for the information and if there is any additional information that is needed just let me know. :)
Last edited:
