IRF5305P is P channel.
https://www.mouser.ca/ProductDetail/...uFut1Niv57Vgi1
IRF5305P is P channel.
https://www.mouser.ca/ProductDetail/...uFut1Niv57Vgi1
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
I could be wrong but the way I read your instruction sheet I see this..... think the module has the dimmer mechanism internal and is controlled by 0-5 volt on the Vo pin
-
-
![]()
Yeah, as I corrected myself in post #38,
https://www.picbasic.co.uk/forum/sho...583#post156583
it's the backlight that I'm controlling.
This is white-on-black LCDs. I've set V0 to a "visually acceptable level" (still have to test Richard's suggestion), and I control the brightness of the LCDs only with the backlight.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Obviously I mistyped the part number. Yes it is a P channel.
From the datasheet the Vth seems to be 4Volts min. Have you tested yet this MosFet?
Please check with an Osciloscope that the MosFet is fully closed at PIC low state, so that there is no voltage drop on S-D pins.
Was there a specific reason that you selected a P channel instead of a N channel control of the PWM signal? Usually the N channel have better characteristics in terms of Rds.
Ioannis
Nope. But I'm using a IRFZ44N n-channel to PWM the LED strip with has similar specs.
Good idea. Choosing the proper resistors to drive the MOSFET is still a black art to me.
Because when I first started testing blue-on-white LCDs, I was PWMing both the Contrast (V0) and Backlight (LedA). I didn't even consider MOSFETs and went straight to transistors since we're not talking about a lot of current. Why I chose PNP transistors back then is a mystery; maybe I saw a schematic on google and copied that.
I've since switched to white-on-black LCDs, I don't need to have adjustable Contrast (V0). So controlling the Backlight with a PNP transistor is just "the old way of doing things". But since noise has become an issue, getting a P-channel MOSFET seemed like the logical way to replace the PNP.
But if I had thought about it for 2 seconds, I would have realized I have access to both the Anode and Cathode on the Backlight. Since I already have an IRFZ44N on the circuit, it would cost less at JLCPCB to use another IRFZ44N instead of a second type of component.
So that's the long-winded way of me saying that now I'm going to swap the 2N2907A PNP to a IRFZ44N n-channel.
Funny story, I finally realized the letter at the end of a MOSFET seems to indicate the channel. I don't know if it holds true for all, but it's working for the first two that I researched.
![]()
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Switching to MosFet from bipolar, as Richard noted, it will introduce MORE noise because they are faster.
So, do add capacitors (100nF plus 10uF) as close as possible to the Mosfet power supply, taking care of ground loops at the same time.
Ioannis
a waste of time until he address' the correct current limiting resistors for each displaySo, do add capacitors
if its really 90mA per display then a 1000uF might help a little.
The peak current as it stands could be very high depending on led vf , could be amps , who knows
Warning I'm not a teacher
OK, but having a 4.000uF on the 5V rail is too much, isn't it?
Ioannis
You seem to be moving the goal posts. One 1000uF at the pnp tranny emitter since all four back lights are parallel driven from that source
Warning I'm not a teacher
By "if its really 90mA per display then a 1000uF might help a little" seemed to me that you meant 1000uF per display.
In any case though, the 1084 or even the humble 7805, do not have any problem with large capacitance.
I bet a reverse biased diode, across output/input pin, would be needed to protect the regulator, in case the Reg. input is grounded for whatever reason while the outuput cap is still charged.
Ioannis
Last edited by Demon; - 16th November 2024 at 01:43.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks