12v led strip control

I am working on a project to light up a 12V LED strip with an external battery source and a sensor. Basically with the sensor if it reads over a certain value it lights up green(pin 1 = gnd), when a different condition is met it turns red(pin 2=gnd), but while waiting it is constantly white(pin 1,2,3=ground).

The current issue is switching between open circuit and gnd. Is their a way to do that using arduino programming?

I’ve tried switching between output is low and switching the type to input and even found somethings about logic level mosfets but don’t know where to go from here.

Yes, you will want logic level mosfets. Connect each between your color pins and ground and then use your arduino to turn on the mosfet (e.g. connect it to ground) or leave it off.

1 Like

Always. :grin:

When you start to give details - the Web link for the exact LED strip you want to use, what Arduino (hopefully not a UNO), what sensor, what connections you are trying; only then can we discuss it. :face_with_raised_eyebrow:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.