Shop OBEX P1 Docs P2 Docs Learn Events
Wiring difficulties gone COOL — Parallax Forums

Wiring difficulties gone COOL

CJCJ Posts: 470
edited 2006-11-14 02:15 in Propeller 1
Today I was hooking up an audio amplifier (lm386n) to play with the vocal demos. I was having trouble with the typical capacitive connection (pops, hisses, just not clean sound), but discovered that just having the wire in the row just outside of the DIP next to pin 1 provided a very clean sound without any hookups to the chip directly. all that was hooked to the amp was power, ground, and speaker.


A testament to breadboard Capacitance?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?

I've killed a fly with my bare mind.

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,547
    edited 2006-11-13 17:25
    "A testament to breadboard Capacitance?"

    Exactly!


    Try something like this:
                      1K 
    Propeller I/O >--/\/\--o------> To pin2 LM386
                           |
                           o--||--> GND (Vss)
                             .1uF
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.

    Post Edited (Beau Schwabe (Parallax)) : 11/13/2006 6:45:24 PM GMT
  • ForrestForrest Posts: 1,341
    edited 2006-11-13 17:26
    Are you sure that's a good breadboard? Can you reproduce this on another breadboard with similar results?
  • CJCJ Posts: 470
    edited 2006-11-13 17:46
    Beau, the inputs for this amp are on 2 and 3, - and + respectively, I get nothing out of it when hooked up per schematic, as it is now, it is the best sound I have ever had out of it, and quite content to keep it this way.

    Forrest, I can't see how it wouldn't be a good breadboard, I have continuity where it's supposed to be, and the printed surface on the backing sticker is intact.

    I was merely pointing out something cool.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Who says you have to have knowledge to use it?

    I've killed a fly with my bare mind.
  • Beau SchwabeBeau Schwabe Posts: 6,547
    edited 2006-11-13 19:46
    Cj,

    Since pin 1 and pin 8 control gain, you can affect the output by coupling to pin 1 in the way that you are doing.
    Default gain is only 20 for the LM386.· By placing a 10uF cap across pins 1 (+ cap)and pins 8 (-cap)·your gain
    will increase to 200.

    I changed the pin1 on my schematic to pin2, but it still holds true.· You can use pin 2 (inverted)·or Pin 3 (non-inverted)
    it should·not matter in this case, but·whatever pin you are not using·needs to go to GND or·Vs/2.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • rokickirokicki Posts: 1,000
    edited 2006-11-13 23:01
    Is it possible that the input voltage swing is just too high? That is, if you drive it
    directly from the propeller (even with an R/C divider) we're talking about
    1V p-p or thereabouts. With 20x gain you're going to be clipping all over the
    place.
  • CJCJ Posts: 470
    edited 2006-11-14 02:15
    It sounded like it was clipping, the way it is now is nice and smooth, and simple to wire

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Who says you have to have knowledge to use it?

    I've killed a fly with my bare mind.
Sign In or Register to comment.