Go Down

Topic: 12V Led Strip PWM (Read 2335 times) previous topic - next topic

paynoise

Hi guys

I've buyed some RGB-Led Strips common cathode. And now i like to control them from my Arduino.

Because they are common cathode strips i need to control them with a pnp-transistor, right? So, i've buyed three IRF5303 Mosfets.
http://www.redrok.com/MOSFET_IRF5305_-55V_-31A_6mO_Vth-4.0_TO-220.pdf

My Problem is how to control this Mosfets from the Arduino?
When connect 12v + to the drain and the + from the led to source the led is on. but how can i use the p-channel mosfet as a switch to turn off the led's.

thanks in advanche
paynoise

ps: sorry for my bad english...

RuggedCircuits

You can do something like this:

http://ruggedcircuits.com/html/circuit__11.html

Replace the +6V in the schematic with your +12V (and the AOD417 with your IRF5303).

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons

MarkT

If you'd chosen a logic-level p-channel MOSFET you could have simply level-shifted with a zener diode and a pull-up on the gate...  You'll need an NPN or n-channel transistor to drive the gate with full voltage swing.
[ I won't respond to messages, use the forum please ]

paynoise

@Rugged Circuits

can i use this 9014 (http://www.datasheetcatalog.org/datasheet/WINGS/9014.pdf)transistors instead of this 2N7000? Can i use the same resistors which you used in the circuit?

RuggedCircuits

Yes, that should work. I don't think the resistors will need to change.

--
Beat707: MIDI drum machine / sequencer / groove-box for Arduino

paynoise

thanks a lot. i'll try it this evening...

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy