Function Generator Kit Build and Test (#80)

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • This one-chip function generator (XR2206) provides sine, triangle and square waves over a wide frequency range. Here I build and test the kit using an amp and the oscilloscope.
    This one was from Aliexpress, but similar kits can be seen on ebay and many other sites.
    www.aliexpress.com/item/XR220...
    Music is 'Watch Me' from Geographer in the CZcams music library.
  • Věda a technologie

Komentáře • 78

  • @gartmorn
    @gartmorn Před 6 lety +5

    You're more confident than me fitting the case before testing!

  • @scottmcgowan5953
    @scottmcgowan5953 Před rokem +3

    got a couple of these kits (in case I broke one) and your video was very helpful in assembly and strategy so to speak. Had no issues Thanks to you. I know you made this a while back but good tutorials never die. Thanks

  • @mikelee1906
    @mikelee1906 Před 4 lety +10

    I believe the 4 small bolts and nuts are meant to be used as spacers. Put them through the board holes to the bottom piece.

  • @nor4277
    @nor4277 Před 4 lety +2

    I glad someone.did a video on this kit ,it helps because of the lack of the step by step instrucktion.with Chinese kits .but the price is right I think around 4.00 for mine ,I just started on mine.,I bought mine ,because I bought a pocket ocilloscope I bought .thank for your video nicely done.

  • @frankmccann29
    @frankmccann29 Před 4 lety +2

    Thanks so much Martyn. I still don't know how I got channel 95 on a crystal set with ww2 earphones. First thing I've made since then. These devices critical for finishing research. I think I can do it!

  • @bornach
    @bornach Před 6 lety +8

    KainkaLabs describes a few modifications you can do with this kit to improve the usability of the XR2206 function generator.

    • @MartynDavies
      @MartynDavies  Před 6 lety +2

      Very interesting, thanks. Here's a link for others that are interested: czcams.com/video/f_gnoU22Dj0/video.html

  • @mauropiva1977
    @mauropiva1977 Před 4 lety

    Complimenti bella spiegazione

  • @JerryEricsson
    @JerryEricsson Před 4 lety +1

    I purchased one of these a few years back when I was in my kit building days, my main reason was to learn how to use the kit built oscilloscopes those cheap DSO things for 20 bucks or so. I built one using an Arduino and tiny screen as well, have it mounted in an Altoids can, it isn't good for much, but will serve in a pinch where you just want to look for a signal in a radio or some such device. I was wondering if one could use this generator to align an AM Radio, as I have one of those little super het kits coming from China, perhaps by Christmas the way the post works now days.

  • @changedahanddlessss
    @changedahanddlessss Před 4 lety +2

    i wish i could use the nuts for the outer part of the case too.. ehh going to use some plastic apoxy around the outside edges for good measure :D

  • @aurthorthing7403
    @aurthorthing7403 Před 4 lety +2

    The small screws are stand offs for the board.
    They don't screw into the perspex.

  • @nileshople9656
    @nileshople9656 Před 5 lety +1

    I had given reverse supply to the circuit and it has drawn large current and then circuit doesn't work. Now, I have replaced the IC but sill it is not working and taking high current. Kindly, help me resolve the problem.

  • @IamCurrentlyAscending
    @IamCurrentlyAscending Před 4 lety +3

    Kinda wish I had watched this before I put mine together an hour ago.

  • @MD62383
    @MD62383 Před 2 lety

    Does anyone know how to increase the power to 15v or 24v? I essentially want to attach some piezo speakers to this and create my own mosquito anti loitering device. Help anyone?

  • @nor4277
    @nor4277 Před 4 lety

    Mr Davies could you tell me.about that black box you built ,and is there a kit ,like that ,or did you do a video on how you built it .

    • @MartynDavies
      @MartynDavies  Před 4 lety +1

      It uses a module with the PAM8403 chip (search for this on Ebay and you'll see a variety of similar modules), and other bits and pieces I had already: small speakers, a AAA battery holder; potentiometer for volume and the case is from a power supply that failed. I find it quite useful to have a battery powered amplifier on my desk.

    • @MartynDavies
      @MartynDavies  Před 4 lety

      I did make a video for this one: czcams.com/video/oIcHdHNW9iI/video.html

  • @gartmorn
    @gartmorn Před 6 lety

    Not bad resolution for a cheap kit. Definitely good value!

    • @MartynDavies
      @MartynDavies  Před 6 lety +1

      I like it. I might have to switch the volume round the other way though

    • @gartmorn
      @gartmorn Před 6 lety

      Yes I noticed it was the wrong rotation compared to 'traditional' set up!

  • @riverkey79
    @riverkey79 Před 4 lety +2

    Hi, what amp is that? I’ve connected mine to a Lm386 but there’s a low humming noise.

    • @MartynDavies
      @MartynDavies  Před 4 lety +1

      I built this off a cheap PAM8403 module - see earlier video czcams.com/video/oIcHdHNW9iI/video.html. If I remember right, the outputs from this function generator are DC, so you might need a capacitor (say 1uF) between the output and the amp to make sure that you don't have current flowing, perhaps causing a buzz.

    • @riverkey79
      @riverkey79 Před 4 lety

      Martyn Davies Hi Martyn, thank you for the reply, I really appreciate that. I’ve just ordered some capacitors to try your suggestion. Great video btw. Really helped put it together.

  • @giovanniiovino168
    @giovanniiovino168 Před rokem

    Hello, excellent tutorial, I built this generator too, since I measure about 5 volts at all outputs, do you think it is possible to connect the generator to the input of a tape deck, or am I messing up? thanks for any reply, greetings.

    • @MartynDavies
      @MartynDavies  Před rokem

      I think the square wave comes directly from the chip pin, so I probably wouldn't connect that into a tape deck. The sine I think comes via a capacitor, so that would be safer to connect up. However, it might need an attenuator in there (e.g. a 10k variable resistor/potentiometer), since input circuits for audio can be "line level", which is about 100mV. The output of the XR2206 could be 10 or 100 times this.

  • @StarTrooper47
    @StarTrooper47 Před 4 lety

    Nice demonstration but the little speaker you used was hard to hear had to turn up the volume and the dogs went nuts lol!

    • @MartynDavies
      @MartynDavies  Před 4 lety

      That was a simple amp I built in an earlier video, so probably not that great. I'll try to use a commercial bluetooth speaker for better fidelity.

  • @xmenken1
    @xmenken1 Před 5 lety +1

    There is no display of frequency on DIY kit. How did you know your tuning frequency? The analog oscilloscope won’t display the frequency either unless one has a digital oscilloscope.

    • @MartynDavies
      @MartynDavies  Před 5 lety +1

      There is a frequency setting on my multimeter.

    • @N.A._McBee
      @N.A._McBee Před 4 lety

      Every oscilloscope, analog or digital, gives you enough information to determine the input signal's frequency. You should get yourself a book about using oscilloscopes. Or use Google a bit more.

    • @OZ1LQO
      @OZ1LQO Před 4 lety +3

      Hi Ken, you can derive the frequency from measuring the period time on the analogue scope. If you're not all that acquainted with oscilloscopes, I recommend studying them some more. You'll learn a ton, and find even an analogue instrument very useful. All the best - cheers

  • @snehithtelzz646
    @snehithtelzz646 Před rokem

    Is the circuit able to produce frequency upto 100khz? If so, I need the values for capacitors and resistors or how I need to find out? I need it for my Thesis as a sound generator.

    • @MartynDavies
      @MartynDavies  Před rokem

      The kit comes with a datasheet containing a schematic and parts table - you can find a copy of this online if you search around. I seem to remember that the circuit is extremely similar to the reference design in the original XR2206 chip datasheet, so you might get some interesting clues from there.

    • @richardlynneweisgerber2552
      @richardlynneweisgerber2552 Před 2 měsíci

      www.mit.edu/~6.331/icl8038data.pdf

  • @jagtone
    @jagtone Před 4 lety

    Is your power plug center negative or positive?

  • @kevinhoublon8630
    @kevinhoublon8630 Před rokem

    Hello, great video 😄
    I'm a beginner and I have a question :
    I would like to make a diode bridge rectifier and I need an alternative voltage at the input.
    Can this device be used as an alternative power supply to generate the alternative voltage I need in input ?
    Thank you in advance for your precious support.
    Cordially.

    • @MartynDavies
      @MartynDavies  Před rokem +1

      This function generator doesn't have much power available at the outputs - they're either direct off the chip pins or through a general purpose transistor, so there's an audio signal, but nothing you could power another device from.

    • @kevinhoublon8630
      @kevinhoublon8630 Před rokem

      @@MartynDavies Thank you very much for your feedback 😁.
      Do you know a voltage generator I could use with the diode bridge rectifier?
      Thank you in advance 😉.
      Cordially.

    • @MartynDavies
      @MartynDavies  Před rokem +1

      @@kevinhoublon8630 It sounds like you need an old-school power supply (containing a transformer). Something like this: www.ebay.co.uk/itm/175396047731

    • @kevinhoublon8630
      @kevinhoublon8630 Před rokem

      @@MartynDavies Thank you 😄.
      Just to be sure :
      1 : Does this power supply directly give me a continous voltage?
      2 : If so,
      -do I need to cut the wire so I can retrieve the wires of the phase and the neutral to connect it to my circuit ?
      -or is there an adaptor (with the stripped cables of the phase and the neutral ) that I can plug on the tip of the power supply you mentioned?
      Thank you in advance 😉

  • @ryzen1433
    @ryzen1433 Před 3 lety

    I dropped some solder into a whole on the board any tips on how to get it out?

    • @MartynDavies
      @MartynDavies  Před 3 lety

      I normally use desolder braid and/or a solder sucker to clean off solder spills. I did once drop a blob of solder that went under a chip and ended up connecting a load of pins together. It took ages to clean that up, and I ended up cutting one set of pins and levering the chip up so that I could clean all the solder bridges. You can get a thing called a rework station that can be used to clear up big spills. I don't have one, but some people swear by them.

    • @ryzen1433
      @ryzen1433 Před 3 lety

      @@MartynDavies thanks man I would never of been able to build this without ur help.

  • @miravejvoda7182
    @miravejvoda7182 Před 4 lety

    Hi there, i'd like to ask you, if it's possible to use this kit output with my external mixer...

    • @MartynDavies
      @MartynDavies  Před 4 lety +2

      The sin wave output looks to have a capacitor on it, so should be safe. The square wave comes direct off a transistor, so may not be suitable for a mixer input unless that has its own input capacitor.

    • @miravejvoda7182
      @miravejvoda7182 Před 4 lety

      @@MartynDavies tnx a lot for your help

    • @miravejvoda7182
      @miravejvoda7182 Před 4 lety

      @@MartynDavies whitch capacitor is better for using... That's all? I don't need some amplifier too?

    • @MartynDavies
      @MartynDavies  Před 4 lety +1

      @@miravejvoda7182 An amplifier, probably not. Commercial mixers can normally take quite low levels of signal, perhaps 100mV.

    • @miravejvoda7182
      @miravejvoda7182 Před 4 lety

      @@MartynDavies is it chance to broke original mixer? I have two original mixers by Behringer ( 1202fx). I'd like to use this generatir for my noise project and i'm looking for some square vawe generator for Harsh noise Wall...

  • @SheikhN-bible-syndrome

    I made one of these but the sine wave is a funky square wave idk how to fix it

    • @MartynDavies
      @MartynDavies  Před rokem +1

      What I remember is that the sine comes direct out of the chip, so there's no circuitry to check. Make sure that you're not shorting out the output into other equipment (I don't think there's a capacitor inline), and check that the power supply you're using is a nice stable DC between 9 & 12 V.

  • @ahmadalqudsi
    @ahmadalqudsi Před 2 lety

    How do I take advantage of this panel to make a radar search for gold with hesitation?

  • @ATLTraveler
    @ATLTraveler Před 3 lety +1

    Where did you get that speaker thing?? I need something like that

    • @MartynDavies
      @MartynDavies  Před 3 lety

      That's one I made. The case is from a LED power supply that stopped working. Internally it's got some kind of commonly available power amp module and some small speakers that I had. I thought I'd made a video of it, but can't find it now. Some Bluetooth speakers have a line-level input: you could use something like that to get the same effect.

    • @ATLTraveler
      @ATLTraveler Před 3 lety

      @@MartynDavies hmm okay, I bought a cheap little alarm clock radio from goodwill and took the speaker out, it works okay but anytime I attach my homemade signals through it there is very very little sound. I also soldered it to a headphone jack to see if maybe it was just my signal and plugged it into my iPad, same thing, full volume, very very little sound. Yours sounds great. Maybe I just need a better/bigger speaker. Thanks for replying.

    • @MartynDavies
      @MartynDavies  Před 3 lety

      @@ATLTraveler Rather than the speaker size, it could be the sensitivity. Many devices have an 'aux' input with a sensitivity of about 100mV, but if you connect a tone generator that only provides 5mV, then you'll get a quiet output.

    • @ATLTraveler
      @ATLTraveler Před 3 lety

      @@MartynDavies yeah but shouldn't the iPad be putting that out properly??

    • @MartynDavies
      @MartynDavies  Před 3 lety

      @@ATLTraveler I'm not sure. My (very old) ipad only has a headphone output. I'm not sure what they put in them now.

  • @gyurterd8922
    @gyurterd8922 Před 3 lety

    is this device adecuate to run brushless motor such as hard drive motors?

    • @MartynDavies
      @MartynDavies  Před 3 lety

      I don't imagine so. As I remember, the square wave output comes straight out of the chip. For a motor, you need a transistor that can withstand a good amount of current, and usually a flyback diode that can stand EMF coming back from the motor coil.

    • @youtuuba
      @youtuuba Před 2 lety

      @@MartynDavies , the square wave output does not actually "come out of the chip"; all that is in the chip is an open collector transistor, and the actual voltage comes from a pull-up resistor on the PCB, which gets pulled down to ground inside the chip when the square wave is supposed to be low. There is no way to get this to "power" any motor anyone is likely to see in their lifetimes.

  • @3DShow1
    @3DShow1 Před 4 lety

    Is it good to slot machines?

    • @MartynDavies
      @MartynDavies  Před 4 lety

      I'm not sure what you mean

    • @3DShow1
      @3DShow1 Před 4 lety

      Martyn Davies sorry,so somebody use EMP to hack vending machines.Is this one good?

  • @yacineshop9380
    @yacineshop9380 Před 2 lety

    What are the uses of this device ?

    • @MartynDavies
      @MartynDavies  Před 2 lety

      Mainly for testing audio circuits like amplifiers. It's useful to have a predictable audio signal rather than just test with music.

    • @youtuuba
      @youtuuba Před 2 lety +3

      @@MartynDavies , this product is actually a very poor one, and will "sucker in" neophytes who don't know any better. The designer of the kit made mistakes (such as connecting the Amplitude pot backwards), leaving off a stabilization capacitor that the chip manufacturer recommends, using an ill-advised value for the pull-up resistor on the square wave output, and most significantly, leaving out an AC coupling capacitor on the sine/triangle output. The latter results in the analog output being offset by a significant DC voltage; you showed this on your oscilloscope trace but I don't think you commented on it. Some devices a person might wish to use this function generator with have their own AC coupling capacitor on their inputs, but many don't. Undesirable results will result in those cases, not the least of which is severe clipping of the signal as the large DC offset causes the device under test to slam into it clipping or saturation limits. If the signal is then used to drive speakers, damage to the speaker will likely result. The chip manufacturer shows the output capacitor, but the kit designer left it out, and for no reason I can think of except sloppiness.
      Another big issue is that the 'sine' output is far from being sinusoidal. Neophytes may look at it and say it is a sine wave, but a more experienced person will immediately recognize that it is just a triangle wave with some rounding. This might be OK just as a signal injector to test audio equipment, but on many circuits an experimenter might try to use this for, they won't get the right results due to all the harmonics in that 'sine signal'. At least this issue is not the fault of the kit designer, it is that the chip itself is a very old design and it does not have the necessary innards to convert a triangle wave into an actual sine wave. Luckily, there are other cheap kits out there that use so-called "Wien bridge oscillators" built around a single op-amp, and these give pretty decent sine waves.
      And another thing I noticed when I built one of these kits, the IC supplied was defective and gave a highly distorted analog output unless the power supply voltage was very close to 9VDC. The datasheet for the original XR2206 indicates that it should work properly over a much wider range of supply voltages. I replaced my kit's IC with a new-old-stock XR2206, and then it worked correctly.

  • @changedahanddlessss
    @changedahanddlessss Před 4 lety

    dude fuck that case.. haha.. i only ended up using the outer screws... ok rook question.. anyone know of a preamp/line level amp so that i can use this thing for what i wanted to use it for? torchering speakers XD

  • @bijmohunsoorendra9560
    @bijmohunsoorendra9560 Před 2 lety

    I need a kit to repel bats from plundering fruit trees

  • @jcs220
    @jcs220 Před 4 lety

    Comprei uma porcaria destas.Veio com o CI em curto circuito.Comprei dois CIs para substituir o original, mas ambos vieram com defeito.Dinheiro jogado no lixo. NÃO COMPREM ESTE LIXO!