#207611

I assume you mean OFF until the PWM is >>25?

#207631

I am not sure how your PWM works, I am assuming it outputs 25% PWM under normal conditions, and 100% PWM when brakes are applied, so the circuit I suggested will handle these inputs perfectly for the lamp, as explained by me above.

#207633

thanks for the clarification, will try it out!

#207412

Useful – but be careful – see:
https://www.analog.com/media/en/analog-dialogue/raqs/raq-issue-11.pdf
https://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf
https://wiki.analog.com/university/courses/electronics/electronics-lab-opamp-comparator
https://www.analog.com/en/resources/analog-dialogue/articles/amplifiers-as-comparators.html

Author
#207450

Thank you very much for the useful information.

#151579

So here’s the all the issues I am facing right now
1. The voltage is floating in all the components in the circuit
2. Bc557 is not functioning as puch to on function
3. Getting 1.5~1.4 voltage at leds terminal but the led is not on
4. Getting 12v at pin7 and pin4 of the ic but ic is not responding
5. I have Checked twice the connection and all the connection is right

These are all the issues I am facing right now

Author
#151583

Please try the following setup.

Move the preset up/down, the LED should illuminate and shut-off alternately at a particular point on the preset.

op amp test jig

Author
#151586

This will confirm whether your iC is good or bad.

#151588

After turning fully upside the lower led which is connected to the 1k resistor was on and after turning fully downside the led which is connected to the pin6 was not on and also the second led was off ! I am giving 18v to the circuit and there is 13.2v at the second led (when it’s on) and 1v at first led !

Author
#151589

You must use 12v, not 18V, at 18V the 741 IC can burn.
Both LEDs are connected in series so both will turn ON/OFF together, not one by one.
Both the LEDs must turn ON and OFF at a “sharp” particular point of the preset rotation, not fully upwards or fully downwards.
Please change the IC and test again with 12V supply.

#151593

Sir listen can you make this circuit with my requirements and ship it to me please because of it I can find out my mistake more accurately i will pay the shipping charges please ?

Author
#151600

Neeraj, Sorry, that may not be possible for me either.

#151592

Same nothing changed now with the 12v and I got 7v at the second led and first led didn’t turned on now at the sharp point it get turned on but the issue is same as before one more thing the second led which was lighted up now it’s was dimm means the led was not on its full potential

Author
#151599

Neeraj, in that case I cannot understand your circuit problem because I cannot check what’s wrong with your connections or parts.

#151546

So which circuit should I follow to check the ic ? 741!

Author
#151547

Please use the same circuit which I discussed in my previous comment.
Connect its pin2 to ground via 1k resistor, adjust the preset somewhere midway. Press the push button to latch the ic. Then manually connect pin2 with the positive rail momentarily, if the latch breaks, your ic is good. Repeat the procedure a few times to confirm the results.

#151549

latch circuit using 741

So I will work on this circuit and for checking the ic I will connect pin 2 of the ic with positive rail and remove the 1k resistor between pin2 to ground just for momentarily okay?

Author
#151553

No, 1k will remain connected to ground as it is, in rhis position just touch pin2 with positive just for a second, and remove. This should break the latch.
Then press the button again to latch the circuit and again touch pin2 to positive to break the latch….
This will confirm 741 is good.

#151555

Gotta I think I found the issue after touching the pin2 with the positive the circuit didn’t latch but led turned off and after removing the connection with the positive the again turned on is that means the 741is faulty!?

Author
#151558

Circuit should latch and LED should illuminate when push button is pressed.

Latch should break and LED should shut off when pin2 is touched to positive.

#139908

Hello, I am interested in the current control circuit.. but I would like to know what the 10k resistor connected between the output and GND is for…
Thank you very much.

Author
#139914

Hi, 10K is the output pull down resistor. But I think it is not required, it can be removed.

#87363

