Hmm hold on, if I ground it, M1 will not turn on which in turn allows the LM317 to function and turn on the LEDs. If I pullup the gate using 100K it will not be enough on startup and it will still flicker.
Ok so on my breadboard I used a simple voltage divider to get around 5v to mimic my microcontroller but in the real application I will have a dedicated 5v regulator which I can pullup to. I can see however that a pullup (which depends on having 5v) will still need a fraction of a second to turn on which will make it flicker anyhow. I still need to try the pullup tonight however so my last post is all theory for now.
Right so I did the test and it did work however completely opposite to what I wanted. With the transistor off, the LM317 is going to switch perfectly on and all leds are on. However once I trigger the transistor, the LEDs will DIM slowly almost to OFF but never completely OFF.
I was thinking - what if I drive the transistor with PWM ? Say full duty cycle will keep them off and as I lower the duty cycle over a period of 2 seconds they should completely be ON. Would that work? Would it damage the LEDs ?
For which constellation does your circuitry results in the dimming?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?