DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: chromesphere on February 22, 2013, 08:18:17 PM

Title: Dead Easy Dirt Issues
Post by: chromesphere on February 22, 2013, 08:18:17 PM
Hey everyone,
Building the dead easy dirt effect for another 'build a guitar pedal in 10 mins' video, but i have struck a problem. 

http://www.forrestwhitesides.com/node/93

Basically, the output is ridiculously loud (see voltages).  And the dirt effect sounds pretty much like a bluebox.  All glitchy and not very musical. I realise its 5 components / not a refined beast, but i dont think its behaving how it should.  There is 8v on the output which explains the mental volume output, but also adjusting the volume pot does nothing.  When its at max and min the volume turns off completely.
Heres my voltages:

Pin 1 & 8 - 1.36v
Pin 2 3 4 & 5 - 0v
pin 7 - 8.6v

Diodes positive - 8v
output - 8v
ground 0v obviously.

Positive i have wired this up properly...
Anyway, any help would be great
Cheers,
Paul
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 22, 2013, 09:21:05 PM
Well, it is a 386 amp capable of 1/4 to 1watt output. The volume pot should work, so check the wiring.  Also, try removing the connection between pins 1 and 8 or place a 1k linear pot between them to give you control of the gain.
Title: Re: Dead Easy Dirt Issues
Post by: Electron Tornado on February 22, 2013, 11:41:21 PM
Putting a pot between pins 1 and 8 never really gave a very good sweep range to the gain. However, you could try different pot values, like 5k, and different tapers. You could max the gain on the chip and try a pot in front of the input pin and see if that gives a better "drive" control.

If you max the gain, you won't really need those clipping diodes. The chip will happily distort all on its own.

When using a 386 like this, a 386N3 behaves better than a 386N1. There is also a 386N4, but I've never tried it.
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 23, 2013, 01:09:57 AM
Hey thanks for the responses.  Checked the wiring.  Its definitely correct...

Im using this op-amp, not sure what that "L" suffix means though!?

http://www.taydaelectronics.com/lm386-lm386l-audio-power-amplifier-ic.html

Paul
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 23, 2013, 04:27:18 AM
I agree about trying the volume pot on the input.

Also, most 386 applications use a 10R resistor and 50-100nF cap in series between pin 5 and ground to prevent oscillations.

(http://i1160.photobucket.com/albums/q485/jdansti/5A37036E-EF6C-4D04-8384-C632A55B35EE-1203-0000019C9061B64F.jpg)
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 23, 2013, 04:39:07 AM
Well it magically started working.  God knows why...didnt change a thing...must have been a short somewhere.

Anyway, this circuit is a good one to start learning with and building upon i reckon.  Might have to do that at some stage!

Thanks for everyones help!  The problem lied between my chair and the circuit board for this one!

Paul
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 23, 2013, 05:21:35 AM
Glad you got it going!  :D
Title: Re: Dead Easy Dirt Issues
Post by: slacker on February 23, 2013, 06:38:31 AM
Quote from: chromesphere on February 23, 2013, 04:39:07 AM
...must have been a short somewhere.

Probably from pin 6 to the diode side of the output cap, that's about the only way you could get 8 volts on the volume pot.
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 23, 2013, 06:10:05 PM
Tried it this morning, doesnt work...  ???

Good pont slacker!  I was thinking how it would be possible to get that sort of voltage on the output -> DC isnt being decoupled.  There is nothing shorted around the cap though, so im going to replace it. 
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 23, 2013, 06:11:54 PM
replaced the cap, no difference...

Im concluding that this circuit has a design flaw and is unstable.

Paul
Title: Re: Dead Easy Dirt Issues
Post by: ashcat_lt on February 23, 2013, 07:25:32 PM
I don't know if it's the same with the 386, but with other opamps if there's a DC path to the negative rail in the feedback path, it will push the output as close to the positive rail as the opamp will go.  Basically the thing runs open loop, and even tiny amounts of noise get amplified to as loud as it gets.
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 23, 2013, 08:14:23 PM
^Is that why the manufacturer specifies a cap and 10R resistor from pin 5 to ground on the 386?
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 23, 2013, 08:43:37 PM
I think im going to have to get my head out of this circuit and start from scratch...i breadboarded another one, same issue.  So i decided, screw it and converted it to a smokey amp.  Same issues.  After a HUGE amount of messing around i think i...may...have narrowed down adding a cap from +9v to ground turns the ic a sounding like its busted, to working...maybe theres something esel going on with my build.  Highly likeyl, theres stuff everywhere at the moment..
Going to take a break from it and return later.  Thanks for everyones responses!
ps, john that out filter / anti-oscillation cap / res did nothing for some reason.  Infact, building the amp they way the datasheet says, still sounds like rubbish...yep.  Going to need to take a break :)