Good day Swag, please a need a comparator circuit, that can sense differences between 2 batteries, and difference of 0.2v will trigger led light. Thanks

Author
#87370

Hi Seun,

You can try the following concept:

battery differnce tester

When B1 voltage is higher than B2 by 0.2 V, the LED will light up and vice versa…

#178657

Hello sir, please I lost my folder, please can you kindly help Me repost the circuit in this comment?

Author
#178690

Hello Seun, image upload facility is not currently available in the comments section….instead you can upload it to any online image hosting website and provide me the link here…I will check it out…

#178827

please kindly help Me to redraw another op amp.

Author
#178905

Seun, please refer to your previous comments above you will able to the see diagram using two batteries, as requested by you..

#178826

Sir, I requested for it, and you helped to draw an op amp for the circuit.

#87471

Thanks Sir Swag,please what can I adjust to make the differential 0.5v

Author
#87482

Seun, you can modify the circuit with preset as shown in the following figure, and adjust it to get the 0.5 V differential output.

op amp battery

#87489

Thanks Sir Swagatam, what is the value of preset and how will I set the differential value.

Author
#87493

You are welcome Seun, preset value can be 10k, connect a 12V source at (-) input, and connect another source 12.5 V at (+) input of the op amp….adjust the preset until the red LED just starts glowing.

#87384

Thanks Sir, what of vice versa if B2 is higher, can it work interchangeably with one circuit, to light up the LED

Author
#87394

If B2 is higher then the red led will shut off. You can connect another LED across positive to op amp output with a 1k series resistor for indicating B2

#87071

You have very good opamp as comparator circuits, but you must warn not to use real comparators in your circuits.
The real comparators need most of time output resistors to VCC.

Now there are some comparator circuits, which need not output resistors.
The Microchip has done such comparators like MCP6541
It needs not output resistor.
It can gives 2mA output current to both sides.

Author
#87083

Yes, for true comparator like LM393 or LM339, which have an open collector transistor set at the output pin, must have a pull up resistor, but the above article is about op amps, so that may not be required here….

Author
#207590

What is your existing PWM source? or do you want that also to be constructed by you? In that case a comparator will not be required, you can do the whole thing with a single IC 555. Normally the lamps will be lit at 25% brightness (through PWM), when brakes are applied, it will operate at full 100% brightness.
If this suits you, I can design it for you…

#207557

I would love the circuit diagram please, the reference voltage and the voltage to be switched on are both 12, the power to the bulb is 12v subject to the PWM Moddulation, the item to be powered is an lcd brake light

Author
#207551

Do you want the full circuit diagram with the comparator, or only the RC network?

#207494

thanks for the reply sadly I’m not skilled in electronics. could you show the circuit diagram please?

Author
#207484

You will need an RC filter between the PWM input and the comparator input. The RC filter can have one end of the 10k resistor connected to the PWM input and other end connected to comparator pin and 4.7uF capacitor to ground.

#207424

hi, I’m trying to put a 12v feed to a led brake light on a VW Passat where the 12v voltage [PWM?] is high 25% of the time for taillights and increases to 100% high 12v for brake lights [using the same bulbs] will this comparator still trigger if the signal voltage is high all the time?

Author
#80475

Yes that’s correct you can refer to the designs explained in the following article for a detailed info:

https://www.homemade-circuits.com/make-6v-4ah-automatic-battery-charger/

#80463

Sorry English is my second(poor) language. I refer to the circuit with the adjustment parameter. So if I connect 7 and 2(with resistor) to the positive of the extra battery and the 3(with resistor) to solar pack. This must then open the relay till the voltage of both are equal. The negative will be of both batteries.

I am not a expert on electronics so I use basically your knowledge to build circuits.

Author
#80457

Glad my circuits are helping you accomplish your goals. however, i am unable to figure out which circuit are you referring to. Please specify the circuit schematic.

View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic!

Your email address will not be published. Required fields are marked *