Recently I found this seven segment design by Electronoobs on YouTube which is a big seven segment. I used his schematics to make my own big seven segment and for testing the circuit, I made a PCB with 3 LED per segment and a dot point. here's my PCB:
The way it works, is using 3 WS2811 ICs which two of them control segments A ,B ,C ,D ,E ,F , and the other one controls the segment G and the dot point. obviously, the IC itself cannot deliver enough current to turn on the LEDs, so it uses 7 P-Channel Mosfets to drive the LEDs. and the dot point is connected directly to the IC.
Here you can see the original schematics:
There's four differences between mine and the original, one is the number of LEDs per segment and one is that I connected the input VCC of the dot point to the VCC of the D segment. and I also used 100 Ohm resistors instead of 10 Ohm because my segments contain less LEDs, the other thing is the Mosfets, in the original design the Mosfets are SI2301, and in mine they're AO3401 which is the closest I could find to buy.
The code I'm using is the example code from Electronoobs himself, I put it in the attachments because its long and my topic will exceed 9000 characters limit.
So now lets get to my problem. When I connect the VCC and the GND to the input jack, ALL the LEDs turn on instead of the dot point, then when I connect the DATA pin, the ICs starts to sending output and their RGB pins turn HIGH and LOW and so the Gate of the Mosfets ( measured the voltage with a multimeter). But on the Mosfets Drain pin, nothing happens. its just changes from 0.6V to 0.5V which leads to increase and decrease the brightness of LEDs very very very slightly. The dot point on the other hand, which is connected to the IC directly, works fine and turns ON and OFF without problem.
So clearly there's something wrong with my Mosfets, but I have no idea what is going on and btw this is my first time using Mosfets.
Test Code WS2811 7seg.ino (10.4 KB)