Math of the Astable 555 Timer

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2016
  • How are the timing formulas derived and how do you work with them? We'll also look at an example using real values to find the components needed for a particular output frequency.
    Sign Up for the Newsletter: eepurl.com/GeL4z
    Facebook: skinnyrd
    Twitter: skinnyrad
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 74

  • @markmdn6307
    @markmdn6307 8 ปีที่แล้ว +5

    Jason, I've read just about every book from our public library on trying to understand the basic building block of IC's: the 555. I have also watched most of the 555 videos here on youtube, so I feel that I am fully qualified to say that you have the easiest to understand and most comprehensive, in-depth, excellently articulated explanation on the 555. Well done! Thank you for spending so much of your valuable time on creating Part I and Part II and also the Math Behind the 555. Bravo!!

  • @AmanAustralia
    @AmanAustralia 2 ปีที่แล้ว +1

    No words to say how awesome you explained…., great work. Keep it up bro

    • @Skinnyrd
      @Skinnyrd  2 ปีที่แล้ว

      Thanks for the encouraging words!

  • @gerrys6265
    @gerrys6265 3 ปีที่แล้ว

    Thank you! Except for the fact that you never said what 'e' was this was the best video tutorial I have seen. Clear, simple, sped up past the laborious parts, no crappy music etc. I appreciate the time you spent making/editing it too!

  • @dalenassar9152
    @dalenassar9152 11 หลายเดือนก่อน +1

    In engineering, they teach that if you wait five time constants (5RC) the capacitor is charged "all the way" or "it's safe now", etc. Something like you are saying at about timestamp 7:00
    I work with high-energy electronics, and had to learn for myself that this cam be an assumption that will KILL YOU!! I realize that this will not be usually encountered in 555 circuits, but be sure you are aware of this on large scales, such as the big "pulse" and "energy" caps. If you wait 5RC, then the cap is discharged down to 1-exp(-t/RC) or 1-e^(-5), which is over 99% discharged. Now consider the huge capacitors that so many people are using for such things as "wire exploding", "rail guns", "can-crushing", etc. I have seen some cap banks that are charged to energy levels like 75kJ. If such a bank is discharged 99.3% (5RC) it is left with an instantly lethal 525 Joules!!
    I believe that these things are the most dangerous electrical components!
    BTW: at about timestamp 4:00 I think there is a mistake in the datasheet in the last formula visible...isn't the duty cycle given by "D=(Ra+Rb)/(Ra+2Rb)"
    THANKS MUCH FOR THE VIDEO!

  • @gilbertvelez4756
    @gilbertvelez4756 7 ปีที่แล้ว +8

    I love your videos. The detailed information you provide and the format in which you provide is exceptional!

    • @Skinnyrd
      @Skinnyrd  7 ปีที่แล้ว +1

      Thanks!

  • @satrah101
    @satrah101 7 ปีที่แล้ว +4

    More maths stuff Please, buck, boost, op amps, inductors, circuits, mosfets ......... . I hope i can apply this to other areas and make it work. keep up the good work, very clear.

  • @revellights1000
    @revellights1000 6 ปีที่แล้ว

    You've produced a great series of videos explaining the 555 Timer, thanks. I realize it's been two years since you posted, but the videos are "timeless". You really have explained slowly, and with some great grocery bag illustrations (from Whole Paycheck), what the 555 does, how it works, and how to determine what (and size of) components needed. The one thing that slipped me up on the final calculation of R sub b resistor was the 820 picofarad capacitor. In my HP 12C (the best calculator every made!), I converted 820 pico farad to micro farads (1/1,000,000). I believe you may have done so in your TI equation, but was just difficult to see that. Or, maybe you converted to milli farads AND converted the frequency to Hz, I couldn't tell.

  • @theLuigiFan0007Productions
    @theLuigiFan0007Productions 8 ปีที่แล้ว

    Skinny R&D
    Thank you for this video.
    I have a much better understanding of how a 555 timer works now.
    Also learned the formulas for calculating the time to charge a capacitor.

    • @Skinnyrd
      @Skinnyrd  8 ปีที่แล้ว +1

      Great! Glad it was helpful.

  • @wasimmondal3860
    @wasimmondal3860 5 ปีที่แล้ว

    Awesome video
    Keep working good
    We are with you

  • @ketanrathod4945
    @ketanrathod4945 7 ปีที่แล้ว

    Thank you 😊
    for explaining every content. ..

  • @ansonleow2687
    @ansonleow2687 8 ปีที่แล้ว

    Thank you very much for these educating videos!!

  • @amirrahiminia2556
    @amirrahiminia2556 6 ปีที่แล้ว

    Skinny R&D! Thank you for sharing your experience. I have a unrelated question for the topic, and that is what is the best device to emit ultrasonic frequency in air? As I noticed Speakers are too slow to vibrate for the ultrasonic frequency range.

  • @salc9593
    @salc9593 8 ปีที่แล้ว

    Hi... Just came across your TH-cam videos... I really like your brown paper bag "Board" for displaying your information. I've viewed a couple of your older vid's and find them very informative as I am a bit Neophyte to electronics. I hope I will not become to much of a pest as I know I will be asking questions down the road :-D Thanks again for your informative and instruction videos... Keep up the great work.Sal.

  • @blakeb7046
    @blakeb7046 3 ปีที่แล้ว

    Thank you so much!!! This helped a bunch.

  • @unoriginalproductions2591
    @unoriginalproductions2591 3 ปีที่แล้ว

    Great videos on the 555! I'm a beginner when it comes to electronics, so these really helped me understand the logic behind how these work.
    There is a project that I've been messing around with where I have a signal pulse coming from an electric motor which pulses twice per rotation, so the frequency is variable and equal to two times the RPM of the motor. What I would like to do is use this signal to generate another pulse which is equal to three times the RPM of the motor.
    Do you think that there might be a simple way of accomplishing this (electronically), aside from using something like a microchip to be able to interpret the original pulse signal and calculate what the signal would be if multiplied by 1.5?
    Ideally, I would like to have every second pulse of the original signal synced to every third pulse of the generated signal.
    Edit: I may just end up creating a custom rotor with 3 magnets and a hall-effect sensor to get the specific pulse signal that I want instead of using the signal coming off the existing wire. I'd prefer not to add additional mass to the rotating component of the motor, but it's the easiest thing that I can think of for testing purposes.

  • @pabitlus
    @pabitlus 3 ปีที่แล้ว

    Really good explain!! Thank You

  • @fantozzi30
    @fantozzi30 5 ปีที่แล้ว

    Hi Jason. How can I control the duty cycle of the 555 timer in astable mode from max value, down to about 40 or 50% using LDR without significant change of the frequency? My goal is to control the brightness of big LED clock depending on the ambient light. So in the daylight it should be on full brightness and during night the brightness should be down to 40 or 50 %. My LDR values: light resistance about 1.4K, dark resistance is about 20K. By the way, subscribed and hit the bell as well.

  • @sumedhburbure4173
    @sumedhburbure4173 7 ปีที่แล้ว

    Thank you so much for the video!

  • @joshuacruz2865
    @joshuacruz2865 5 ปีที่แล้ว

    Where did you get that 1/5 for capacitor charging?

  • @robertturner2000
    @robertturner2000 7 ปีที่แล้ว

    I love your videos. I also initially used a 555 for a 40kHz Ultrasonic Transmitter. Although the 555 did the job admirably (after coming up with many non-standard resistor values until I got "close enough"). I eventually replaced the circuit with a 3.2mHz oscillator can through a toggling flip flop to get 1.6mHz and then divided that down to 40kHz. It didn't really perform much better than the 555 version, except for stability. :) I am subscribing.

    • @Skinnyrd
      @Skinnyrd  7 ปีที่แล้ว +1

      Thanks for the tip and the sub!

  • @cybervoid8442
    @cybervoid8442 7 ปีที่แล้ว

    awesome videos man.. keep em coming

    • @Skinnyrd
      @Skinnyrd  7 ปีที่แล้ว

      Thanks! I'll try.

  • @southernexposure123
    @southernexposure123 8 หลายเดือนก่อน

    Thank you. I'm surprised I understand the part of the video explaining the constants 0.693 and .05 is because of the 3V and 6 V concept.
    I'm really weak with algebraic manipulation. I have to use examples (like you showed) and then write simple spreadsheets to do my math.

  • @omnicrutch
    @omnicrutch 8 ปีที่แล้ว +1

    you should add a link at 11:14 to a separate video working out the equation long hand.

  • @jarret9438
    @jarret9438 4 ปีที่แล้ว

    what Happens if you change the 10nF cappacitor (between pin 5 and ground) to a different value? is there a formula?

  • @michaelbenard6758
    @michaelbenard6758 9 หลายเดือนก่อน

    Would you please explain in brief about pin 5 of the ne555 timer ic.

  • @OscarTard
    @OscarTard 3 ปีที่แล้ว

    Thank you so much!

  • @gkdresden
    @gkdresden ปีที่แล้ว

    The circuit and its math becomes easier if you control the astable multivibrator by a single resistor between the output pin 3 and the timing capacitor pin 6, leaving the discharge pin 7 unsused. In this way you also achieve 50% duty cycle.

  • @tupai62
    @tupai62 4 ปีที่แล้ว

    hi, how to calculate 555 timer blinking rate that just using one resistor Rb only?

  • @mattnelson4139
    @mattnelson4139 5 ปีที่แล้ว

    I've been watching and enjoying your 555 timer videos. Hope you're still checking the comments. I didn't see you address, or any comments about, making the output low time 3 times longer than the output high. Is this possible with a 555 timer or cascading 555 timers? For instance, say I want an LED to blink for .5s then turn off for 1.5s. The cascade example used Vhigh=Vlow. I tried running the numbers with Vhigh=3Vlow, but I ended up with negative values when I combined the equations from the datasheet.

    • @Skinnyrd
      @Skinnyrd  5 ปีที่แล้ว

      Add a resistor coming out of pin 7 and connecting between Ra and Rb. This should slow the discharge time enough to achieve what you want.

    • @mattnelson4139
      @mattnelson4139 5 ปีที่แล้ว

      Interesting. I'll give that a shot. Thanks!

  • @clarkdef
    @clarkdef 8 ปีที่แล้ว

    You got an excellent channel. Though I'm very bad with the math... How would I work out a 2hz freq for a bike flicker light? I roughly guessed out the math for 2hz using (1kohm+2x1kohm) x 0.000220 farad or 220uf cap but it was all guessing took hours lol.

    • @Skinnyrd
      @Skinnyrd  8 ปีที่แล้ว

      +clarkdef Thanks for watching! I would use: Ra = 1kΩ; Rb = 360kΩ; C = 1.0µF This should get you very close to 2Hz. You had your math correct, but you really want Ra to be much less than Rb. This will help ensure the light blinks on and off for an equal amount of time.

  • @Javier_Corado
    @Javier_Corado 6 ปีที่แล้ว +1

    Great video, but what about the duty cycle? How do i make a 50% duty cycle oscilator

    • @gkdresden
      @gkdresden ปีที่แล้ว

      Using this circuit it is impossible to achieve 50% duty cycle. But you can achieve it easily if you control the capacitor over a resistor which is connected between the 555 timer output pin 3 and the timing capacitor pin 6. Operating the astable vibrator in this way saves also one resistor (you need just one resistor and one capacitor). And also in the formula you don't have Ra anymore.

  • @SimpleAnalogy
    @SimpleAnalogy 8 ปีที่แล้ว

    yeah! great video as usual..... please cover all types of multi vibrator. please make that happen soon .
    thanks for helping !

    • @Skinnyrd
      @Skinnyrd  8 ปีที่แล้ว

      +ELECTRO BANGLA Thanks! If you have a particular project in mind, feel free to leave your ideas.

    • @SimpleAnalogy
      @SimpleAnalogy 8 ปีที่แล้ว

      +Skinny R&D make a single video on just practical circuit of Astable, Monostable & Bistable multi vibrators with 555 timer . i think u do not have to explain a lot for Monostable & Bistable coz i think after that u've already been explained Astable ,the other two types will be easier to understand .
      i am thinking of making a power supply(DC ) with a 555 timer which will multiply the voltage level and also provide negative voltage which will be converted from positive voltage source (DC).

  • @clarkdef
    @clarkdef 8 ปีที่แล้ว +1

    Oh another question, what is the value of the cap to ground from pin 5?

    • @SimpleAnalogy
      @SimpleAnalogy 8 ปีที่แล้ว +3

      +clarkdef its usually 0.01uf .its a bypass capacitor helps to prevent any noise problem .

    • @magejose1386
      @magejose1386 6 ปีที่แล้ว

      Hey ur videos are good ....does 555 timer have maximum frequency to produce....and can you help on designing a range of frequency?

    • @shutdahellup69420
      @shutdahellup69420 6 ปีที่แล้ว

      Mage Jose what fq?

  • @yizong7127
    @yizong7127 ปีที่แล้ว

    Thank you

  • @TnInventor
    @TnInventor 8 ปีที่แล้ว

    ultra sonic what? xD what's that thing you builded?? and can you explain more the frequency? lets say i want an led to ligth up for a secand and then be of for a secand does that makes my F=0.5hz?? (F=1/(1+1))

    • @Skinnyrd
      @Skinnyrd  8 ปีที่แล้ว

      +Make Electronics You are correct. The frequency you would be 0.5Hz.

    • @TnInventor
      @TnInventor 8 ปีที่แล้ว

      +Skinny R&D thanks :D i sended you a msg on your facebook page i hope you replay xD its by the name haytham ltifi

  • @techsinc
    @techsinc 5 ปีที่แล้ว

    Nice explanation and nice video. However, I think it's a bit of a belabored explanation. The 0.693 comes from the fact that the voltages swings from 3V to 6V for Vs = 9V, i.e. exactly a factor of 0.5 between 3V and 6V. This factor of 0.5 is constant regardless of Vs because the voltage swing is from 1/3 to 2/3 (i.e. exactly a factor of 0.5 = (1/3) / (2/3) ).

  • @AndrewCubacub
    @AndrewCubacub 7 ปีที่แล้ว +1

    Sir! Im Confused on the calculation. (1-e .693RC/RC) = (.0499926) How???

    • @Skinnyrd
      @Skinnyrd  7 ปีที่แล้ว

      The formula is (1-e^(-0.693RC/RC)). Both R and C cancel out and the resulting formual equals approximately 0.5.

    • @josephmarble2371
      @josephmarble2371 7 ปีที่แล้ว

      So what is e?

    • @josephmarble2371
      @josephmarble2371 7 ปีที่แล้ว +2

      Ah sooooo, I'm guessing its Euler's number, correct? Thank God, for Google search.

    • @Skinnyrd
      @Skinnyrd  7 ปีที่แล้ว +2

      Google, the fountain of all knowledge.

    • @logandihel
      @logandihel 7 ปีที่แล้ว

      0.693 is really just ln(2). Remember that the ln and e wipe each other out. Since e^-0.693 = 1/e^0.693 = 1/e^ln(2) = 1/2 = 0.5, Our formula becomes Vs * (1-0.5) = 6 * 0.5 = the 3 volts

  • @queenqueen7142
    @queenqueen7142 3 ปีที่แล้ว

    Thank you so much we wanaa more tutorial

  • @queenqueen7142
    @queenqueen7142 3 ปีที่แล้ว

    i wanaa explain shift register can you please

  • @aniqurrahman3853
    @aniqurrahman3853 7 ปีที่แล้ว

    great video! (:

  • @magna59
    @magna59 8 ปีที่แล้ว

    Ps .......... great work .......... of course , the other question is , how accurate is the 9V , as i ' m sure that has a coach & horse of " exactly " , running through it ' s garden . And in reality , is this not the problem ? We a sold a digital pup on the horns of an analogue dilemma .......... Ok , this may be a better solution of an analogue only dilemma .......... but it ' s still a dilemma .

  • @magna59
    @magna59 8 ปีที่แล้ว

    0 . 39 "..........hit 40 KHz exactly ............. " how exactly ? +/- 0.5 % ? +/- 5 % ? ............. how exactly is exactly . A gold band or a silver ?

    • @roberteliassen5020
      @roberteliassen5020 7 ปีที่แล้ว

      It's probably impossible to answer. Two wires could have inductance and/or capacitance (more likely both). That is, the PCB itself, wires on the resistors etc. When we mix inductance in the circuit, the math gets pretty ugly.

    • @magna59
      @magna59 7 ปีที่แล้ว

      This is the thing i like about engineering ........ there is the theory & maths & then the reality ......... it ' s amazing anything works at all !
      It ' s the sort of reasons the Russian built rocket engines in the 60's that the Americans are using now .......... but then,this is the nation that also built nuclear "jet" & kept the crews safe,but rotating them of the craft before they glowed too much !

  • @FutureAIDev2015
    @FutureAIDev2015 8 ปีที่แล้ว

    What happens if you short R(a)?

    • @Skinnyrd
      @Skinnyrd  8 ปีที่แล้ว

      +Matthew Ferrie If you short R(a), there will come a time during the cycle when the voltage source will be directly shorted to ground through the 555 timer. This state is highly undesirable.

    • @FutureAIDev2015
      @FutureAIDev2015 8 ปีที่แล้ว

      +Skinny R&D So it'd likely burn out?

    • @Skinnyrd
      @Skinnyrd  8 ปีที่แล้ว

      +Matthew Ferrie Yeah or your battery will not last very long.

  • @Drexbow
    @Drexbow 6 ปีที่แล้ว

    why did you use formula instead of numbers its very confusing but whatever

    • @MeistroJB
      @MeistroJB 6 ปีที่แล้ว

      d: great question. this can be seriously confusion. here's the disambiguation:
      Formulas are algebra-style generic representations of how and where to plug in the actual numbers for your specific situation. The letters are "variables" until they get fixed up with their specific numbers. Then they are "fixed variables". Numbers already appearing in these equations are called "constants.'
      It's a serious issue in education that teachers and professors usually don't bother to explain this. The purpose of algebra, by the way, is to figure out what "x" is.

    • @MeistroJB
      @MeistroJB 6 ปีที่แล้ว +1

      ... that's not to say that this 555 math is really that understandable. What I have a chance of understanding is the "plug-and-chug" part, that is, put the numbers in and get the answer. The underlying physics and engineering is something else (requiring years, or in my case more like decades, of study).