Confirmed, if i removed everything from the circuit, so there is just a 47uf cap on the output, and i remove the cap (50nf and 2.2uf have been tested with the same result), the output goes from glitchy 'sounds broken' to working normally...

The strange part is, if i add my power filter to the 9v dc input (which has caps to ground, its basically the beavis huminator) it makes no difference.  if i run the 9v dc striaght in, no difference....BUT AS SOON as that cap hits +9v to ground, bang, its alive...

Paul
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 24, 2013, 01:34:05 AM
Yah, sounds like there's something funny going on that you haven't put your finger on yet.

Btw, I've seen comments online where others have had similar problems with lm386 amps. One suggestion is to swap pins 2 and 3. In other words, ground pin 3 and connect the input to pin 2. No guarantees, but it's a quick and easy thing to do on a breadboard.
Title: Re: Dead Easy Dirt Issues
Post by: timd on February 24, 2013, 02:42:41 AM
Quote from: Jdansti on February 24, 2013, 01:34:05 AM
Yah, sounds like there's something funny going on that you haven't put your finger on yet.

Btw, I've seen comments online where others have had similar problems with lm386 amps. One suggestion is to swap pins 2 and 3. In other words, ground pin 3 and connect the input to pin 2. No guarantees, but it's a quick and easy thing to do on a breadboard.
I agree 100%. I have messed around with the lm386 so much I should try to be sponsored by somebody. Some circuits work better with a specific input. Also Paul - are all the chips you are using from the same source? This could narrow the issue. Do you have any JRC386's you could try?
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 24, 2013, 02:44:48 AM
+1
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 24, 2013, 04:46:18 AM
Hey guys,

I got the smokey amp to work.  That cap from plus to ground fixes it.  Petey Twofinger confirmed that this cap needs to be as close the IC as possible which is exactly what i was experiencing.  The power filter didnt fix it, but a cap on the breadboard did.  Thats absolute insanity, but there you go...

I will try the dead easy dirt again, might fix its issues as well.

Edit: I recorded a video of the circuit and the cap issue, sort of vlog style.  Thanks for your help:



Paul
Title: Re: Dead Easy Dirt Issues
Post by: Jdansti on February 24, 2013, 02:19:14 PM
Great video! :D

Have you tried the cap and resistor from pin 5 to ground to see if it still oscillates when you crank up the booster on the front end?
Title: Re: Dead Easy Dirt Issues
Post by: tca on February 24, 2013, 05:05:47 PM
If you want dirt you can go beyond the 40dB datasheet value to some higher values up to 72dB (http://www.diale.org/pdf/Unleash-lm386.pdf)!

Cheers.
Title: Re: Dead Easy Dirt Issues
Post by: pinkjimiphoton on February 24, 2013, 06:39:28 PM
paul,
i made a version of this too, it's a little weird, but sounds great.
check it out...schem/ vero/ demo video in this thread. it uses a pre-(and passive) tone control that makes it a lot nicer sounding in my opinion.
peace!

http://www.diystompboxes.com/smfforum/index.php?topic=96856.0
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 24, 2013, 08:15:39 PM
Thanks for the responses everyone!

I tried the output cap / res to ground...at some point...but i dont think it coincided with a working circuit.  It would be nice to able to turn dist / fuzz pedals up full without a bunch of oscillation.

That cap from plus to ground is the winner lol It just fixes it...

I tried the dead easy dirt again and it just works properly when its in the circuit.  As soon as you pull it out, it turns to sh!@.

Anyway, i think im actually done with this circuit for now.  Might revisit it down the track.

Thanks for all your help!

Paul
Title: Re: Dead Easy Dirt Issues
Post by: culturejam on February 25, 2013, 10:47:14 PM
I've noticed in some circuits that the LM386L (from Tayda) doesn't always behave like a LM386 (N1 or otherwise).

For example, the output voltage is supposed to always be exactly 1/2 the input voltage...and this is true for the LM386, but not for the LM386L. They should be the same, but they aren't.

386s in general seem to be hit-or-miss, much like some batches of PT2399.


I originally posted the Dead-Easy Dirt so that people who wanted an "easy" in for a build would have something super simple to work with. But, despite my best intentions, some folks have just not had good luck with that particular IC.
Title: Re: Dead Easy Dirt Issues
Post by: chromesphere on February 25, 2013, 11:01:36 PM
Hi Culturejam,

No problems mate, not your fault!  I'm seeing quite a bit of dislike towards the LM386, probably due to the inconsistancy, exactly like you said.  The Tayda Lm386 is very difficult to get to behave properly (suffix L).  I have decided to get a TDA7052A instead and build the punch amp as it seems a bit easier and produces 'clean' which is really what i was after (in amp format, not dirt pedal :D).

Yeah anyway, i reckon you got it in one!  Thanks for sharing the circuit, even though unfortunately it didnt work out for me, i definitely learnt a thing or two!

Cheers,
Paul