2 led timed circuit

Discussion in 'The Projects Forum' started by brozizds, Sep 13, 2010.

  1. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    First I would like to Thank Bill Marsden for his tremendous help on this project, that I originally posted on 8/15/10. I built this beautifully designed circuit as the schematic showed (or so I thought :confused:) but I made a few mistakes, ok a lot :) and corrected most, but now at the end of the timed cycle the piezo buzzer doesn't go off when the red LED does and the stop switch has no effect at all, even at the end of the cycle. I only have 1.3 V at the collector on the PNP transistor. when I hit the start it will reset and the green LED lights and runs it's course. I'm not using an SCR but would like to but it's not on my schematic (Remember lack of knowledge) but I am going to use a internal variable resistor but not on my prototype. I know Bill is very busy on other projects and I would appreciate any help that you folks could give me!I have built a simpler timer from (the electronics club) but it is very inaccurate, but Bills schematic and in operation was very accurate when testing the LED's time. HELP!
     
  2. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    Which schematic are you using? I will be breadboarding a version myself to polish the design.
     
  3. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    Bill, I tried to post the schematic in this reply but it won't fit here! It is yours from 8/18/10 . Thanks Jim
     
  4. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    brozizds likes this.
  5. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    yes sir Bill thats it.
     
  6. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    OK, I have two layouts, the Figure 1 will be my experimental version, the Figure 2 approaches what I think you are trying to do. I left extra room for big capacitors.

    [​IMG]
    .........................................Figure 1

    [​IMG]
    .........................................Figure 2


    Then there is the schematic, which has been updated to reflect the values you need.

    [​IMG]


    I'll let you know how it goes.

    .
     
    Last edited: Sep 18, 2010
    brozizds likes this.
  7. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    Thanks Bill, I will try the layouts tdy . Also I am assuming that Q1 is still NPN and Q2 is PNP am I correct? Also what is the value of Rt in fig. 2 (variable resistor).the trans. I got at RS the pin layout is diff. than the layout so I will follow EBC in yours. P.S. I'am asking this because of no parts list lol and lack of experience Thanks Jim
     
  8. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    Nope, Q1 is PNP as shown on the schematic and Q2 is the NPN. I didn't modify the schematic that much, so maybe we found why it didn't work? :D

    Are the drawings legible enough? I made the sonalert illustration for this project. That's how it works, if I make a component I have it forever on my PaintCAD.
     
  9. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    bill, on this post it does show Q1 as a 2N222A NPN http://forum.allaboutcircuits.com/showpost.php?p=269134&postcount=10
    and Q2 as 2N2907A I took from the parts list boy am I confused lol thanks Jim but still tryin. I replaced Rt from 27K down to 10K for test porpose to shorten tests and didnt have a 240 ohm for R2 but used a 270 ohm I made Q1 the PNP and Q2 the NPN and when I apply 9V to my proto board the green LED lights up but time cycle doesn't run! the green LED Just stays on. Boy I wish we lived closer lol
     
  10. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    Opps. My bad, the schematic has the right of it though. If I release this for publication it'll be fixed. I may go do it later tonight, but it has been an incredibly long day.
     
  11. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    Bill, Thanks I did the 2 boards but with the same results the protoboard in fig. 2 is doing exactly what my original proto board did as I stated in http://forum.allaboutcircuits.com/showpost.php?p=276823&postcount=1 Did you proto the test board and if so did you get good results? Thanks Bill sorry about your day and being such a pain!
     
  12. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    Good news and bad news. I just build it, didn't work for me either. I'll get back with you when I have it figured out, probably within a couple of hours.
     
  13. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    OK, I got it to work. I have to update the schematics and other drawings. I'll be back. :)
     
  14. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    [​IMG]

    OK, I had to reconfigure the SCR circuit a little, turns out the tap point was critical, and I increased the resistance to the primary gate of the SCR. It works. I also increased the loading, the piezo speaker was just too light a load for the alarm.

    You probably noticed I changed the caps from Radio Shacks stuff. The 0.1µF Radio Shack offers were just too big and clunky for my tastes.

    I combined the images, if you use Windows Picture and Fax Viewer it does a decent job of printing the above image out. Makes for easy construction.

    Parts List

    U1 - 555 IC
    Q1 - PNP 2N2907A
    Q2 - NPN 2N2222A
    D1 - Red LED
    D2 - Green LED
    R1 - 330Ω ¼W
    R2 - 240Ω ¼W
    R3,4,6 - 10KΩ ¼W
    R5 - 1KΩ ¼W
    Rt - User Selected
    C1,2,3 - 0.1µF
    Ct - User Selected
    S1,2 - Momentary Open Switch
    Sonalert
    9V Battery

    While S1 is shown as normally closed, it doesn't matter either way.

    I was tired that day about the NPN transistor, but it was right the first time I think.
     
    Last edited: Sep 19, 2010
    brozizds likes this.
  15. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    I've discussed it with several folks. While not my original goal, I'm going to turn this into one of my 555 articles. It is a pretty good demo of an SCR, and how the internal arrangement works. Thanks for the boost.
     
    brozizds likes this.
  16. Dcrunkilton

    E-book Co-ordinator

    Jul 31, 2004
    416
    11
    It looks like a good project to me. It has been thoroughly tested. You have the drawings. So, most of the work is done.
     
    brozizds likes this.
  17. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    Bill, I completed the protoboard as per schematic and applied 9V the red LED and Piezo buzzer went on when I hit the S1 the Green LED lit and timer ran its course then the red LED and Piezo went off Great ! Now for the questions lol. When I hit the stop S2 the piezo stops but red LED stays on . Did this happen with your proto and if so why? I was Hopping to have it go off with piezo. Also I noticed the Ct and Rt is user selected I'm thinkin to adjust the time , Correct? the higher ohm and higher uF the longer the time. OMG Bill the accuracy of time duration every time was perfect and now just the one thing that darn "RED LED" but now after workin with you on this project I'm beginning to see why you have that Quote but the author might be YOU ! LOL thanks for all your help and the added knowledge you have given me. JIM
    I do have another project in mind to tie into this one (a digital countdown timer) lol
    Ill probably start a new thread when I'm Ready . Get bact to me Please when you can! Thank you again and I use your quote alot at work!
     
  18. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    The red light is the default condition. A 555 is binary, a 1 or a 0, 1 is green, 0 is red. If you turn the red light off this is a three state condition.

    You could move the red LED in series with the SCR and R6, drop R6 to 330Ω to increase the LEDs brightness. I can show you on the schematic, but I'm hoping I'm done drawing the protoboard. R1 would stay however, it is used for more than the LED.

    *****

    Dang, just discovered a problem with my schematic. Guess I will redraw it a bit.
     
    Last edited: Sep 20, 2010
  19. brozizds

    Thread Starter Active Member

    Aug 15, 2010
    135
    0
    Bill, I did as you said to place the red LED in series with the SCR circuit and R6 , lowered the value to 330 ohm and it works exactly as I needed:DThanks so much for your help and understanding. I have changed the Ct to the 1000μF and raised the Ω value of Rt to reach the times I need and it works perfectly. Thanks Again :) Jim P.S. I am probably going to increase the size of the internal variable resistor for the longer times and the problem with the schematic wasn't a problem on your protoboard sketch . Correct? Thanks again its been fun:)
     
  20. Wendy

    Moderator

    Mar 24, 2008
    20,765
    2,536
    No problem, and glad to help. I'll be redrawing it a little and testing out your variation. I think I'll incorporate it in the article.
     
Loading...