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 4524 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

    Mr. John,

    Thank you you for the video. I have tried the same on my Arduino Uno. I guess I should go into more detail as to why I am trying to achieve this effect and on what platform. During my time in the military we used IR strobes in order to ID one another on the ground at night. Through night vision goggles these things are super bright. I actually still have two of them hidden somewhere in my house. One has two probes sticking out that you make contact with them with something conductive to program different flashes The other more simple is set on a fixed time. I can't find them. Here is a link to the exact strobes among others that we used.

    https://www.cejayengineering.com/Buy-Online/IR-Strobes-Beacons/902111IR.html

    I Wanted to try and recreate the circuit in order to use different color LEDs and to learn more about the 555. Every circuit I come up with looks more like a dim light blinking instead of the bright strobe effect that these small strobes produce. I tried to find the ones that I have in order to see what was inside but have had no luck finding them. I looked at there website to see the data sheet and all it really gives is the timing of it. So that's why I have been shooting for that particular timing. If I can figure it out i want to get a bunch of boards printed so that I can make different colors and give them to all the kids in my family. Just something neat to play with and drive there parents crazy. Plus I have a bit of kid left in me as well. I just wanted to see how hard/easy cheap or expensive that I could build them for really.

    • 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, Thanks for the insight into your project. This is off subject but Robert Peter Oakes showed me a while ago that one can see the infrared LEDs using a camera on a cell phone or other camera. Try it with your TV remote control. I will let you know if I can come up with any other simple circuits.

    John

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

    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 helped.

     

    The timing method you illustrate here will only work in environments that are bare-metal, no interrupts or thread-locked.  Here are some early efforts to decouple timing from the cpu:

     

    http://www.z80.info/zip/z80ctc.pdf

     

    http://liris.cnrs.fr/~mmrissa/lib/exe/fetch.php?media=mc6840.pdf

     

    'course this stuff is integrated into the modern controller.  MSP430 has a good price-point and is replete with timing hardware.

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

    Hi Don, The Packers and all my fellow cheese heads thank you for your support. I haven't seen much mention of the Z-80 since I sold and serviced Radio Shack TRS-80 computers back in the 80s. Also thank you for not mentioning my blunder in writing uS when I meant mS in my post. Yes the circuit I put together is not good for much else than just blinking the LEDs.

    John

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

    Hi Rob,

     

    I don't know if you keep on wanting to try it with 555.

    If yes, try this sch.

    image

     

    See some rude calculations:

    image

    image

     

    But I am not sure if it is posible for the human eye seeing so short pulse, try it.

     

    Also take into account that timing may vary depending on the resistors and capacitor tolerance, if you are looking for accuracy just use microcontrollers as our colleagues suggest.

     

    Hope that helps,

    Miguel

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

    Hi Gihu,

    For the fun I bread boarded your circuit and it seems to work just as you predicted. I couldn't quite get to the 18 meg value of Ra so it was flashing a little more often than 1.3 seconds. I ran the Vcc at 9 volts and used an NTE 29 equivalent for the output transistor. The duration of the pulse is not a problem for the human eye which can detect even one photon under proper circumstances. The problem is as soon as the pulse gets shorter than about 70 mS the eye continues to interpret the pulse as being 70 mS. This is because of the residual image effect of the photoreceptors in the eye. Here is a photo of my circuit.

    Rob should be able to use your design to do what he wants and the values that you have calculated are very close. I did not put the scope on them but from what I gather he may not be that critical for his application.

    John

     

    image

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

    Cool!!

    John, thanks for checking it!!  image

    • 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