Author |
Message |
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Fri Feb 15, 2013 4:58 pm Post subject:
Square-wave synth |
|
|
Hello,
I wanted to begin making my own synth, so I decided to follow this tutorial, I bought all the components (except the DC jack, I bought a 9V battery instead, and the perfboard I bought is a bigger one) plus a switch so I could turn it on and off, however, the schematic was really confusing and I couldn't make it work. I would like to know if there are any other guides on making a simple square wave synth which can be made using the components I bought for that other one.
Thank you in advance. |
|
Back to top
|
|
|
andrewF
Joined: Dec 29, 2006 Posts: 1176 Location: australia
Audio files: 4
|
Posted: Fri Feb 15, 2013 5:42 pm Post subject:
|
|
|
Hi
to e-m
Probably best to try troubleshooting your circuit rather than jumping to a new one. It is pretty normal to find circuits do not work straight away, one tiny mistake can stop everything.
What part(s) of the schematic are you not sure about?
|
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Sat Feb 16, 2013 9:44 am Post subject:
|
|
|
There are 10k resistors on the circuit which aren't on the parts list, and also three 1M resistors, so I believe there is an error (either on the parts list or the circuit). I don't understand what to do with the +4.5V and -4.5V parts.
I'm new to electronics, though, so this circuit might just be too advanced for me... |
|
Back to top
|
|
|
-minus-
Joined: Oct 26, 2008 Posts: 787
Audio files: 13
|
|
Back to top
|
|
|
defog
Joined: Aug 24, 2011 Posts: 113 Location: Philadelphia
|
Posted: Wed Mar 20, 2013 9:53 am Post subject:
|
|
|
For that Beavis audio oscillator schematic, you'll need to add the decoupling cap to block DC voltage from hitting your speaker/amp. You don't need the other resistors after it or the volume control necessarily though:
_________________ The Phoenix Vertigo is my Electronic alias. Check out my songs on soundcloud : http://soundcloud.com/charles-stieg/ |
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Mon Apr 22, 2013 3:56 pm Post subject:
|
|
|
Sorry for the late reply - I kind of forgot about this thread.
I checked out the Beavis Audio site, and bought a breadboard. The projects are really easy and good for starting.
I didn't try making the 741 oscillator again, found out there was a thread in this same forum talking about it and I found an easier schematic if I ever want to try that, but I made a circuit using the Beavis Audio CMOS oscillator and a 4040 which was mentioned in the site. Since I didn't get my breadboard yet (I wasn't able to buy one locally), I figured out it would be clever to post it here to be sure if it could work.
|
|
Back to top
|
|
|
analog_backlash
Joined: Sep 04, 2012 Posts: 393 Location: Aldershot, UK
Audio files: 21
|
Posted: Mon Apr 22, 2013 5:05 pm Post subject:
|
|
|
Hi pq.
This looks OK to me, but you should also connect the reset pin of the 4040 (pin 11) to 0V (ground) as you are not using this. The reset can be connected to one of the counter outputs to reset it (believe it or not ) after a certain number of input pulses at pin 10. It can also be reset by an external trigger pulse. If you want to play with this, you should connect pin 11 to ground via a pull-down resistor (typically 100K). This ensures that the input is never left floating, even if you have nothing connected to it.
I'm not sure about the order of your outputs. You have 9 (divide by 2), 7 (divide by 4), 6 (divide by eight), 5 (divide by 16) then 4 (divide by 128). Perhaps the fifth one should have been 3 (divide by 32)? Also, I'm unsure what you are going to do with the switches (but there may be a perfectly good reason why you've put them there...).
Anyway, it looks like you're on the right track
Gary |
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Mon Apr 22, 2013 7:27 pm Post subject:
|
|
|
analog_backlash wrote: | This looks OK to me, but you should also connect the reset pin of the 4040 (pin 11) to 0V (ground) as you are not using this. The reset can be connected to one of the counter outputs to reset it (believe it or not ) after a certain number of input pulses at pin 10. |
Noted - and I'll experiment with the reset function once I buy the parts to get this project made.
Quote: | Perhaps the fifth one should have been 3 (divide by 32)? Also, I'm unsure what you are going to do with the switches (but there may be a perfectly good reason why you've put them there...). |
That's right, I guess I should've paid more attention to the datasheet.
The schematic repeats for each of the 12 notes in the sixth octave, and the switches (keyboard) are used to activate each output. I'm not sure, but I believe that's how Cynosure made the basic organ circuit for his "C-MOnSter", which I'm basing this project on.
Thanks! |
|
Back to top
|
|
|
analog_backlash
Joined: Sep 04, 2012 Posts: 393 Location: Aldershot, UK
Audio files: 21
|
Posted: Tue Apr 23, 2013 6:20 am Post subject:
|
|
|
Ah, so you're building a top-octave generator - I understand the switches now! In that case, the reset pin probably won't be needed (but still keep it at 0V, with or without the pull-down resistor).
Gary |
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Thu Apr 25, 2013 10:02 am Post subject:
|
|
|
Is there any formula for determining the frequency of a 40106 oscillator? I tried 1/4.7(µF)R(Ohm) = 1046.5(hertz), but I'm not sure about that. |
|
Back to top
|
|
|
analog_backlash
Joined: Sep 04, 2012 Posts: 393 Location: Aldershot, UK
Audio files: 21
|
|
Back to top
|
|
|
Cynosure
Site Admin
Joined: Dec 11, 2010 Posts: 966 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Sun Apr 28, 2013 7:46 am Post subject:
|
|
|
4.7uF caps and a 10k resistor probably won't give you the range you want. With a topic octave divider you need to atart with a high frequency. Try 0.1uF instead. _________________ JacobWatters.com |
|
Back to top
|
|
|
JovianPyx
Joined: Nov 20, 2007 Posts: 1988 Location: West Red Spot, Jupiter
Audio files: 224
|
Posted: Mon May 13, 2013 10:25 am Post subject:
|
|
|
Looking at this, I spot something that can often be a real pain in the butt.
That is a virtual ground. This is the bit of circuit you created with two 10K resistors to create an effective +4.5, ground (or zero volts) and -4.5.
This technique can work for circuits that are very simple and small and which do not require putting much current into or drawing much current out of ground. When larger and/or more demanding circuits are used, it begins to become a point of failure. One way around this is to "buffer" the virtual ground. This is done by adding a single opamp wired as a voltage follower. Feed the current "gnd" point into the opamp non-invert input and then put the opamp output to the "gnd" connection. This will allow the ground to deal with more current and will be somewhat self correcting should the ground try to drift.
That being said - my suggestion - don't use virtual grounds. You can make a nice +/- 9volt dual supply using two 9volt batteries. Such a supply is far more immune to noise propogation and floaty ground problems than a virtual ground. I know it requires another battery, but the advantage is "stability". _________________ FPGA, dsPIC and Fatman Synth Stuff
Time flies like a banana. Fruit flies when you're having fun. BTW, Do these genes make my ass look fat? corruptio optimi pessima
|
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Sat Jun 22, 2013 4:19 pm Post subject:
|
|
|
I've finished the schematic for my CMOS "organ", and tested what I could. So far, so good.
Thanks to everyone who helped me, please tell me what you think.
|
|
Back to top
|
|
|
Cynosure
Site Admin
Joined: Dec 11, 2010 Posts: 966 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Sat Jun 22, 2013 6:32 pm Post subject:
|
|
|
It looks good so far, but here is one thing to consider:
The bypass caps go from pin 14 to pin 7 on the 40106 and 4016, from pin 16 to pin 8 on the 4040, and from pin 8 to pin 4 on the TL072. Think of it as a little power reserve that the chip can use when it needs a quick burst of power that the power line can't supply fast enough. It also smooths out any noise in the power line. You can remove the ones you have on the oscillator outputs.
However, depending on what you are connecting the output too, you might want to add a coupling cap on the final output after the TL072. As long as the cap is large enough then the value usually isn't too important. I usually use a 4.7uF cap and 100k resistor because I have a bunch of both, but I have used caps down to 1uF without noticing any change to the sound.
More info here:
http://electronicsclub.info/capacitance.htm#coupling _________________ JacobWatters.com |
|
Back to top
|
|
|
fluxmonkey
Joined: Jun 24, 2005 Posts: 708 Location: cleve
|
Posted: Sun Jun 23, 2013 1:04 pm Post subject:
|
|
|
i think you'll need to add mixing resistors after each of the keys, prior to the output stage at U3A. i'm not sure what will happen to the levels when multiple keys are pressed. _________________ www.fluxmonkey.com |
|
Back to top
|
|
|
Cynosure
Site Admin
Joined: Dec 11, 2010 Posts: 966 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Sun Jun 23, 2013 3:26 pm Post subject:
|
|
|
fluxmonkey wrote: | i think you'll need to add mixing resistors after each of the keys, prior to the output stage at U3A. |
He has those in there, but the are right at the output of the 4040.
That will work, but it would be better if you could put them at the other end of the change as close to the TL072 as possible. _________________ JacobWatters.com |
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Mon Jun 24, 2013 4:07 pm Post subject:
|
|
|
I moved the resistors (having them after the switches does make more sense), and added the coupling capacitors after the TL072, not sure if the values are correct.
Also, when I removed the bypass caps after the oscillators, I didn't get any sound, are you sure they aren't needed? |
|
Back to top
|
|
|
Cynosure
Site Admin
Joined: Dec 11, 2010 Posts: 966 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Mon Jun 24, 2013 4:40 pm Post subject:
|
|
|
I don't understand the schematic you just posted. You are getting distortion with a 10uF coupling cap and 200k resistor? That seems odd, but maybe it is the voltage you are using. Most of my projects so far have been +/-5V. Anyway, you just need to use one of those options - the one that gives no distortion.
The cap on the output of the oscillator isn't required, but I know that the 4040 can be annoying sometimes. The cap might be acting as a buffer that is helping to clock the 4040. The 40106 oscillators can act weird if you don't buffer the output somehow because the cap to ground ends up interfering with circuits further down the line. I usually buffer them with another schmitt trigger. But if it works with the cap then I guess leave them in there _________________ JacobWatters.com |
|
Back to top
|
|
|
pq
Joined: Feb 15, 2013 Posts: 9 Location: Brazil
|
Posted: Thu Jun 27, 2013 8:46 am Post subject:
|
|
|
Cynosure wrote: | I don't understand the schematic you just posted. You are getting distortion with a 10uF coupling cap and 200k resistor? |
Oh, disregard that. I didn't understand how to calculate the values for RC.
Cynosure wrote: | Anyway, you just need to use one of those options - the one that gives no distortion. |
What I want to do it add a rotary switch to choose between the three RC values (though a pot might work as well), as distortion can be desirable occasionally.
And on the bypass caps - I didn't try it with the TL072, that's probably why it didn't work. |
|
Back to top
|
|
|
Cynosure
Site Admin
Joined: Dec 11, 2010 Posts: 966 Location: Toronto, Ontario - Canada
Audio files: 82
|
Posted: Thu Jun 27, 2013 10:32 am Post subject:
|
|
|
The type of "distortion" mentioned on the link i posted is actually filtering. If the values are too low, then the coupling cap and resistor will act like a highpass filter.
If that is what you want, then just add a RC highpass filter with a pot for the resistor. You don't need the rotary switch.
If you want actual distortion, then there are plenty of schematics for that online. The most simple one is to overdrive a linear 4069 similar to what is used in the WASP synth. _________________ JacobWatters.com |
|
Back to top
|
|
|
|