Hello, I have this circuit in the figure. The GPIO send a signal to the MOSFET to control the LED. It’s a simple circuit, but it’s not working and I cannot figure out why. Maybe I need to choose another mosfet?
Attachments
-
45.7 KB Views: 21
Thanks for the quick reply! Vcc = GPIO = 5V and the LED is white.hi Gp,
Welcome to AAC.
Whats the voltage level on the GPIO pin.?
Also Vcc.??
What colour is the LED.?
E
trivia : http://www.everlight.com/file/ProductFile/67-31EP6-UY0500H-AM.pdfbut it’s not working
The LED is always on in a dim state, it never completely shuts off. But it will brighten when the GPIO pin get pulled high manually.Please , specify ? LED always ON ? LED always OFF ? LED state hard to determine ...
dbl-chk
The other channel on this nFet has this identical circuit. And I’m using a stm32 which is configured for push/pull.Another thing, what MCU are you using to drive the nFet? Have you made sure its GPIO is configured as a push-pull output?
Have you checked the voltages at the gates? Are they all the way down to zero when said GPIOs are off?The other channel on this nFet has this identical circuit. And I’m using a stm32 which is configured for push/pull.
They are not down to 0. Vg at LED1 is 0.04 V and Vg at LED2 is at 0.24 VHave you checked the voltages at the gates? Are they all the way down to zero when said GPIOs are off?
So, most likely there's something going on with the GPIO's .... I would disconnect the gates from the MCU's pins (but leaving the 10k pull-down resistors), and then test them by by manually connecting and disconnecting them to Vcc. If they work as planned, then definitely there's something going on with the MCU...They are not down to 0. Vg at LED1 is 0.04 V and Vg at LED2 is at 0.24 V
Good call... if he's working with an SMT device, then surely it's mounted on a makeshift PCB, and maybe its traces are short circuited at some point... that would explain the non-zero voltages at the gates.hi Gp,
Do you a photo of the project that you could post which shows the FET and LED.?
E
I’ve actually already been trying to manually pull the signal high or low on a breadboard and I’m still getting the same issue, so it’s not the MCU. What are some ramifications of overheating the mosfet during soldering? Maybe that caused an issue?Another thought that comes to mind, is that you might inadvertently be applying a PWM signal to the gates. Do you have an oscilloscope?
I actually have a prototype PCB that I’m using this on, but I cannot send pictures of it as it is proprietaryGood call... if he's working with an SMT device, then surely it's mounted on a makeshift PCB, and maybe its traces are short circuited at some point... that would explain the non-zero voltages at the gates.
That could definitely cause damage... it's happened to me more than once.What are some ramifications of overheating the mosfet during soldering? Maybe that caused an issue?
No problem, we understand. My only advice would be for you to be meticulous and do a step by step check of all possible scenarios. And also, we'd love to hear about it when you finally solve it... we're all of a curious nature in this place.I actually have a prototype PCB that I’m using this on, but I cannot send pictures of it as it is proprietary
Are you sure? STM32 MCUs usually output 3.3V.Thanks for the quick reply! Vcc = GPIO = 5V and the LED is white.
-- try 100kΩ or higher to gate from +7V +10V +14V -- while so log V.drain to GND voltages (keep LED at where it is +5V)manually pull ... same issue
by Duane Benson
by Jake Hertz
by Jake Hertz
by Jake Hertz