There is a Schmitt Trigger inside the 555. But the problem is that the hystersis is set inside the 555 to about one third of Vcc. This is probably too wide for your situation.Suraj143 said:What about making a Schmitt trigger by using 555 like in the attachment.
What I need is to add the LDR & transistor circuit to this circuit to give 5V or 0V in the output.
I don't understand your last sentence. It does not make sense.Suraj143 said:I need to operate from 5V.
When I use an op amp when in ambient light the output led goes dim not giving 5V or 0V. I used a hysteresis too but still the problem is there.
Without looking at the Op Amp's data sheet, I suspect that the Op Amp does not switch to a low enough voltage to switch the transistor off. That's why I suggested you use an N channel MOSFET in a previous post.
Here is the circuit i replaced LM358 instead of 741.
**broken link removed**
There is no hystersis in this circuit. You need a resistor from the output of the Op Amp to the + input. But it won't operate at 5 Volt.
But this 555 circuit the led wont dim its giving 5V or 0V.
However, as I said in my original post, the hystersis may be too wide since it is set inside the IC.Suraj143 said:Hi ijcox thanks for your suggestions. I like your first method.
The 74HC14 Hex Schmitt Trigger IC.
What about the input side? I need only a V/R & LDR is that right? Yes
& the output I can connect to a led via resister? Yes
Thanks
ljcox said:There is no hystersis in this circuit. You need a resistor from the output of the Op Amp to the + input. But it won't operate at 5 Volt.
Hystersis requires positive feedback. So the feedback resistor must go from the output to the + input.Suraj143 said:Hi ijcox when I’m testing the LM358 I added hysteresis to the wrong pin.
I replaced the Rh (feedback resister) to the output pin & to the (-) inverting pin which is connected to the LDR.
I’ll give a try to place that resister to the out & non inverting pin.
But the original circuit gives that to the inverting pin.
Suraj143 said:Hi sorry to trouble again.
I failed in both cases the LM358 circuit & 74HC14 one.
In LM358 I added a 150K resister from the output pin to (+) non inverting pin.
But still in ambient light the output LED is dim. I thought I explained this issue in a previous post. It is because your transistor is not turning off fully.
That's why I suggested you use an N channel MOSFET.
However, a red LED would give you enough off set. Connect it is series with the base resistor. It does not matter if it glows or not.
After I tried with 74HC14 circuit in that the output LED is all the time is on. No sensing. The change in voltage is not large enough. That is why I said that you would have to reduce the hystersis. See below.
Attachment has the circuit I use. In both cases the LDR & 10k resister is vise versa.
Here is the link of LM358 circuit it has 741 but i put 358.
**broken link removed**
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?