1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Delay off after the input pulse completed with 555ic

Discussion in 'Homework Help' started by Mindmywork, Oct 23, 2016.

  1. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Hai.
    I just want some help in this school project circuit.im using 555ic to get delay off effect of lights.

    But the problem comes when trigger is longer than delay time, then lights going instantly off without any delay. So can u please help me in building the right circuit. Im just using monostable mode to get the result,but in vain
     
  2. crutschow

    crutschow Well-Known Member Most Helpful Member

    Joined:
    Mar 14, 2008
    Messages:
    10,311
    Likes:
    432
    Location:
    L.A., USA Zulu -8
    Show the circuit of what you have and how it's being triggered.
     
  3. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    This is the circuit. Triggered with IR circuit when there is a blockage between IR led and photo diode. Replaced the load with a led,cause i want to use it in the street lights 06-20-42-IR-security-alarm-circuit.gif theme.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. crutschow

    crutschow Well-Known Member Most Helpful Member

    Joined:
    Mar 14, 2008
    Messages:
    10,311
    Likes:
    432
    Location:
    L.A., USA Zulu -8

    If I understand correctly you want the one-shot time to start at the beginning of the trigger and time out after the delay time after the trigger stops.
    Below is the LTspice simulation of a modification to the circuit that does that.
    I added two transistors, one to trigger the 555, and the other to keep the voltage on the timing cap C1 (Vc) at zero volts until the end of the trigger, at which point the 555 times out.
    You can use other NPN transistors but they should be rated for a least 200mA maximum to minimize their saturation voltage.
    Note that the input polarity of the LM358 is reversed, since the transistors add a phase reversal.

    As can be seen, the pulse OUT is extended a little over 1 second after the end of the trigger as determined by the R1C1 values shown.

    upload_2016-10-23_22-52-9.png
     
    Last edited: Oct 23, 2016
    • Like Like x 1
  6. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Thank you very much. That's the exact thing that I wanted.
    Sir.do I need to add that 50k resistors and two transistors only or some extra components to the circuit that I'm working on. .
    Once again thank you very much.
     
  7. Les Jones

    Les Jones Well-Known Member

    Joined:
    May 15, 2015
    Messages:
    1,389
    Likes:
    179
    Location:
    Lancashire UK
    I would suggest modifying your original circuit as follows. Remove the connection between pin 1 of the LM358 and pin 2 of the 555. connect a capacitor between pin 1 of the LM358 and pin 2 of the 555. (I would suggest between 100 nF and 1 uF) Connect a resistor of between 100K and 470K between pin 2 of the 555 and +5V. Also connect a diode between pin 2 of the 555 and +5V with the + end to +5V. Almost any diode will do. 1n4148 or any of the 1N400x series. (x is any number between 1 and 7)

    Les.
     
    • Like Like x 1
  8. crutschow

    crutschow Well-Known Member Most Helpful Member

    Joined:
    Mar 14, 2008
    Messages:
    10,311
    Likes:
    432
    Location:
    L.A., USA Zulu -8
    You just need to add the two 50k resistors (R2, R4 in my schematic) and the two transistors to the circuit you posted, and reverse the inputs to the op amp.

    The pot and input resistor R3 in my circuit are part of the circuit you already have.
    V2 is just to simulate the switching of the photodiode.

    Note that LJ's suggested modifications won't give you the extended delay pulse you want after the end of a long trigger pulse.
     
    • Like Like x 1
  9. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Thank you very much crutshow. I will try it out. I can't express how happy I am. Looking at your suggestions im sure to get the desired result. Thank you once again sir.
     
  10. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Thanks Les Jones for Ur response
     
  11. Les Jones

    Les Jones Well-Known Member

    Joined:
    May 15, 2015
    Messages:
    1,389
    Likes:
    179
    Location:
    Lancashire UK
    I misunderstood your reqirement so my suggestion would not do what you need as Crut's says.

    Les.
     
  12. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    I did reverse the inputs but circuit failed to recognise the blockage between ir led and photodiode?
    What to do?
    And I don't get the v2 . I already connected the photodiode to 5v as in circuit. Im nooby. So plz bare with me
     
  13. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Sorry. Im getting signal by changing r3 pot. I will update once I will test with 555 also.
     
  14. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Bingo. Im getting what I want. Thank you crutschow.
     
  15. crutschow

    crutschow Well-Known Member Most Helpful Member

    Joined:
    Mar 14, 2008
    Messages:
    10,311
    Likes:
    432
    Location:
    L.A., USA Zulu -8
    Great.
    I assume you realized that V2 in my schematic was just for simulation purposes and is not needed in your actual circuit.

    Edit: Below is a variation on the circuit I posted that only requires one transistor instead of two.
    Note that the connection to DIS (pin 7) must also be removed.

    It could actually be reduced to no transistors if the LM358 opamp is replace with an LM339/LM393 comparator as shown in the second attachment, since the LM339/LM393 has an open collector output.

    upload_2016-10-24_10-40-12.png

    upload_2016-10-24_10-59-9.png
     
    Last edited: Oct 26, 2016
    • Like Like x 1
  16. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Sir. Another question .
    Im getting the output pulse right now.
    I want to improve it more.
    Like say 3 short input pulses given in the delay time which are shorter than the delay. Can the delay be reset to the last input pulse? Just want to experiment it more.
     
  17. crutschow

    crutschow Well-Known Member Most Helpful Member

    Joined:
    Mar 14, 2008
    Messages:
    10,311
    Likes:
    432
    Location:
    L.A., USA Zulu -8
    Yes.
    All the circuits I posted will start the delay after the trailing edge of the last pulse as long as the time between pulses is shorter than the one-shot time, as shown below.

    upload_2016-10-24_11-14-34.png
     
    • Like Like x 1
  18. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    sir. u r the best. i tried to find out a solution for the first problem googling two days, but in vain. if i were know this site earlier, lots of my time could have saved.
    ill try it out and post the results tomorrow. thank you sir.
     
  19. crutschow

    crutschow Well-Known Member Most Helpful Member

    Joined:
    Mar 14, 2008
    Messages:
    10,311
    Likes:
    432
    Location:
    L.A., USA Zulu -8
    What you needed to look for is "retriggerable one-shot".
     
    • Like Like x 1
  20. Mindmywork

    Mindmywork Member

    Joined:
    Oct 23, 2016
    Messages:
    56
    Likes:
    0
    Location:
    Andrea Pradesh, kurnool (dt), nandyal
    Thanks sir. I just tried with one transistor and it's working well. .
     
  21. spec

    spec Well-Known Member Most Helpful Member

    Joined:
    Oct 27, 2015
    Messages:
    5,828
    Likes:
    707
    Location:
    Somerset UK GMT
    Hi MMW,

    Which part of India are you from? If you put it next to 'Location' on your user page, it will show in the box at the left of your posts.

    Some of us are interested to know where members are from. It also helps us to know what components you can access and to establish your mains supply characteristics and the temperature range in your local, all of which helps us reply to your questions.:)

    spec
     
    • Like Like x 1

Share This Page