How to make a Sine Wave Generator

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 160

  • @dishantkashyaprock
    @dishantkashyaprock 7 лет назад +90

    Its sad, you have done so much hard work for your channel but didn't got much appreciations for your work, i am just random guy for you giving you a message that NEVER GIVE UP :)

    • @rursus8354
      @rursus8354 6 лет назад +6

      That's a matter of time, before the word spreads. Combining theory with practice is IMHO the best way to teach. I will recommend this channel to my pupils this fall.

    • @utkf16
      @utkf16 4 года назад +3

      Now fast forward and its 2020, Paul's still going strong and growing his base of subscribers. This is a great channel to learn electronics from

  • @chrishoefer8987
    @chrishoefer8987 5 лет назад +9

    when everything else seems to fail at making clear and concise sense I end coming back to this channel again and again! Thank you for making these videos!

  • @nathanas64
    @nathanas64 4 года назад +10

    I definitely appreciate these videos. Electronics is a hobby of mine and it’s easy to get lost in a sea of information. But these videos are clear and explain very well. I’ve learned a lot !

  • @lanchanoinguyen2914
    @lanchanoinguyen2914 4 года назад +3

    most beautiful sine wave could ever be made.

  • @nedstar7378
    @nedstar7378 3 года назад +1

    It works exactly as you show in the video, I build it and get exact the same results. Thanks for sharing.

  • @NellySandoval10
    @NellySandoval10 2 месяца назад

    Thank you so much your videos are so much more simple and intuitive.

  • @jayjoseph3104
    @jayjoseph3104 Год назад

    VERY USEFUL VIDEO TO UNDERSTANDING ELECTRONICS. KEEP UP THE GOOD WORK.

  • @MrChasekennedy
    @MrChasekennedy 4 года назад +1

    nice video man. This is one i never played with. it is fun to find cool circuits and you sir are always bringing the gold.

  • @firetip198
    @firetip198 3 года назад

    The Fisher Gold Bug 2 metal detector operates at 71kHz and is powered by two 9 volt batteries. So i'm thinking maybe you just invented the oscillator for the Gold Bug 2 metal dector! It uses a crystal in the circuit, so maybe we have to add a crystal to stablize the output. The Fisher GB2 has a worldwide cult following because of its ability to find very small pieces of gold in dry creek beds. The fake Gold Bug 2 from china has a PIC16F886 microcontroller for the oscillator. Thank-you for this great tutorial!

  • @Stivent-S.
    @Stivent-S. 5 лет назад

    Thanks, it was very helpful your explanation above how is the circuits connected.

  • @akobenadinkrahene2153
    @akobenadinkrahene2153 5 лет назад +1

    Great looking in my bag of salvage I found two NEC C4570C the datasheet says it's a "dual ultra-low-noise, wideband, op-amp" so now I'm on a hunt for the rest of what I need to build this. However, the old lady still says I'm a pack rat! I don't care I might have save as much as 11 cents on this one. The hunt continues :o)

  • @ainstaink8312
    @ainstaink8312 4 года назад +8

    Just a small correction..when you say 121 pF, you mean actually 120pF. The capacitors labeled 121 means kindda just like resistors, the first two digits are significant numbers and the third one is the number of zeros, so 121 would be 12 and add 1 zero in other words, 120pF. When you say "tune-in", do you mean changing the value of the trim pot?

    • @AndersNielsenAA
      @AndersNielsenAA 4 года назад +1

      Exactly this! I hate to admit a detail like that was frustrating me so much :)
      1pF difference is less than the error..

    • @peatmoss4415
      @peatmoss4415 Год назад

      He meant the number on the capacitor says 121. People that aren't obnoxiously anal knows what he meant.

    • @peatmoss4415
      @peatmoss4415 Год назад

      @@AndersNielsenAA He meant the number on the capacitor says 121. People that aren't obnoxiously anal knows what he meant.

  • @vivekvenkatsubramaniam437
    @vivekvenkatsubramaniam437 7 лет назад +5

    This is a really great video. Very helpful. Keep up the good work, man.

  • @ایدینیزدانپناه-ل2ض

    درود💝💝💝💝🌹🌹🌹🌹🌹🌹😚😚😚بهترین معلم،،،good teacher you 😍

  • @lmmartinez97
    @lmmartinez97 6 лет назад +15

    the clipping might be due to two factors: the slew-rate of the 741 is complete and utter garbage and makes it nearly unusable beyond 50kHz -although you start seeing weird stuf at the 15kHz mark-, and you might have a couple milivolts of positive offset, which you can actually fix by using the offset inputs of the package.

  • @graphene1487
    @graphene1487 5 лет назад

    this is true gold! Thank you for the knowledge. Cheers!

  • @maarkaus48
    @maarkaus48 7 лет назад

    another fine vid. This is the sort of video I would like to make myself. good job

  • @benshapiro2wt298
    @benshapiro2wt298 6 лет назад +1

    Awesome! I’m wanting to build an analog synth module to generate a saw, sine, square, and triangle wave and output it to a DAC where I can record it in my Daw

  • @chinmoy1955
    @chinmoy1955 3 года назад

    What exactly do you mean by "detune" at 9:05? Are you detuning the frequency deciding components or are you adjusting the negative feedback with the preset (which you are calling a potentiometer)?

  • @theflamethrower867
    @theflamethrower867 5 лет назад +1

    I reckon you need to spend more time on the creation of one great video instead of 3 decent ones. That’s what makes your videos worth more than most.

  •  7 лет назад +1

    Nice video and also good explanation! Thank you!

  • @neilgroves534
    @neilgroves534 Месяц назад

    Great video Paul, can i do the same circuit but with a single ended power supply op amp like a LM358?

  • @BryanDenham
    @BryanDenham 3 года назад

    i enjoy your videos thank you for the help.

  • @robertwebb5586
    @robertwebb5586 Год назад

    Can you get that frequency up to 455kc? if so it'll work for tuning AM IF circuits.

  • @melplishka5978
    @melplishka5978 3 года назад

    Again well done great vid.

  • @davidh1187
    @davidh1187 Год назад +2

    Yeah I can't get how f=1/(2*pi*RC) works here. Doesn't work with your f, R and C values and doesn't work with mine either.... With 120pf and 10K I get 131kHz not the 85kHz you got on the oscilloscope. Frequency varies with the gain (the ratio of the 100k and 50k pot value).

  • @jeanpierredaviau7478
    @jeanpierredaviau7478 5 лет назад +1

    WHere does the bulb would go?

  • @anubisngt2825
    @anubisngt2825 Год назад

    my output is a flatline slightly up to zero something volts. any suggestion why this happens?

  • @mo-jd4bo
    @mo-jd4bo 3 года назад

    its bad that we can only give one like for each video iwanna give 1000000000000000!!!!!!!

  • @Johny666EU
    @Johny666EU 2 года назад

    nice one. i need something like dual sine wave generator , 1- 400hz, 2-10khz with amplitude no more then 1v. generaly i need it for cassette tape bias calibration. is there any solution for it?

  • @johnsmith-lb4mo
    @johnsmith-lb4mo 2 года назад +1

    Can this circuit be converted to a variable frequency one that covers the audio range?

  • @GryffieTube
    @GryffieTube Год назад

    Thank you for posting the video, it has helped me a lot! I am still learning so apologies if this is a stupid question but pin 4 of the amp goes to negative of the one 9V cell and pin 7 goes to positive of the other 9V cell, both cells are connected in serie SO does that not mean you have 18V (as opposed to 9v) powering the amp? EDIT: Nvm, it's plus and minus 9V which gives 18V, is that right?

  • @fredlllll
    @fredlllll 7 лет назад +12

    oscillating circuits are witchcraft to me. i should maybe spend some time learning more about that stuff

    • @learnelectronics
      @learnelectronics  7 лет назад +4

      fredlllll kinda like that web stuff for me. we can all learn from each other.

    • @fredlllll
      @fredlllll 7 лет назад +1

      just that there is more info on webstuff online than there is on electronics :P at least feels like it

  • @bluekindasustho3370
    @bluekindasustho3370 3 года назад +1

    I just subscribed and I Will certainly try this out but one question I have is:
    is this less efficient or as efficient as other pure sine Wave pwm circuits( egsoo2 ) pls reply

  • @corollagl82
    @corollagl82 2 года назад

    Nice video, how to make iit handle a high load and how ro make the wave to 60 hz?

  • @itrstt66
    @itrstt66 2 года назад

    is it possible to make a vfo with a transistor?

  • @BryanDenham
    @BryanDenham 3 года назад

    @anyone that knows , im wanting to make a simple sine wave Generator but i dont have this 741 opamp, will i need to buy this exact chip or can i sub the 741 for any other Opamp ? i have a few just not that one.

  • @keithking1985
    @keithking1985 4 года назад

    how did the tungsten bulb work as gain control???

  • @Dc_tech386
    @Dc_tech386 Год назад

    Can this sine wave drive mosfets

  • @johnsmith-lb4mo
    @johnsmith-lb4mo Год назад

    What frequency does this circuit work at?

  • @nordenconrad14yearsago45
    @nordenconrad14yearsago45 3 года назад

    Is it possible to make a 21Mhz pure sine wave circuit?

  • @Электроника1234
    @Электроника1234 3 года назад

    good tutorial

  • @gillesfrancois5277
    @gillesfrancois5277 4 года назад +1

    Thank you! Can i use this schematic for audio oscillator (for synthesizer)?

  • @iftikharbutt3897
    @iftikharbutt3897 Год назад

    What is ic bomber ?

  • @dailyscienceexperimentsand2761

    Can i use this circuit as VCO?

  • @kitjamieson9762
    @kitjamieson9762 5 лет назад

    Would it be possible to generate an AC sinewave output of 40.6 Hz of good quality that can then be passed through an amplifier to achieve 200ohms ready to go to speakers?

  • @elchavodelocio
    @elchavodelocio 3 года назад

    It could be used as a sound generator?

  • @RandomlySelectedUserName
    @RandomlySelectedUserName 2 года назад

    Can i use OP-Amp other than 741 ? For example LM386 or TDA2866

  • @arunms8696
    @arunms8696 Год назад

    Thank you ❤

  • @acestudioscouk-Ace-G0ACE
    @acestudioscouk-Ace-G0ACE 4 года назад

    Good stuff, thanks.

  • @rizwanshahzad6943
    @rizwanshahzad6943 5 лет назад +1

    How to adjust its frequency 0-50 HZ??any body can explain which values need to be change?

    • @50Hz
      @50Hz 3 года назад

      Did you work it out?

  • @KingDNsiah
    @KingDNsiah 5 лет назад

    please what is the blue component.?

  • @wishicouldarduino8880
    @wishicouldarduino8880 3 года назад

    Will the UA741/50 work for this thanks for any help.cool video.😁👍

  • @dalenassar9152
    @dalenassar9152 Год назад

    GREAT VIDEO!! It was really satisfying to see a sine from such a simple circuit.
    Do you know of any simple circuit that can generate a "variable" freq. sine that oscillates around 60Hz to 250Hz (low freq) while holding the amplitude constant?
    THANKS MUCH!!!!

  • @martinlucero9594
    @martinlucero9594 7 лет назад +2

    why and what is determining 75hz as a lower frequency output? i would like to use this circuit as the time base of a power inverter to transform 12v DC on a 220v AC... becouse I see a lot ot circuit that have as an output signal 50hz MODIFICATED SINE SIGNAL.... AND I WONDER IF I CAN REPLACE ORIGINAL TIME BASE CIRCUIT OF MY SCHEMATIC FOR YOUR EXCELENT SINE WAVE SIGNAL....do you understand what I mean?

    • @learnelectronics
      @learnelectronics  7 лет назад +1

      Martin Lucero The RC circuit determines the frequency.

  • @ironpark4042
    @ironpark4042 4 года назад

    nice work

  • @Constitutionallycorrect
    @Constitutionallycorrect 3 года назад

    how do you get a 60 hz output?

  • @rimmersbryggeri
    @rimmersbryggeri 6 лет назад +1

    Can you change the frequency by vhangin component values? It would be a perfect circuit for a project of mine if you could.

  • @MarioMonte13
    @MarioMonte13 2 года назад

    So I had this working, and I have the waveform saved on my oscilloscope to prove it, but after switching out the capacitors to try getting a different frequency, it flatlined. I switched back to the old capacitors and it's still flatlined. Switched the op amp for a new one and still nothing. Same with the batteries. If anyone here can give a suggestion, it would be much appreciated.

  • @Alberto-sv1ou
    @Alberto-sv1ou 3 года назад

    Great stuff, remember tho that putting resistors directly into op amp pins causes noise, it is best to put them in an isolated channel with dupont wires and then connect the wires to the pins of the op amp

  • @mohsentarashi
    @mohsentarashi 9 месяцев назад

    Very good, Great🫡💯

  • @dantosrock43
    @dantosrock43 7 лет назад +1

    thanks for the explanation sir.can i use this circuit for the inverter generator sine wave?

    • @learnelectronics
      @learnelectronics  7 лет назад

      As long as the current and voltage do not exceed the ratings of the components.

  • @KingDNsiah
    @KingDNsiah 5 лет назад

    Please what is this circuit design for?

  • @andrewel5383
    @andrewel5383 7 лет назад

    would this be a pure sine wave? oh and can you posssibly make a video on how to inverter the signal that way i can connect two signal sources of teh same frequency except out of phase by 180 that way they ahniliate each other

  • @bandoflozers
    @bandoflozers 6 лет назад

    A question I have had for a while, how and where do you ground to get a reference voltage of zero? Whenever I hook up to a power supply I don’t know where to ground

    • @tookitogo
      @tookitogo 6 лет назад

      bandoflozers Voltage is always relative - it’s the *difference* between the potential of two points in a circuit. So “zero volts” simply means they’re at the same potential. So - and I know this probably doesn’t exactly answer your question - you can set your zero reference kinda wherever you want. In modern DC circuits, we use a “negative ground”, i.e. the negative of the power supply is the ground. But in op-amp circuits, you often need a bipolar power supply (like here, +9V and -9V. Ground is 0V.). Let’s assume we’re using two 9V batteries. For the positive supply, the positive terminal of the battery is the +9V, and the negative terminal goes to ground. The second battery for the negative supply has its positive terminal at ground, and its negative terminal becomes the -9V. And yes, if you measure between the +9 and -9V, your meter will show 18V difference.

  • @georgechambers3197
    @georgechambers3197 7 лет назад

    I wouldn't tell! Great video as usual. But how about more basics?

    • @learnelectronics
      @learnelectronics  7 лет назад +2

      George Chambers give me some suggestions of what you'd like to see

  • @guntherschadow9383
    @guntherschadow9383 4 года назад

    So there is no way of easily changing the frequency, is there?

  • @Kennynva
    @Kennynva 7 лет назад

    How do you do that power supply?? thanks very good video

  • @johnrobinson4445
    @johnrobinson4445 6 лет назад

    Have you got your rails labeled backwards and a pot where a 47k is specified?

  • @anzilasheikh3622
    @anzilasheikh3622 5 лет назад

    Sir will it possible to generate a sine wave minimum frequency upto 20Hz and maximum dont matter??

  • @arm2644
    @arm2644 6 лет назад

    Hello. Very nice video. I need to create a 2KHz oscilator to make sound a Toyota lock/unlock buzzer. I have tried a 555 but it is a bit unstable specially with temperature. Do you have a recommendation on how to crate a cheap 2KHz oscilator? Somebody recommended MCU programing.

    • @learnelectronics
      @learnelectronics  6 лет назад

      Oscillators: ruclips.net/p/PLGhvWnPsCr5_buJHaCe7op1d890rBOo3v

  • @marcotinari2017
    @marcotinari2017 7 лет назад

    Great! Thank you

  • @abdelhassibdad3413
    @abdelhassibdad3413 5 лет назад

    thanks for sharing

  • @shadowigor1535
    @shadowigor1535 3 года назад

    Hi, how much power does it generate ?🧐🤨😁

  • @diegoibarrabasurto9424
    @diegoibarrabasurto9424 6 лет назад

    How can i change the frecuency? I want to use it as a synth oscillator

  • @professorposh4146
    @professorposh4146 5 лет назад

    Using your values, I calculated the frequency to be 131k and not what is shown on your oscilloscope... I need an explanation please

    • @erin19030
      @erin19030 4 года назад +1

      Check your math Einstein

  • @manofmesopotamia7602
    @manofmesopotamia7602 6 лет назад

    is this circuit applicable for all types of operational amplifiers? thank you

  • @jeanpierredaviau7478
    @jeanpierredaviau7478 5 лет назад

    Nothing is connected to the middle ground? (with 9 v batteries)

  • @fusion-ux1zz
    @fusion-ux1zz 2 года назад

    i know old video but at 1:46 its 10k resistor not capacitor , by mistake u said capacitor, am in no position to correct you

  • @PaulodeSouzaLima
    @PaulodeSouzaLima 5 лет назад

    Hello. Nice video, but you just described the components and showed the formula to calculate the frequency. You could put a little focus on how the circuit works too. Thanks.

    • @PaulaBean
      @PaulaBean Год назад +1

      And then, 1/(6.28*120e-12*10000) = 133kHz, not 85kHz.

  • @stzeybek
    @stzeybek 6 лет назад +1

    How I measure 50 100 khz sine wave with arduino.

  • @austingeorgenson3283
    @austingeorgenson3283 2 года назад

    Using the equation for frequency = 1/(2*pi*C*R) how does he get 85 kHz on the scope? I did the calculation and get 131.5 kHz

    • @PaulaBean
      @PaulaBean Год назад

      Same here. 1/(6.28*120e-12*10000) = 132696

  • @sripranav
    @sripranav 6 лет назад

    Can we use it to trasform DC to AC inverter?

    • @learnelectronics
      @learnelectronics  6 лет назад

      No

    • @sripranav
      @sripranav 6 лет назад

      learnelectronics why can't? Can u make a circuit to generate sinewaves to transform DC to AC

  • @umnikos
    @umnikos 4 года назад

    How did you calculate the 100k/47k resistor ratio?

    • @ahmedbenamor4849
      @ahmedbenamor4849 4 года назад +1

      it is because the gain of the op amp must be at 3 , and since it is formula is 1+R3/R4 then those two resistors ratio value must be 2

    • @umnikos
      @umnikos 4 года назад +1

      @@ahmedbenamor4849 Okay, but why does the op amp gain need to be 3?

    • @ahmedbenamor4849
      @ahmedbenamor4849 4 года назад +2

      @@umnikos because the oscillation is attenuated by 1/3 in the double rc stages, so the whole loop gain of the circuit is AxB=3x(1/3)=1

    • @umnikos
      @umnikos 4 года назад +1

      @@ahmedbenamor4849 I see, 2/3 of the voltage fall on the high pass filter and 1/3 of the voltage falls on the low pass filter, so the input to the op amp is 1/3 of its output. I assume it's 47k instead of 50k to make the gain a little bit above 3 to account for losses but not way above 3 to avoid clipping the top and bottom of the wave. Thanks!

  • @senaesme8767
    @senaesme8767 6 лет назад

    I have used this oscillator but I cannot obtained sine wave like yours. You have very pure sine I need 3khz but not stabile when I touched the resistor it directly goes to zero :( what could be wrong?

    • @learnelectronics
      @learnelectronics  6 лет назад

      Add a buffer and you should be good. It will isolate your output from the oscillator.

    • @senaesme8767
      @senaesme8767 6 лет назад

      I cannot understand in which part I should add buffer? after output? how could it stabilize the output of the wien?

    • @learnelectronics
      @learnelectronics  6 лет назад

      Yes after the output. Check my opamp playlist for buffer explanation.

    • @senaesme8767
      @senaesme8767 6 лет назад

      Thank you, I will try :)

    • @senaesme8767
      @senaesme8767 6 лет назад

      I have used buffer and now they are pure thank you :) but I have another problem maybe you can help me, I know it is very difficult without seeing circuits but maybe you can. I have transmitted it through speaker to microphone. at the output of my microphone preamplifier circuit they looks like a square wave having distortion around their peaks what can be problem?is the problem in the speaker or microphone circuit?

  • @vishwanathm6620
    @vishwanathm6620 6 лет назад

    how can i design this circuit for 50hz ......plz reply

  • @rumidas4309
    @rumidas4309 6 лет назад

    it is very easy

  • @keesgelder8133
    @keesgelder8133 5 лет назад +3

    121 picofarad?, i guess you mean 120 pf 121 =1 2 and 1 zero=120pf

    • @BYMYSYD
      @BYMYSYD 5 лет назад +1

      I'm surprised not to many people caught that.

  • @mrengtop
    @mrengtop 10 месяцев назад

    Appreciate your work but you not showing how sinewave is generated mathmatically..??

  • @Bodragon
    @Bodragon 6 лет назад +1

    (1:30) - don't you mean "...comes back into our non-inverting input." ?
    You say: "...comes back to our non-inverting output."
    EDIT:
    (1:47) "...10K _capacitor"_ ? - Have you been drinking?
    (9:21) - You say: "..well you can see we've lost any semblance of this being a square wave..." - Surely you mean sine wave ? You need to lay off the booze mate. And I say that as a friend, no offence intended.
    I still gave you a thumbs up because you used no inductors. Rad!

  • @naitikshailendrakumaryadav2824
    @naitikshailendrakumaryadav2824 6 лет назад

    How i can achieve 50hz sine wave from this circuit?

    • @rumidas4309
      @rumidas4309 6 лет назад

      When we use 741 integrated circuit the circuit is known as sensor

    • @rumidas4309
      @rumidas4309 6 лет назад

      Here we use a sensor

  • @GeorgeGeorge-xj2bc
    @GeorgeGeorge-xj2bc 4 года назад

    In fact this oscillator using only one stage is practically useless because the output oscillates in pure sinewave much lower than 1Vpp in output.Buffer or amplify the non inverting input of the op amp with another op amp and you will have the sine wave pulse.

  • @cooksoni.a
    @cooksoni.a 2 года назад

    Okay!

  • @yutech2091
    @yutech2091 5 лет назад +5

    I don't know why am failing doing this, every time I try

    • @buchstabensuppenfa7545
      @buchstabensuppenfa7545 4 года назад

      Feel u dude just roasted a Potentiometer

    • @erin19030
      @erin19030 4 года назад

      Most circuit schematics are bogus BS

    • @johnruscigno5738
      @johnruscigno5738 4 года назад +1

      That's a basic oscillator that worked for me. Start out with that and get it working. Then you can add an LC network to it to turn into a sine wave.

  • @no_service429
    @no_service429 3 года назад

    B R E A D B O A R D

  • @simonburns1055
    @simonburns1055 10 месяцев назад

    never seen Sunbeam battery before

  • @haroldtkm
    @haroldtkm 5 месяцев назад

    wuau

  • @hexagonmagnetics569
    @hexagonmagnetics569 3 года назад

    Make a three phase inverter!!!

  • @Bodragon
    @Bodragon 4 года назад

    (9:21) - You say: *_"Well, you can see we've lost any semblance of a square wave..."_*
    But it never resembled a square wave in the first place.
    It was a sine wave that you'd generated.
    >

  • @ajingolk7716
    @ajingolk7716 7 месяцев назад

    It looks more like a triangle wave😢