I need to go for PNP (instead of a darlington array) because this LED disc requires the +5V to be switched instead of the Ground (which is more common i guess).
Switching works when configuring the imp’s outputs as ‘DIGITAL_OUT_OD’. But I need finer color control and this requires PWM.
The Imp puts out very, very low current signals (much lower than an Arduino) and I have had luck driving a 3-5V relays/ LED’s using two 3904 NPN transistors in a Darlington configuration; I use the VIN (5v from the USB supply) as the source voltage, and the Imp GPIO as the control signals (3.3v 4mA). Visit this site to see how to wire up two of them in Darlington configuration: http://www.electronics-tutorials.ws/transistor/tran_4.html
Thanks for the input guys.
I indeed need a high-side solution for this LED disc.
I now have this solution (see image) but it is not perfect yet. Instead of controlling the LED’s brightness from 0-100% I get a 90-100% range with the 3k3 resistor. Different resistors change the range. But I can’t find the right value for a 0-100% solution.
Any new idea’s? Or do you think I need the 2 FET solution Hugo?