Author Topic: I stuffed up 250 times  (Read 604 times)

0 Members and 1 Guest are viewing this topic.

Offline 24602Topic starter

  • Contributor
  • Posts: 28
  • Country: au
I stuffed up 250 times
« on: April 04, 2025, 11:32:08 am »
I stuffed up 250 times

So sent to fab 250 pcbs with an incorrect way of switching/ dimming these LEDs from a ESP32 (Via header on left). By High side driving these LEDs using these particular mosfets results in a working but very dim LED.

Schematic Attached

The mosfet is a SOT23 part.

 Is there a drop in part replacement to get this working? Trying to avoid having to bin a bunch of boards.

(5x RGBW LEDs)2538563-0
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: au
Re: I stuffed up 250 times
« Reply #1 on: April 04, 2025, 11:58:10 am »
Try an NPN BJT.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online Andree Henkel

  • Regular Contributor
  • *
  • Posts: 142
  • Country: de
Re: I stuffed up 250 times
« Reply #2 on: April 04, 2025, 12:00:54 pm »
or a PMOS FET / pnp bipolar
needs ofcourse inverting the control voltage (output level of µC in firmware)
« Last Edit: April 04, 2025, 12:04:09 pm by Andree Henkel »
 
The following users thanked this post: SteveThackery

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 13419
Re: I stuffed up 250 times
« Reply #3 on: April 04, 2025, 12:02:59 pm »
This has come up before.  IIRC source/drain pinout swap SOT-23 MOSFETs are vanishingly rare, and *IF* you find one, you still have the problem of the gate pulldowns, which obviously should be pullups.    Also you'd need a 5V logic high level but the ESP32 PWM is only 3.3v.

A better solution would be to create a little interface board to provide approx 10V gate drive, which will let those high side N-MOSFETs work just fine.
 

Offline 24602Topic starter

  • Contributor
  • Posts: 28
  • Country: au
Re: I stuffed up 250 times
« Reply #4 on: April 04, 2025, 12:07:13 pm »
This has come up before.  IIRC source/drain pinout swap SOT-23 MOSFETs are vanishingly rare, and *IF* you find one, you still have the problem of the gate pulldowns, which obviously should be pullups.    Also you'd need a 5V logic high level but the ESP32 PWM is only 3.3v.

A better solution would be to create a little interface board to provide approx 10V gate drive, which will let those high side N-MOSFETs work just fine.

Thanks yeah, if I have to create a add-on board would be better of just re spinning these problematic LED boards
 

Offline 24602Topic starter

  • Contributor
  • Posts: 28
  • Country: au
Re: I stuffed up 250 times
« Reply #5 on: April 05, 2025, 10:46:20 am »
Hi All, Ive redone the schematic let me know if there's any problems before I send to fab
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf