Function/Waveform Generator || DIY or Buy

  Рет қаралды 393,417

GreatScott!

GreatScott!

Күн бұрын

Пікірлер: 583
@alenasenie6928
@alenasenie6928 5 жыл бұрын
-"it did't result in an explosion, perfect" Electroboom disaproves
@reggiep75
@reggiep75 5 жыл бұрын
Nice to see someone out in there thinking like me. ElectroBOOM's soul cries in pain until he can murder some capacitors.
@Scorry
@Scorry 5 жыл бұрын
Every time happy while first turning on without BOOM.
@pyrojason
@pyrojason 5 жыл бұрын
-(Audience)- "Awww...."
@mkbharadwaj4560
@mkbharadwaj4560 3 жыл бұрын
ye lmfao
@ZoniaTV
@ZoniaTV 5 жыл бұрын
I've been wanting to build my own function generator for a while now. Thanks for posting this.
@greatscottlab
@greatscottlab 5 жыл бұрын
You're welcome ;-)
@mathiasbackof4993
@mathiasbackof4993 5 жыл бұрын
@@greatscottlab ; - )
@meepk633
@meepk633 5 жыл бұрын
Seems like a good way to learn about a few things like op-amp scaling, DAC control and UI development. I'm designing a fantasy one right now. Then I'll do one I can actually build.
@Jay-fp8iy
@Jay-fp8iy 5 жыл бұрын
@@meepk633 Post up both pls
@patprop74
@patprop74 5 жыл бұрын
Likewise, maybe this is the one to build.
@skittermckitter05
@skittermckitter05 3 жыл бұрын
Obviously very late, but the instability and other issues at high frequency are likely due to the construction of the op amp portion of the circuit. Very good decoupling is important, and the output of the op amp should be followed by a resistor so that the transmission line is double terminated (therefore protected from bad loads) and any capacitive loads don't cause phase margin issues.
@Dak47922
@Dak47922 5 жыл бұрын
"This picture may seem complicated.... but if you study this 21 PAGE DOCUMENT it becomes pretty simple." heh
@TheMadPhilosopher
@TheMadPhilosopher 5 жыл бұрын
That's a pretty small price to pay for knowledge.
@jtb8631
@jtb8631 4 жыл бұрын
The Mad Philosopher do you just wander around deflating other people’s humor with trite remarks?
@power-max
@power-max 4 жыл бұрын
believe me that's nothing. Just read a user guide for any modern micro-controller or FPGA. This user guide for the classic STM32 is over 1000 pages. And it is a low-end chip. The F4, F7, and H7 are gaining popularity in the DIY space now mostly because of more flash space. www.manualslib.com/manual/1276772/St-Stm32f101-Series.html#product-STM32F103%20series
@SimonBauer7
@SimonBauer7 8 ай бұрын
i hope you never study anything then, because each script you get there is houndreds of pages, 21 pages is a joke.
@mackdlite5900
@mackdlite5900 5 жыл бұрын
Your DIY or Buy is my favorite KZbin segment. I always look forward to these. Great job!
@Miata822
@Miata822 5 жыл бұрын
Awesome! This goes on my (already long) project list.
@Stoneman06660
@Stoneman06660 5 жыл бұрын
And the list is long, and the know-how lags the list! 😆
@UP.electronic
@UP.electronic 5 жыл бұрын
I saw a lot of different videos on KZbin about this topic,but everything seemed to be very complicated Your video was the most simple but yet the best one i come across Keep it going :)
@greatscottlab
@greatscottlab 5 жыл бұрын
Thank you very much :-)
@innovation4u336
@innovation4u336 5 жыл бұрын
You are great teacher. I always wait for your video. Keep up man....
@greatscottlab
@greatscottlab 5 жыл бұрын
Thanks :-)
@lukahierl9857
@lukahierl9857 5 жыл бұрын
The squarewave output of those cheap nasty red functiongens alsow works as a sine wave above 100khz
@Rainbow_Sword
@Rainbow_Sword 5 жыл бұрын
Just reduce the amplitude of the wave and it should look more like a square wave because of reduced time for charging external capacitors
@abdulazeez.98
@abdulazeez.98 5 жыл бұрын
Lol, that's an additional feature .
@TheAzther1
@TheAzther1 3 жыл бұрын
I think the reason of the malfunctions of these generators are fake IC's, I remember seeing a video of a guy replacing it with a legit one and most problems went away. Of course even original ones have their own limits so there's not that much else it can be done about it
@krissolshaq4934
@krissolshaq4934 3 жыл бұрын
@@TheAzther1 the main reason is shitty op amps with poor slew rate and crappy pcb design. It is not the frequency of the waveform which is the problem. Look at edges of the squarwave. They have to be super fast to reliably generate a square wave. 10MHz squar wave requires edges to rise and fall in like 10ns to keep the signal look like a square wave, not a sine or trapezoid. So to have 10Mhz squarewave you need an op amp with 100MHz bandwith. However, you want to use the op-amp to amplify the waveform, so to have a decent waveform at the output and also a gain of 10 you would need an op-amp with at least 1GHz gain-bandwith product and 100 000 000V/s slew rate to give you 10V p-p voltage. Good luck with that.
@blackwingmaster141
@blackwingmaster141 5 жыл бұрын
TL071 is not suitable for 10MHz signals,and that's why your freq. gen. deos not work properly at high frequencys. Also, I don't see any decoupling capactors (approx. 0.1uF) near IC power pins. Using high frequency opamp and adding decoupling caps should fix high frequency issues
@ObligedTester
@ObligedTester 5 жыл бұрын
Great info, thanks! Any recommendations for OP-amp?
@HRTtwitch
@HRTtwitch 4 жыл бұрын
@@ObligedTester I know this comment is from a while ago but as I just looked at this based on other comments in this thread this might be helpful for others. Find something low noise and high speed (select this based on your desired max frequency). You may want to consider slew rate as well @w2aew has a great video that explains slew rate and gain bandwidth product for opamps on his youtube channel that will help.
@yagneshpatel1183
@yagneshpatel1183 4 жыл бұрын
TL071 IS AUDIO IC NOT FOR INDUSTRIAL GRADE . BETTER SWITCH TO MCP SERIES IS BETTER
@electronichannelgreece
@electronichannelgreece 4 жыл бұрын
@@yagneshpatel1183 friends I bought this operation amplifier!!!!Still I have not received any of my items about this project!!!I wanna make this project in 5volts!!!I have dc-dc converter from 5volts to 12volts (the MT3608) and I have the converter from 12volts to -12volts...At first I worry about the output signal voltages because I made my own serial oscilloscope with arduino and the max input is in 5volts and I want to control the output voltage
@felipealves921
@felipealves921 2 жыл бұрын
lm6171 it's a good option
@SemproniusDensusGaming
@SemproniusDensusGaming 5 жыл бұрын
I would like to see a video about CAN Bus Systems. Thumbs up for the video man
@greatscottlab
@greatscottlab 5 жыл бұрын
I can put it on my to do list
@id15807936
@id15807936 5 жыл бұрын
@@greatscottlab There are libraries for MCP2515 chip for Arduino IDE and there is also a library for using it with CAN Hacker software. Yesterday I tested it out on my STM32 Blue Pill board by using stm32duino and it works great! sun9-69.userapi.com/c857420/v857420683/714f7/aM3nLdigq48.jpg STM32 Blue Pill also has CAN bus support itself so it doesn't even need chips like MCP2515, it only needs CAN tranciever such as TJA 1050.
@krystian_rla
@krystian_rla 5 жыл бұрын
nice project ,you could use AD9851 or AD9850 for higher frequency ,btw it should be possible to modulate signal eg. AM or FM ,it may be useful
@crazyphil7782
@crazyphil7782 5 жыл бұрын
“One point five years ago” that had me laugh some
@GreyDeathVaccine
@GreyDeathVaccine 4 жыл бұрын
Nobody talks like that :-)
@excitedbox5705
@excitedbox5705 5 жыл бұрын
I love your build vs buy series. Couldn´t you expand this to give you an arbitrary function generator if you added a keypad to the Arduino to punch in voltages?
@popcoron11
@popcoron11 2 жыл бұрын
素晴らしい語り口。引き込まれてしまう。wonderful narrative. I am drawn to the charm.
@UtkarshAmitabhSrivastava
@UtkarshAmitabhSrivastava 5 жыл бұрын
5:43 only 10 bit DAC? Audiophiles are coming to get ya.
@KingJellyfishII
@KingJellyfishII 5 жыл бұрын
Not only audiophiles but just people who need accurate voltages for anything
@power-max
@power-max 5 жыл бұрын
Thats what happens when you use an all-but obsolete microcontroller...
@SpeccyMan
@SpeccyMan 5 жыл бұрын
@@power-max Spoken like a true ignoramus.
@telefon72
@telefon72 5 жыл бұрын
Having worked with audio at uni, I can say that 10-bit DACs will easily handle most music without any noticible noise. The thing you want is sampling frequency
@UtkarshAmitabhSrivastava
@UtkarshAmitabhSrivastava 5 жыл бұрын
@@telefon72 True. But good luck telling that to an Audiofool who believes there equipment sounds better by using cryogenically frozen unobtainium power cable.
@SimonCoates
@SimonCoates 5 жыл бұрын
FY6800 DDS Signal Generator/Counter is amazing value for money - worth a look for anyone considering a budget unit.
@Adrian_Finn
@Adrian_Finn 5 жыл бұрын
One of the problems with those is the crappy Switch mode power supplies that have been fitted inside them, which is not what you need with a sig gen, people have modded them very easily with linear power supplies though so not all bad. Few good channels on YT cover this.
@todayonthebench
@todayonthebench 5 жыл бұрын
@@Adrian_Finn The noise from the switch mode power supply is though far from bad on the units. Since it gets drowned by the harmonics from the signal generator itself. Also, a linear power supply will generally couple through all the noise from one's mains wiring, so have a computer or other switch mode powered device connected nearby and you will have just as much noise from the linear supply. In any case, the issue can easily be rectified by adding a bit of extra output filtering from the supply, not that this matters much due to the signal generator already having enough harmonics and other crap that it literally drowns the noise from the power supply. (In the end, I wouldn't recommend practically any DDS for RF use, obviously.)
@SpeccyMan
@SpeccyMan 5 жыл бұрын
The real issue with these devices is the floating AC on the earth side of the BNC connectors (measured with reference to a true earth.) Not enough current behind it to harm you but more than enough there to fry the delicate inputs to a microcontroller.
@SimonCoates
@SimonCoates 5 жыл бұрын
@@SpeccyMan You seem to be referring to the FY6600, not the FY6800.
@todayonthebench
@todayonthebench 5 жыл бұрын
@@SpeccyMan This is indeed a problem. I solved it by adding a wire going over to mains earth. Seemed trivial enough. Though, to an exceptionally small degree, one could regard the non-earthness of it as a "feature", if it weren't for the huge amounts of common mode noise...
@sanmvegs1641
@sanmvegs1641 4 жыл бұрын
To have better performance at high frequencies, you should used opamps with higher gain bandwidth products (GBP). Because the DDS would not give wrong signal it is only the mistake of signal processing. It seems that you are using TL071 opamp which has GBP of 5.25Mhz and you are using it to amplify by a factor of 22, so the bandwidth of this configuration of opamp will give you a reliable signal bandwidth of around 23 khz
@hafizdr
@hafizdr 5 жыл бұрын
I really like the way that you said when you "stole" his code to "save time and effort"
@naknakacknak
@naknakacknak 5 жыл бұрын
This is really a nice project. I bought a used Philips/Fluke PM 5191 Programmable Synthesizer/Function Generator for $85. It's 0.1 to 2 MHz. Interesting device.
@lukaswalczak93
@lukaswalczak93 3 жыл бұрын
Great work. You should have designed a PCB with good RF characteristics in order to achieve much better High frequency performance. Additional Filter circuits on the in- and output also would have made a significant difference. Also choosing a low noise op amp on the last stage is mandatory. Anyway great project!
@JatSingh
@JatSingh 5 жыл бұрын
Hi Scott. I think a great video would be basically a video focused on the parts you usually skip on the videos. So for example let's say you choose something simple like a power supply diy build. Go through step by step buying and ordering the parts. And the soldering as well. Maybe 3d design if it applies for the project
@trentjackson4816
@trentjackson4816 3 жыл бұрын
DIY will always be the ☆Winner☆ - for when it comes to test gear.
@GarageScience
@GarageScience 5 жыл бұрын
A waveform generator has been on my want list for a very long time! One of the first comments!!!
@pauljackson2126
@pauljackson2126 5 жыл бұрын
Finally, a project and a good lab instrument for Electronics Hobiests....
@prashanthb6521
@prashanthb6521 3 жыл бұрын
I simply enjoy your videos even if I have no plans to build this circuit.
@rogerfurer2273
@rogerfurer2273 5 жыл бұрын
FYI: AD9834 is a faster DDS. Also a ground plane may help w/noise and stability. Nice video, I appreciated the information. Thinking about DIY to upgrade from my 40 year old Circuitmate.
@salazar.eduardo
@salazar.eduardo 5 жыл бұрын
Nice video! I'd like to see in a future DIY or buy episode an RLC meter.
@electronichannelgreece
@electronichannelgreece 4 жыл бұрын
Excellent work since 3 days I made this FUNCTION GENERATOR... I used the MT3608 DC TO DC CONVERTER to convert from 5v to 12v then I used the DDO315NA to convert from +12v to - 12v for the TL071CP.... I made the project with Arduino uno r3 atmega 328p!!!!FINE PROJECT!!! 😎😎😎😎😎😎
@majidarabi3694
@majidarabi3694 3 жыл бұрын
Hi. Did you test function generator output signal with oscop? I made this circuit and connected to oscop as following resultes: - Frequency set to 2000Hz, sin and triangle wave frequency showing 2000Hz but on square wave showing 1000Hz. - Frequency set to 3000Hz, sin and triangle wave frequency showing 3000Hz but on square wave showing 1500Hz. square wave frequency always showing 1/2 of the set frequency.
@electronichannelgreece
@electronichannelgreece 3 жыл бұрын
@@majidarabi3694Yes I watched it!!!!
@electronichannelgreece
@electronichannelgreece 3 жыл бұрын
@@majidarabi3694 In theory a square wave has an instantaneous rise and fall. But it has a dwell time based on the frequency. Lets take a 1 hz square wave. The signal goes from zero to 100% in an instant. Then will remain at 1 for 1/2 of the wave length or 500ms.
@majidarabi3694
@majidarabi3694 3 жыл бұрын
Thanks for your advise. I tried another function generator circuit diagram and code " www.instructables.com/Portable-Function-Generator-on-Arduino/" Sin,triangle and squre wave frequency are correct with that but with your circuit sin and triangle are corect and squre wave is 1/2. Fault finding is in progress.
@electronichannelgreece
@electronichannelgreece 3 жыл бұрын
@@majidarabi3694 I made this function generator with Arduino Uno R3 atmega 328p kzbin.info/www/bejne/qGHdq6R4YtSIfJY but if you watch my channel I made and ANALOG FUNCTION GENERATOR KITS BY E-BAY!!! I watched that and in Analog Function Generator kits by the Ebay the square wave has half past frequency than Sine and Triangle waves
@sincerelyyours7538
@sincerelyyours7538 5 жыл бұрын
Nice one! I bought a $50 Chinese DDS function gen a few years ago and found navigating its menu frustratingly cumbersome and its outputs distorted, full of hash and ringing badly. You get what you pay for, I kept telling myself. I then replaced its two output op amps with ones having a better slew rat, per some online videos I found, and got better looking waveforms with less ringing, though they're still not lab instrument quality. In the end I probably spent too much for a cheapie DDS function gen but the experience taught me a few things about how these things operate.
@v.vincent6631
@v.vincent6631 5 жыл бұрын
Simple and superb function genatator at cheapest prices..👌👌👌
@frosty129
@frosty129 3 жыл бұрын
I bought the UDB1008s 8Mhz function gen from aliexpress for 20 bucks. It does very clean 7Mhz sine, and okay 700kHz square and triangle, with sawtooh and pwm support. Perfect for DIY.
@settwi
@settwi 5 жыл бұрын
I really like your content, and I appreciate how clear you are with your whole process, especially the analysis of data sheets and circuit diagramming. Thank you!
@thelitecommando
@thelitecommando 5 жыл бұрын
Love the project, just a reminder that 123D is discontinued and basically superceded by Fusion 360 (which is also free for hobbyists, students, and small startups).
@albertomora4462
@albertomora4462 5 жыл бұрын
It would be great to create a function generator with also sine sweep and random noise signals.
@TheCalebf
@TheCalebf 2 жыл бұрын
diy is always the winner as knowledge is priceless and indefinitely replicable
@lensherman6242
@lensherman6242 5 жыл бұрын
FY6800 from Banggood and others is about $90 US. 60MHz 20Vp-p output with a decent display and a normal case.
@eulemitbeule5426
@eulemitbeule5426 5 жыл бұрын
Personally i prefer second hand electronics from ebay over some DIY project: if you have the time to search for bargains, you can score some amazing deals. And if you know how to repair electronics, you can get a pretty nice setup for cents on the dollar: Just browse for broken equipment, google the schematics and if you find them, buy it. I have gotten two Oltronix B703 (basically three really nice separate power supplies in one small box) for 35 bucks among other stuff. Yes, it can be frustrating and time consuming to repair it, but it is totally worth it.
@stevetobias4890
@stevetobias4890 4 жыл бұрын
Really like the DIY or Buy episodes
@Twometer
@Twometer 5 жыл бұрын
What kind of filament did you use for the box of your Function Generator? I really like how it looks
@AstrobumTV
@AstrobumTV Жыл бұрын
Please do a video about whether should one build a diy 200MHz oscilloscope or just buy one.
@Rolly369
@Rolly369 5 жыл бұрын
have a look to the JDS6600 function gen, it Outputs up to 20V+/- and easy up to 16MHz and it can do programmed waveforms… cost appx 60$
@ssschuh
@ssschuh 4 жыл бұрын
Just finished build and testing one (still prototype) and I have to say I don't see this signal instability at about 5MHz using my old analog scope connected at the 9833 output pin. Even being this the top frequency for my instrument. You probably was experiencing some other problem, not 9833's fault. I plan to build a second signal stage, so I can use it to extend sweep range frequency on my scopt, and (hopefully) observe its wave forms at higher frequencies. Anyway, thanks for sharing. Your videos are awesome!
@nuk3man
@nuk3man 7 ай бұрын
Hey, do you mind sharing your build or some tips/tricks? I'm having issues getting the entire thing to work. Nothing seems to happen when you turn the rotary encoder. Any ideas? The AD9833 does output a 1.04 kHz sine wave of
@ritvarsrizikovs7117
@ritvarsrizikovs7117 5 жыл бұрын
Actually You almost fit my current project :) I am building DIY Function generator based on AD9834 (35MHz), but most of Your written problems are the same. About Amplitude and Offset - Need to use it with meaning, that its not going out of OpAmp power range. I am planning to use STM32F072 wich have 12bit DACs integrated to control offset and amplitude of AD9834. Amplifiers will be LM7171. I'll add also one PWM output from STM as second channel. As display its planned to OLED 2.4" with SSD1309 controller. About power supply I am still thinking - I think I should use some linear stabilisers for better power quality. Possibly Transformer is very good choise for analog part. For digital part can be used also SMPS. Allready bought some old function generator case with buttons on eBay and AD9834 board from AliExpress - so now is only breadboarding and testing and coding. Thanks for Your review about this topic man!!!
@Dragoby
@Dragoby 5 жыл бұрын
I really like this series as I really like to do diy over buying things. I think a diy or buy on a UPS for a future video idea!
@laurentiudragomir1091
@laurentiudragomir1091 4 жыл бұрын
Cezar Chirila, bravo si salutari!
@bpbrainiak
@bpbrainiak 5 жыл бұрын
Always enjoy your videos! Saying hello from Santiago de Chile
@RealCousinOkri
@RealCousinOkri 5 жыл бұрын
I've been trying out an AVR microcontroller with an R2R DAC and well, it kinda worked. Needs some polishing though, as adjustable offset and amplitude can be useful. It seems like a must have for a guitar pedal enthusiast, at least for me.
@sageforce9306
@sageforce9306 4 жыл бұрын
Next video: Space shuttle; DIY or buy😂😂
@kingarthurthe5th
@kingarthurthe5th 4 жыл бұрын
We all know which option elon musk opted for ;)
@danielstellmon5330
@danielstellmon5330 5 жыл бұрын
I love this channel. It inspires me to persue the hobby. Unfortunately, or perhaps fortunately, I understand I will never take my skill to his level. I just want to build a custom keyboard and a programmable universal remote.
@ninaddeshmukh654
@ninaddeshmukh654 5 жыл бұрын
Ever time I see ur videos notification I hope for the drone video hoping the day comes soon
@greatscottlab
@greatscottlab 5 жыл бұрын
Not soon.
@davidh1187
@davidh1187 2 жыл бұрын
So I found an old digital TV converter PSU that supplies +12, -12v and 5v (among others) as screen printed on the PCB BUT on measurement the 12v lines only measure + and - 11v. I assume this will still work for the rest of the design but limit the signal Gen to + and - 11v rather than the 12v you wanted.
@SuperFredAZ
@SuperFredAZ 5 жыл бұрын
You could easily have built the op amp offset for the 70 Euro commercial unit and saved so much work!
@maciej_sliv
@maciej_sliv 5 жыл бұрын
TL071 is limited to 4Mhz, such a simple mistake...
@JensRoland
@JensRoland 5 жыл бұрын
maciolos9 well spotted - any good alternatives he could use instead?
@maciej_sliv
@maciej_sliv 5 жыл бұрын
​@@JensRoland plenty of them, google the high frequency LNA I love scott videos, but I'd like to see his projects successful. Even though these mistakes might be done to let audience think what has gone wrong, I personally would like to see a project done working properly.
@JensRoland
@JensRoland 5 жыл бұрын
maciolos9 so maybe something like the NE5532?
@maciej_sliv
@maciej_sliv 5 жыл бұрын
@@JensRoland Taking a quick glance - yes. Even fits for the non-differential input voltage purposes
@holyboyarishnik9861
@holyboyarishnik9861 4 жыл бұрын
2.5MHz in worst case
@norm1124
@norm1124 8 ай бұрын
Danke für das Design, ich werde es wohl mit 2x 9V Batterien nachbauen.
@eimparas
@eimparas 5 жыл бұрын
heeey ! the ad9833 part you ued in easy eda , was made by me ! xaxax im proud tho see it fetured in your video !
@greatscottlab
@greatscottlab 5 жыл бұрын
Haha thanks for your good work :-)
@eimparas
@eimparas 5 жыл бұрын
im in the prosses to create my own fully digital controlable dds fg
@electronic7979
@electronic7979 5 жыл бұрын
Excellent video. Very helpful
@Hexor1211
@Hexor1211 5 жыл бұрын
GreatScott! Could you please make a video comparing spectral performance of DDS, XR-2206 and AE20125? I'm curious about their SFDR (first harmonic amplitude) and spectrum in general for 50 Ohm and 600 Ohm load.
@johnford7847
@johnford7847 5 жыл бұрын
This will be useful - I need several inexpensive function generators for our electrochemistry lab. I hadn't seen anything over 100 kHz. (I confess I hadn't searched in the last five years.) Thank you.
@StitchesLovesRats
@StitchesLovesRats 6 ай бұрын
Mate, I gotta say, I frikkin love you for these instructable videos. I've already built an audio amp that works real good thanks to that vid and project page. You ever consider compiling a library that can be put on an internet in a box?
@JoBo164
@JoBo164 5 жыл бұрын
I bought on ebay an old function generator for 30€. It has nearly the same functions as the diy one and is at some points better. I think this is the best and easiest way.
@sarkam73
@sarkam73 5 жыл бұрын
Very good video You are great elektronik teacher
@me3dnone107
@me3dnone107 5 жыл бұрын
What do you need amplitudes >5V for on a frequency generator? I think for a beginner on low budget the XR-2206 is THE way to go!
@jairguilhermecertorio6362
@jairguilhermecertorio6362 5 жыл бұрын
Also, after the beginner gets fed up with the 5 Vpp he could just build an amplifying stage to get more Vpp and a bigger range for the dc offset.
@vylbird8014
@vylbird8014 5 жыл бұрын
Depends what you are doing with it. Someone who does vintage restoration, for example, will want the high-voltage, low-current signals used in valve equipment.
@arafatal-gharabi7066
@arafatal-gharabi7066 5 жыл бұрын
Even though that it's difficult to understand but I like to watch your videos
@lepidoptera9337
@lepidoptera9337 2 жыл бұрын
A general purpose waveform generator is a rarely used lab instrument. If your circuit requires waveforms, it's best to design it with self-test in mind.
@laurawerner
@laurawerner 5 жыл бұрын
This is a nice project. Thanks for the video! I'm going to build it! One question: The parts list in your Inventables article specifies a 24V center-tapped transformer. I thought the LM7812 and 7912 had a dropout voltage of around 2.5 volts, so to get +/- 12 volts you'd need to feed them at least +/- 14.5. Or basically a 30V center-tapped transformer rather than a 24V one. Those seem a lot harder to find, though Digikey has a few. What am I missing?
@laurawerner
@laurawerner 5 жыл бұрын
A friend answered this question for me.... The 24V transformer outputs +/- 12V RMS so the peak voltage will be the 12 * √2, or around +/- 16V. More than enough. (If you couldn't tell, I'm a total beginner. I just started trying to learn electronics recently after retiring from a software engineering career.)
@MCsCreations
@MCsCreations 5 жыл бұрын
Fantastic work, dude! 😃 I may make one some day! 😃
@sobertillnoon
@sobertillnoon 5 жыл бұрын
Holy crap. This video is perfect. I was just researching the xr2206
@greatscottlab
@greatscottlab 5 жыл бұрын
Thank you. Glad you like it :-)
@FooBar89
@FooBar89 4 жыл бұрын
you already have an awesome function gen, no need to make a new function gen to solve this problem, just buffer and amplify the signals produced by your existing one
@ahmedelmazaty9459
@ahmedelmazaty9459 5 жыл бұрын
Thank you for this project. I am looking for this for along time.
@patkub2
@patkub2 5 жыл бұрын
I don't know why somebody need that, just connect anything to 50Hz 230v sine wave generator, which is all around us.
@DennisXiloj
@DennisXiloj 5 жыл бұрын
Lol
@UberAlphaSirus
@UberAlphaSirus 5 жыл бұрын
But what if you want 51Hz?
@cantekdemir1972
@cantekdemir1972 5 жыл бұрын
@@UberAlphaSirus connect another plug in parallele lol
@MIW_Renegade
@MIW_Renegade 4 жыл бұрын
@@cantekdemir1972 now that would be amazing if that would work lol but I can see someone connecting 2 phases together and seeing the sparks fly as you short 2 120v lines (I used 120 in the example because I'm canadian)
@SergiuszRoszczyk
@SergiuszRoszczyk 5 жыл бұрын
Shouldn't negative 12V linear regulator be enough for powering OP AMP? You don't take much power from output after all... This way some people would be kept away from high voltage.
@peterlethbridge7859
@peterlethbridge7859 Жыл бұрын
I have a question for you. Why would you by or make a dedicated waveform generator, if you could use the Wavegen function in your scope. I know some people won't have that option, but just curious as to why you'd use and external waveform generator over the inbuilt one. Great videos by the way.
@mkbharadwaj4560
@mkbharadwaj4560 3 жыл бұрын
09:09 and 09:11 And that's where ElectroBoom[friend of GreatSott] comes into play. LMFAO!
@kekersdev
@kekersdev 5 жыл бұрын
What filament you used to print the housing?
@greatscottlab
@greatscottlab 5 жыл бұрын
Galaxy Black Prusament
@kekersdev
@kekersdev 5 жыл бұрын
@@greatscottlab Thanks!
@meepk633
@meepk633 5 жыл бұрын
Could the distortion at the top end be solved with a better op-amp?
@gglovato
@gglovato 5 жыл бұрын
I was thinking the same, tl071 is like a 40yr old opamp by now. Probably better isolation and shielding of the signals would help toi
@mborowski2010
@mborowski2010 2 жыл бұрын
I was looking at the same expensive one you have the Siglent or whatever.. That with the Oscilloscope from the same company comes to about $800usd give or take. I love electronics and want to be like you when working with them so it would probably be best for me to buy the good one and learn everything it does, right? I still might build this anyway. Because the 4 channel Oscilloscope is more important to me for now.
@cristianpal93
@cristianpal93 5 жыл бұрын
Hello Great Scott can you tell me please the type of filament used for the 3d printed case?
@greatscottlab
@greatscottlab 5 жыл бұрын
I used galaxy black Prusament
@JensRoland
@JensRoland 5 жыл бұрын
GreatScott! Thanks - great looking finish on that enclosure!
@loganfansler9211
@loganfansler9211 5 жыл бұрын
Awesome video AS ALWAYS! I think it would be awesome if you could do a DIY-OR-BUY on TL-smoothers used to remove the salmon-skin effect on 3d printed parts. Seems like a quick project that would be really interesting! Thanks for all of the great content!
@UpLateGeek
@UpLateGeek 5 жыл бұрын
It'd be interesting to troubleshoot the issues you saw at higher frequencies, to try and get the maximum performance out of this chip. And to me, the MVP (minimum viable product) would also have variable duty cycle, at least for square wave. That way you can also play around with PWM stuff (and it would match the features of the function gen in my oscilloscope). Without looking at the datasheet, I'm not sure if the chip will do this without any extra hardware, but I do know you can generate PWM signals from a triangle wave using a comparator.
@ortani
@ortani Жыл бұрын
I am inclined to believe you could not go much higher than 5MHz because of the op amp you are using. Did you try to test your project without the TL071 to see if the raw CI can work with a higher frequency? regards
@Tommybotham
@Tommybotham 5 жыл бұрын
What do you mean by “amplitude/offset adjustable”? Does amplitude adjustable = setting the voltage range? Does offset adjustable = setting an asymmetrical voltage range? Like starting from -5v and ending at +7v rather than strict -5v to +5v? To be honest, I’m struggling to see how amplitude and offset are exclusive.... why can’t you just choose your lower bound and upper bound with a maximum range of -12v to +12v? Edit: so offset determines whether you have AC (waveform must go above/below 0v sometime in the time period) or DC (all of waveform must be completely above or below 0v)? Please clarify and thanks for the videos.
@paulperano9236
@paulperano9236 Жыл бұрын
Considering you used an OpAmp and lots of other stuff at the end, why not simply use the XR2206 with an inexpensive TDA chip to amplify the 2206 output ? Cheaper and easy to build. Use a multi position rotary switch to change the capacitor and a low value potentiometer you can have a reasonable range of frequencies. Toss in a cheap low frequency meter from good old Uncle Ali and BINGO ...
@Ivor_Nastyboil
@Ivor_Nastyboil 5 жыл бұрын
An old PC power supply can be an excellent way of getting +12v, -12v and +5v. You also get +3.3v thrown in as an extra. They are easier to work with than a transformer for the less profficient tinkerer, especially if you use one of the cheap boards available from China that breaks out the voltages from the motherboard connector to the individual voltages and includes fuses.
@hannescamitz8575
@hannescamitz8575 5 жыл бұрын
Oooh! New colours of the markers!
@DynoRC
@DynoRC 5 жыл бұрын
Nice project after a "while"
@camarol88
@camarol88 5 жыл бұрын
The TL071 (Figure 9 of datasheet = www.ti.com/lit/ds/symlink/tl072.pdf ) has a unity gain bandwidth of approx. 3MHz. With gain your bandwidth is lower, thus that might be the issue at higher frequencies.
@abrarshams811
@abrarshams811 8 ай бұрын
So what can we used
@camarol88
@camarol88 8 ай бұрын
@@abrarshams811 Use higher unity gain bandwidth opamp, although consider that this will come with an elevated price tag
@__fdc
@__fdc 5 жыл бұрын
At 5 MHz you are out of the Utility-gain bandwidth of the TL071 ( that's only up to 3MHz), and that's why it doesn't work as it should. A solution would be to use an Op-amp that can operates in all the bandwidth of the AD9833 ( like the LT1224 or someone else similar)
@goofypettiger
@goofypettiger 3 жыл бұрын
This was epic. Thank you for sharing it.
@ranjiths7627
@ranjiths7627 5 жыл бұрын
Don't copy Do something different own New ideas Best explaination This is the reason, i wait for great Scott's videos 🥰🥰
@catalinalb1722
@catalinalb1722 5 жыл бұрын
Next video should be on the topic GPSDO DIY or BUY
@AlienRelics
@AlienRelics 5 жыл бұрын
Ooh! Yes, I've been looking into this. Super accurate frequency counter, then use the same to make the sig gen super accurate.
@alex-r2pi
@alex-r2pi 5 жыл бұрын
What would be needed to replace the analog pots by digital ones? E.g something like x9c104 just with fitting electrical parameters. I supose that would make an even more versatile device, or?
@Drxxx
@Drxxx 5 жыл бұрын
amazing project, which filament did you used?
@jacoblanctot2335
@jacoblanctot2335 5 жыл бұрын
Sweet! Thanks for making this. I think I can use something similar to this for my research doing phase shift keying.
@BrentLeVasseur
@BrentLeVasseur 3 жыл бұрын
That box you printed looks nice! What 3D printer and materials did you use?
@justas7463
@justas7463 5 жыл бұрын
> Promotes JLCPCB. < Doesn't ever use it and rather builds his own circuits on a Veroboard. Good ol' Scott!
@id15807936
@id15807936 5 жыл бұрын
You don't need such services like JLCPCB as long as you stick to THT components and shields. But if you want to make your PCB small and use SMD components - that's where JLCPCB kicks in. You also can make some cool PCBs by using one of DIY technologies such as this one kzbin.info/www/bejne/mYfLhHZ7ha6Bpq8
@PlasmaHarsh
@PlasmaHarsh 5 жыл бұрын
Hi I'm your biggest fan. I always wait for your videos💜💜
@greatscottlab
@greatscottlab 5 жыл бұрын
Thanks :-)
@gudenau
@gudenau 5 жыл бұрын
Oh my, the DDS is very clever. I like it.
@MrRudyMurzyn
@MrRudyMurzyn 3 жыл бұрын
I am using function generator, but the problem is that the output is very low power. I have been looking for amplifier that could work witch signals up to 1MHz, but I cannot find anything that can produce reliable signal, with current up to 5 A. I am an electronics hobbyist and I have problems with coming up with my own designs, but i want to learn by testing different circuit properties with my function generator. I found commercial amplifiers but these are still too expensive for me. Do you have any inputs on that topic?
@xxycom8963
@xxycom8963 5 жыл бұрын
@GreatScott! I wonder if you considered the reliable precise function generator IC Intersil 8038? The IC is low priced too. There are KZbin videos for it too.
DIY Soldering Station
9:45
GreatScott!
Рет қаралды 1,4 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
DIY Adjustable Constant Load (Current & Power)
10:50
GreatScott!
Рет қаралды 386 М.
5 Ways To Generate A Sine Wave (Analog)
13:16
Sine Lab
Рет қаралды 110 М.
How to make a Softstarter and why it is sometimes mandatory to use!
10:31
The Best way to Solder? Hot Plate to the rescue! (DIY or Buy)
11:29
DIY 12-Mhz Function Waveform Generator
6:30
Et Discover
Рет қаралды 23 М.