module to detect state of the PWM switch

Thread Starter

thor21

Joined Sep 29, 2024
424
Hello,
I do have a PWM switch (breaking negative pole -) and was wondering if there is any device that can detect that switch is simply On or Off.

Thanks
 

Thread Starter

thor21

Joined Sep 29, 2024
424
@LowQCab
basically what i want to achieve is ... in case PWN switch / dimmer is on ie led stripe produces light,
i will be able to somehow using some device? send signal to the relay which is on in case there is 0V or 12V, and relay will turn on/off other circuit.

What info are u looking for?

As its PWM switch .. and breaking Minus pole, I am not able to get constant 0V.


Thanks
 

LowQCab

Joined Nov 6, 2012
5,101
Maybe there is a language-translation problem ........
I don't understand your Post.

Please provide a Schematic-Diagram and an explanation.
.
.
.
 

Thread Starter

thor21

Joined Sep 29, 2024
424
@LowQCab

well I can do it ... but isnt it simple?

PSU -> PWM Switch / dimmer -> LED STRIPE.

I will take out Negative pole from Led strip as controlling signal which will control other circuit ie Relay, in the following way
a) LED strip is on, controlling signal turn on the relay
b) LED strip is off, controlling signal turn off the relay

Circuit with a relay is connected on the same PSU as a Led stripe,
and has "controlling" port -> which activates relay based on the controlling signal

is that more clear?
 

sghioto

Joined Dec 31, 2017
8,634
Circuit with a relay is connected on the same PSU as a Led stripe,
and has "controlling" port -> which activates relay based on the controlling signal
What is this "controlling signal" to activate the relay?
This provides a constant 12 volt out when the PWM is ON.
1730750689887.png
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,411
What we do need to know is the voltage across the switch when the PWM is in the off state.
Really, though, the simpler scheme will be to monitor the power feed to the LED strip using an LEd opto-isolater with an appropriate series resistor. Whenever the PWM is not off, the isolator will present some portion of ON.
 

Thread Starter

thor21

Joined Sep 29, 2024
424
What we do need to know is the voltage across the switch when the PWM is in the off state.
Really, though, the simpler scheme will be to monitor the power feed to the LED strip using an LEd opto-isolater with an appropriate series resistor. Whenever the PWM is not off, the isolator will present some portion of ON.
what do you mean by across the switch?

Thanks
 

LesJones

Joined Jan 8, 2017
4,511
sghiato's circuit in post #8 should do what you want. D1 cathode is connected to the negative of the LED strip. C1 negative is connected to the negative of your 12 volt power supply. (Befor it is converted to a PWM signal.) The plus 12 volt to the source of the P channel mosfet Q1 is the +12 volts from the power supply. You will connect one side of the relay coil to the drain of Q1. The other side of the relay coil will go to the same place as the negative of C1.
This how it works. Any pulses of the PWM signal to ground will discharge C1 (Even when the PWM signal has a very low duty cycle.) C1 wil not charge up enough to cause Q1 to switch off during the off state of the PWM signal. When there is no PWM signal C1 will charge up enough for Q1 to turn off causing the relay coil to be de energised. (The will take about a second to happen after the PWM signal goes away. (If the time is too long you wil have to change the time constant of C1 R1.)
You will need to ad a diode in parallel with the relay coil to protect Q1 from the back EMF from the relay coil when it switches off.

Les.
 

LesJones

Joined Jan 8, 2017
4,511
That relay modules has other components on the input coil side of the relay. You will need to trace out the schematic of the input side of the board. We just need to get to the ends of the relay coil. I think there is a diode on the module so we need to know how it is wired.

Les.
 
Top