element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Flashing LED with 555 timer
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 17 replies
  • Answers 2 answers
  • Subscribers 289 subscribers
  • Views 4522 views
  • Users 0 members are here
  • power_management
Related

Flashing LED with 555 timer

Former Member
Former Member over 10 years ago

Hello all,

 

I am trying to create a flashing 3 LED circuit with a 9v battery. I want a specific flash time of 20ms and a duty cycle of 1.3 seconds. My question is what size should R1, R2, and C1 be in order to achieve that timing. I found the equations for figuring it out, I was hoping maybe someone would rather take the challenge of giving me the answer instead of me going back to school to relearn algebra. Any help is very much appreciated.

 

Thanks.

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 10 years ago +1 suggested
    Hi Rob, Without a schematic to reference no one will be able to figure those values for you. Just in case you are looking for a good 555 reference here is an online book one of the guys showed me a while…
  • jw0752
    jw0752 over 10 years ago in reply to Former Member +1
    Hi Rob, paulellison is correct that what you want to do might be easier to accomplish with a microprocessor. Also for the 5 volt power you are showing on your schematic you will probably not be able to…
  • D_Hersey
    D_Hersey over 10 years ago +1
    Hi John, I'll have you know that on the morning of the Packer's victory over the Cowboys, I had Kielbasa con chilaquiles for breakfast in support of their effort. They were tasty, I admit. I'm sure it…
  • Former Member
    0 Former Member over 10 years ago

    I guess I meant to say a Time High of 20ms.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago

    Hi Rob, Without a schematic to reference no one will be able to figure those values for you. Just in case you are looking for a good 555 reference here is an online book one of the guys showed me a while back.

     

    http://www.talkingelectronics.com/projects/50%20-%20555%20Circuits/50%20-%20555%20Circuits.html#9A

     

    You can vary the percentage of on to off time with this circuit. You will have to experiment to get it to the frequency where you want it.

    John 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to jw0752

    I agree with jw0752.

     

    We would really need to see your proposed circuit.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to jw0752

    image

    Thank you for the quick reply Mr. John and Mr. Paul.

     

    Here is the circuit that I came up with. I am shooting for a 20ms time high with a 1.3 Second cycle time. I found an online calculator at 555 Astable Circuit Calculator

    but its very confusing to me at this point. When I change one value it seems to change others throwing me way off. I can't keep up with it. If any of you gentlemen have a better suggestion for me on this circuit I'm listening. Also thanks for the link Mr. John that will be very helpful in my future projects. Also a quick correction. It will be powered with a 9v Battery, not 5 volts as pictured above.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to Former Member

    Hi Rob.

     

    Thanks for your diagram.

     

    I have also visited the page you referenced. The calculator (annoyingly) works based on submitted component values rather than timings, the reverse to what you really need. An interesting point I did take from this page is as follows:

    In this type of circuit, the duty cycle can never be 50% or lower.

     

    The following page goes on to say: http://www.daycounter.com/Calculators/NE555-Calculator.phtml

    Note that the minimum duty cycle is 50 percent, so if you need a smaller duty cycle you need to use an inverter on the output. 

    I don't really have much 555 Timer experience, but from what i have read, this would seem to apply to you.

     

    At this point I would probably put an extra 30p into the project and use an AtTiny85 instead. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to gadget.iom

    Something like this should handle your output inversion.

    74AHC1G04GW,125 - NXP - INVERTER GATE, SINGLE, TSSOP-5 | Farnell element14

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to Former Member

    Hi Rob,

    paulellison is correct that what you want to do might be easier to accomplish with a microprocessor. Also for the 5 volt power you are showing on your schematic you will probably not be able to drive 3 LEDs in series. Most LEDs have junction voltages that are high enough so three in a series would be at or higher than 5 volts. The duty cycle you are trying to achieve is 2% at a frequency of approximately 0.77 Hz. The best that the circuit that I posted before can do is 5%. You can drive three LEDs by using a higher supply voltage. I believe that the 555 for example will work with up to 18 volts on some varieties.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 10 years ago

    You could get half of this to chase the tail of the other, but you would need to provide for a chain-initiating step:

     

    https://www.fairchildsemi.com/datasheets/MM/MM74C221.pdf

     

    You could use a counter and a magnitude detector (equality gate) to generate your desired waveform.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Wow! Thank you gentlemen very much for taking the time to throw me those tips. Sometime tomorrow I will work some breadboard magic and let you all know what I came up with. All of the links were very helpful in helping me get a better grasp on exactly what I'm trying to do.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago

    Hi Rob, Just for the fun of it I mocked up your idea using an Arduino Duemilanove. I will attach a video but keep in mind that my camera has a slow scan rate and as such it misses the 20 uS flash occasionally. In real life the 3 LEDs flash for 20 uS and then are off for 1.3 seconds before they flash again. The camera misses every third of fourth flash. I have taken the simplest of Arduino sketches called "Blink" and modified it to your specifications of 20 uS on and 1.3 Seconds off. The Arduino outputs this signal on pin 12 in this case and I am using the signal to trigger an NTD4906 gate level N channel MOSFET. I am supplying 9 volts to the LEDs and the FET so there is enough voltage to drive them in series and there is also a 220 ohm current limiting resistor in series. I do not know the intention of your project whether you need this effect or if you are just trying to learn about the 555.

     

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube