Author |
Message |
Dr. K
Joined: Jan 15, 2020 Posts: 27 Location: wisconsin
|
Posted: Sat Jun 20, 2020 3:25 pm Post subject:
Buffer questions using 40106 |
|
|
Hi Folks, I've been boxing up several noise-making devices, but am finally starting my Lunetta project in earnest. The plan is to start with several basic oscillators. I've been consulting Hackaday for a lot of the mechanics.
I'm going to be using some 556's, so I can have voltage controlled oscillators. I'm also going to use 40106s to make several generic square and triangle wave oscillators.
Hackaday is using the INPUT side of the 40106 for triangle wave generation. I thought that was clever. What I just learned (and it explains why I haven't been able to amplify the triangle output) is that the amp and the oscillator, aparently, are talking to each other. They are using a 4069 as a buffer stage. A unity gain stage. I don't have any 4069s, but I do have LM324s. I don't fully understand what's going on--but any op amp set up as a unity gain should work, shouldn't it? To give credit where it's due, the image came from here. https://hackaday.com/2015/03/09/logic-noise-sawing-away-with-analog-waveforms/ |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Jun 20, 2020 3:45 pm Post subject:
|
|
|
Yes, the usual (non-inverting) unity gain opamp circuit should do it. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Dr. K
Joined: Jan 15, 2020 Posts: 27 Location: wisconsin
|
Posted: Sat Jun 20, 2020 4:18 pm Post subject:
|
|
|
Blue Hell wrote: | Yes, the usual (non-inverting) unity gain opamp circuit should do it. |
That sounds good. Does it seem like a good strategy? Use the 40106, and take 3 oscillators for square waves and 3 as triangle waves with op-amp buffers? I can't imagine their would be a downside to using a buffer, that you would ever want the un-buffered output.
It's been a fun project, but the learning curve has been rough! |
|
Back to top
|
|
|
Steveg
Joined: Apr 23, 2015 Posts: 182 Location: Perth, Australia
|
|
Back to top
|
|
|
Dr. K
Joined: Jan 15, 2020 Posts: 27 Location: wisconsin
|
Posted: Sun Jun 21, 2020 3:38 am Post subject:
|
|
|
Great! Thanks, that's a cheaper and simpler solution. I'll be bread boarding things before soldering them up. I'm just new enough to this, I wasn't sure where to start. It's annoying--when you wire something "correctly", yet can't get it to work. Diagnosing a problem, when it's actually a total mystery how it works, is hard! I have a pretty good stash of transistors and chips. |
|
Back to top
|
|
|
Dr. K
Joined: Jan 15, 2020 Posts: 27 Location: wisconsin
|
|
Back to top
|
|
|
Steveg
Joined: Apr 23, 2015 Posts: 182 Location: Perth, Australia
|
Posted: Sun Jun 21, 2020 8:58 pm Post subject:
|
|
|
If you just want a buffer you would leave the capacitor out and you would get an output waveform identical to the input.
Adding the capacitor in gives the decaying edge which might be something interesting for a drone box.
BTW if you are following Elliot Williams series on Hackaday, you might be interested that he posted here as hexagon5un. |
|
Back to top
|
|
|
dk
Joined: Feb 12, 2019 Posts: 115 Location: Europe
|
Posted: Tue Jun 23, 2020 6:33 am Post subject:
|
|
|
Just a quick note... the triangle out will be lower in volume than the square. The triangle stretches in voltage only to where the 40106 flips, ie the lowest point of your triangle will be ~1/3rd of the supply voltage and the highest ~2/3rds. If you want the triangle to be at the same output level, you'll need a bit of amplification, not just a buffer. |
|
Back to top
|
|
|
Steveg
Joined: Apr 23, 2015 Posts: 182 Location: Perth, Australia
|
Posted: Wed Jun 24, 2020 6:51 pm Post subject:
|
|
|
Even amplifying the triangle wave to full peak voltage it is still going to be lower volume than the square wave (it has less area under the curve). Because you want the square wave at full volume for logic operations most people seem to ignore the difference and compensate for it in the mixer settings. |
|
Back to top
|
|
|
dk
Joined: Feb 12, 2019 Posts: 115 Location: Europe
|
Posted: Thu Jun 25, 2020 4:39 am Post subject:
|
|
|
Yes, sorry, I should have phrased that differently. If you want at least a somewhat similar peak to peak voltage, you'd need to amplify the triangle. I.ve amplified mine as I'm personally trying to make sure the output of any given module can be run into the input of any given module and have it still "work" (CMOS doesn't like non-square/pulse inputs, so "work" is subjective). If you'll use it solely for audio or don't mind the limited swing, a buffer is fine. |
|
Back to top
|
|
|
|