User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
starblue_led_power [2015/08/26 10:21]
buzz created
starblue_led_power [2015/08/26 11:00]
starblue Added explanations
Line 1: Line 1:
-Starblue posted ​modification on twitter ​for actually powering ​the leds properly (both on AND off)+The original circuit tries to use an n-channel MOSFET as 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.
-*​anystring/​status/​631944490803048448+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.
 {{:​circuitcloseup.jpg?​400|}} {{:​circuitcloseup.jpg?​400|}}
starblue_led_power.txt · Last modified: 2015/08/26 12:51 by starblue