DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: KarenColumbo on September 13, 2017, 09:13:48 AM

Title: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 09:13:48 AM
Dear gents, extracting an envelope detector/follower circuit out of a complete schematic like e.g. an Autowah brings me out of my depths. I'd love to have such a detector circuit that varies an LED's brightness depending on the volume of the input signal. Can you help me out here?

I studied the famous Dr- Quack, but this is an entirely different shoe - it seems there is some transistor working as a variable resistor or something. This would be nice, too, since I want to have a variable resistor depending on the attack, but I don't need the filter at all.

Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: EBK on September 13, 2017, 09:30:19 AM
Have you looked at this? http://www.geofex.com/Article_Folders/FXbus/fxbmod06.htm
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: Mark Hammer on September 13, 2017, 09:30:37 AM
That simple rectifier circuit works just fine with an LED.  In fact, I made my younger son a "robot" mask to wear for Halloween a decade back, in which I installed a little electret mic as the input of that circuit, and used the circuit to drive two "robot-eye" LEDs in the full-head assembly that glowed in sync with his voice.

So you should have little problem driving an LED with that same circuit.  Just be mindful of current needs/limits and choose your LEDs carefully.

For instance, the Anderton Bi-Filter project here uses a very similar rectified/follower (adding a sort of "Bias" control to set the minimum filter start point) drives a pair of LEDs directly, with some current-limiting resistance just ahead of the LEDs.
(http://www.lynx.net/~jc/biFilterHammerMods.gif)
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 09:32:04 AM
Quote from: EBK on September 13, 2017, 09:30:19 AM
Have you looked at this? http://www.geofex.com/Article_Folders/FXbus/fxbmod06.htm

I have, but here the detector puts out voltage, not light - I wouldnt know how to scale it correctly
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 09:35:55 AM
Quote from: Mark Hammer on September 13, 2017, 09:30:37 AM
That simple rectifier circuit works just fine with an LED.  In fact, I made my younger son a "robot" mask to wear for Halloween a decade back, in which I installed a little electret mic as the input of that circuit, and used the circuit to drive two "robot-eye" LEDs in the full-head assembly that glowed in sync with his voice.

So you should have little problem driving an LED with that same circuit.  Just be mindful of current needs/limits and choose your LEDs carefully.

For instance, the Anderton Bi-Filter project here uses a very similar rectified/follower (adding a sort of "Bias" control to set the minimum filter start point) drives a pair of LEDs directly, with some current-limiting resistance just ahead of the LEDs.
(http://www.lynx.net/~jc/biFilterHammerMods.gif)

Thank you! Do you think it would work with a single sided supply and virtual earth?
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: Mark Hammer on September 13, 2017, 10:02:55 AM
Throw a charge pump at it.  That's what folks do for Mu-Trons.
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: digi2t on September 13, 2017, 10:08:33 AM
The Bixonix Expandora 2001 has a detector circuit, but in a VU meter format. 4 LED's if memory serves me correctly. I might have the schematic in my gallery. If not, PM me and I'll post it.

Here you go;

(http://www.aronnelson.com/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=53103&g2_serialNumber=1)

The detector part of the circuit is in the lower right corner of the schematic.
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: Kipper4 on September 13, 2017, 01:13:05 PM
You know this guy right Andreas.

http://sound.whsites.net/appnotes/an001.htm

Keep it simple. Those at the bottom of the page are probably overkill for our needs.
Depending on the application .

Ic2A in the schematic Mark Hammer posted is the rectifier.

Now compare it to the rod Elliot page.
Go look at some other enveloped effects see if you can now see the rectifiers.

Google half wave , full wave, charge pump rectifiers.

I hope this helps.

Rich
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 01:34:21 PM
Quote from: Kipper4 on September 13, 2017, 01:13:05 PM
You know this guy right Andreas.

http://sound.whsites.net/appnotes/an001.htm

Keep it simple. Those at the bottom of the page are probably overkill for our needs.
Depending on the application .

Ic2A in the schematic Mark Hammer posted is the rectifier.

Now compare it to the rod Elliot page.
Go look at some other enveloped effects see if you can now see the rectifiers.

Google half wave , full wave, charge pump rectifiers.

I hope this helps.

Rich

Yo, Rich, I already got it working - if somewhat iffy :)

I just used this circuit from Rod Elliott:
(https://s26.postimg.org/jvikcqt0l/Precision_Rectifier.jpg) (https://postimg.org/image/jvikcqt0l/)
I put a 4u7 polcap after R4 and a 100k pot right after this as a variable resistor to ground to take away some of the juice.
LED is lighting up fine :)

Now what I would like to do is making the LED's brightness more correspondent with the input volume. So if I pick hard, the LED should light up brighter and go down fast. I don't care about ripple, this thing will drive a filter's intensity, not the frequency.

How would I go about making the brightness differences more extreme? Maybe some sort of "soft noisegate"?

Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 01:50:32 PM
Wait .. could it be that I'm trying something like the Expandora without knowing?  :icon_question: :icon_question:
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 02:18:41 PM
A bit of reading brought me to "Stompboxology", the Envelope issue.

It took this little circuit here:
(https://s26.postimg.org/ge36nx6qt/stompboxology-envelope-effects-2.jpg) (https://postimg.org/image/ge36nx6qt/)

Instead of putting them to Vref I grounded those parts and put a red LED between output and ground. Which reacts very fine and fast and not a lot of ripple. So cool <3

Edit: I drive the whole thing with the first gainstage of "Highway 89" by legendary Doug Hammond. I go directly from the RGAIN wiper into C1 of the Sompoboxolgy circuit.
(https://s26.postimg.org/l7rj6ismd/Highway89.gif) (https://postimg.org/image/l7rj6ismd/)

Instead of 5089ies I use BC249B. They drive a fine Overdrive, but the circuit is VERY quiet now. A fluke, if I might say so.
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: Kipper4 on September 13, 2017, 02:21:23 PM
I wouldn't put the charge cap your 4u7 after R4.
I'd stick an led anode to rods output cathode to clr>gnd.

Led light intensity is largely currant dependant.

Now more parts might come into it. Led driver. Op amp or transistor driver.
It may get help with the led.

Go down fast. Smaller charge cap?
Go down fast smaller 100k pot. This is the decay pot after the charge cap.
The less resistance there is for decay the faster the charge cap will discharge.

Which op amp are you using for the rectifier?

Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: Kipper4 on September 13, 2017, 02:25:36 PM
Take a look here.

http://www.diystompboxes.com/smfforum/index.php?topic=117652.msg1093012#msg1093012

Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 02:37:52 PM
I use on half of a 5532.

Here's a little video of how it's reacting to strat input.

http://www.mrscolumbo.com/uploads/envelope.mp4 (http://www.mrscolumbo.com/uploads/envelope.mp4)
Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: Kipper4 on September 13, 2017, 03:12:10 PM
Maybe try a lm358 too.

It looks like it's reacting fairly well. You can see the ripple when the led lights back up on the decaying signal in your video.


So if I've got this right you intend to control the q of a filter with an ldr?

Title: Re: Searching for a simple envelope detector only, with LED(s)
Post by: KarenColumbo on September 13, 2017, 03:39:07 PM
nah, just the boost of a bandpass. sort of a fixed wah