User Tools

Site Tools


This is an old revision of the document!

The original circuit tries to use an n-channel MOSFET as a high-side switch (i.e. switching the positive supply) for the LEDs. This doesn't work, because to turn the MOSFET on, the gate of the MOSFET would need a voltage about 2V higher than the source of the MOSFET, which is the supply voltage of the LEDs (~4V). But the gate is connected to Vcc, which is 3.3V. Duh.

An alternative is to use a p-channel MOSFET, which switches on if the gate has a voltage about 2V lower than the source (see the schematics below). Vcc is low when the rad1o is off and higher when it is on, which is the opposite of what we need. So an additional n-channel MOSFET is used to drive the gate of the p-channel MOSFET. The resistors ensure that the MOSFETs are switched off when they are not driven.

I built it very small using 1mm pitch contact strip, MOSFETs with SOT-23 footprint and 0805 resistors vertically on the gate contacts (see picture). You should be able to use logic-level MOSFETs in bigger packages, as long as the p-channel MOSFET is able to carry the maximal current of about 500mA (almost all can, but for example not the somewhat popular BS250). The resistor values are not critical, anything between 1k and 100k should do.

starblue_led_power.1440579650.txt.gz · Last modified: 2015/08/26 11:00 by starblue