Hello community,
I'm trying to get a 555 based LED dimmer to run which I built with some odd stuff I had lying around, thus the rather strange part/value selection. The schematic is in the first picture and shoud be pretty much the standard circuit - a 555 timer IC generates a PWM signal whose duty cycle is controlled by a potentiometer and switches a p-channel MOSFET IRF9540N which powers the LED strip (connected to J2 in the picture). On the bench it's powered by a lab supply set to 12V (12.2V in the scope screenshots below).
I decided to drive the MOSFET directly with the 555 as I didn't have much space on my small board for a transistor driver, I hope this isn't the root cause of the following problem:
The dimming works in principle, but at minimtum pot setting, it's still very bright. A quick look at the voltage across the LED strip (second picture) shows that during the active part of the cycle is correctly at 12V, but it only falls off to ~7.2V in the inactive time. Meanwhile, the gate-to-ground-voltage (third pic) and gate/source-voltage (fourth pic) look alright to my untrained eye.
If I turn down the supply voltage, the active part voltage goes down accordingly, the 7.2V remain until the supply voltage falls below that level, then the voltage across the LED strip stays constant at the (decreasing) supply voltage level.
Can anyone explain that behaviour to me?
