Connecting 12 volt led

I want to connect 1 led to my matek h743. I use s6 pin and ground. and When I toggle switch relay 4 or any other relays nothing happens.

  • I SET SERVO 6 to -1 as GPIO.
    I want to control over x volt like on/off switch. I there any better way?

    image

How you connect what kind of LED exactly?
Did you read the GPIO-wiki GPIOs โ€” Copter documentation?
The GPIOs are only logic level in/outputs. โ€œ12 volt ledโ€ donโ€™t seems to be logic level.
How you control your โ€œServo 6โ€ output?

image
1-)just standart led strip
2-) No I havent I will
3-) Okey
4-) via mission planner

If you just give so short information it is not easy to help.
A standard led strip will never work in this kind. You need a kind of driver in between.

so is there any like give 12 Volt to pin with demand?

You may want to consider using a PWM to relay module to control the 12v LED. Example

First give some more details about your LED strip. Do you have a datasheet, a more detailed description or at least product label.
In principle you can use a simple tranistor with open collector to do the job.

Bottom line itโ€™s 3.3V from that output. Figure it out.

the Vsw pad can switch Vbat or 5v output.

1 Like

You could use the 3.3V signal from the GPIO to trigger a solid state relay (SSR) that could then control the 12V with the current needed for your LED strip. Look for a DC โ€“ DC SSR.