[SOLVED] 555 Flashing LED - Help Needed

Status
Not open for further replies.
Re: Calculating Frequency Of Blinking LED


Have you ever tried to look into something called as "Data Sheet" of 555
 

Download the datasheet for the 555 if you don't already have it. It explains the working principles and formulas for calculating frequencies and time constants. For example, go to https://www.datasheetarchive.com and search for LM555.

Put in some effort to understand what the datasheet says. Then, if there's something you cannot understand, ask here.
 
Reactions: Gr3x

    Gr3x

    Points: 2
    Helpful Answer Positive Rating
Ok so I understand how to adjust the frequency of my LED and to calculate the duty cycle with a few easy calculations to find the necessary caps / resistors. Heres what I'm wondering:

With a 555, am I able to adjust the frequency and duty cycle (sorry if wording isn't ideal please bear with me) to a point where the LED can turn on and off at different frequencies? For example could I make the LED turn on for 15 seconds, then turn off for 30 seconds, then on again? I'm having trouble fully grasping the theory behind PWM and the limitations of the 555 timer.

Heres a link to the datasheet I found:

https://pdf1.alldatasheet.com/datasheet-pdf/view/23385/STMICROELECTRONICS/NE555N.html
 

Reactions: Gr3x

    Gr3x

    Points: 2
    Helpful Answer Positive Rating
With a 555, am I able to adjust the frequency and duty cycle .....
Yes. Here's the circuit you started with, except I've added another LED and resistor.

For D1, time on / time off = (R1 + R2) / R2, so time on is always greater than time off. However D2 will be on when D1 is off and vice versa. You can use D1 or D2 or both.

There's another way to adjust the duty cycle too. Pin 5 normally sits at about 2/3 of the supply voltage, but by changing the voltage on pin 5 you can increase or decrease the duty cycle.

As an experiment, if you have a potentiometer, connect the two ends to battery positive and negative, and connect the center pin (the wiper) to pin 5. That should allow you to adjust the duty cycle over quite a wide range (and change the frequency too as a side effect). A pot of about 10K would be ideal, but other values will work too.

 
Reactions: Gr3x

    Gr3x

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…