4049 pins connections & Red Llama

Started by AM, July 17, 2007, 06:00:20 AM

Previous topic - Next topic

AM

Hi guys,
New member here and a bit of a newb question, but any input would be highly appreciated.
I was looking at the different Red Llama layouts here and the one at gaussmarkov.net. I see that there are differences in the way the pins of the 4049 IC are connected.
For example, at gaussmarkov's and MarkM's layouts pins 8 & 9 are connected to each other. At Andrew Carrell's and Madbean's they are not.

I built a Llama following gaussmarkov's layout already. It didn't work. I emailed Paul and he was extremely helpful. With his help I figured out that I followed his layout correctly so it was probably some weak soldering job on the perfboard interrupting the circuit. I decided to use stripboard for my next  attempt. That's how I stumbled across all those different layous.
I'm a bit confused now about the specific numbers of the 4049 pins to be wired. I have read practically everything about the Llama in this forum and I realize a lot of you have built it with success. Could anybody shed some light on my question? Thanks a lot in advance

http://gaussmarkov.net/index.php?page=layouts#redllama
http://aronnelson.com/gallery/album06/WH_RED_LLAMA_001
http://aronnelson.com/gallery/album76/Red_Llama_LAYOUT
http://aronnelson.com/gallery/album152/WAY_HUGE_RED_LLAMA_PERF

oskar

Hi!
The 4049 is a chip with six separate circuits in it. The Llama only use two of these circuits and therefore the inputs of the unused ones
(pin's 7,9,11 and 14) are connected to ground (in the first link, to make sure the outputs of the inverters are stable high or V+).
This is common practice with many different types of IC's. In the second link the unused inputs are connected to V+
and the outputs are then stable logic zero or 0 V.
Make sure you connect pin 1 to V+ (many IC's use the highest pin for V+ and the diagonal pin (pin 8 for a 16 pin IC) for ground.

This is a link to a recent thread on the Llama...
http://www.diystompboxes.com/smfforum/index.php?topic=58968.0

:o
Wow, you can animate this thing to... annoying?

oskar

ps. The Llama is worth a bit of crying...

AM

Thanks a lot Oskar. I really appreciate that you took the time to answer my question. It all starts making some sense now. At least I understand the differences between the layouts now.
I have to admit that terms like "logic zero stable" sounds a bit chinese to me. ???
That leads me to the next set of questions:
What do the "inverters" do? That still remains a mystery to me. Out of all the pins of the 4049, which ones are the inputs, and which ones are the outputs? If I know that I will try to draw my own stripboard layout based on gm's and MarkM's pcb layouts.


gez

Quote from: AM on July 17, 2007, 08:13:44 AM
What do the "inverters" do? That still remains a mystery to me.

http://www.diystompboxes.com/smfforum/index.php?topic=17114.0

QuoteOut of all the pins of the 4049, which ones are the inputs, and which ones are the outputs?

Now that's where datasheets come in handy!  :icon_smile:

"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

brett

Hi
download a CD4049UB datasheet.
The inverters (short for "inverting amplifier") are marked as triangles with little circles at the RHS point.  Non-inverting amplifiers (jargon for "amplifiers") don't have that little circle (just thought you might want to know that).
Anyway, any signal that enters at the left usually comes out larger and inverted (made negative, so any positive parts become negative and any negative parts become positive).  

Anyway, that's what inverters do.  Any unused inverters need to have their inputs connected to earth (or the supply voltage) so that their outputs don't flip and flop about, soaking up lots of battery power and messing up your day.  "logic zero stable" means the inputs and outputs aren't going to be fouled up (really, it's three nouns stuck together to form an expression that means "locked down to zero").
have fun with it
Brett Robinson
Let a hundred flowers bloom, let a hundred schools of thought contend. (Mao Zedong)

oskar

Quote from: AM on July 17, 2007, 08:13:44 AM
I have to admit that terms like "logic zero stable" sounds a bit chinese to me. ???
It's not chinese, it's dorkish and means that you're using a digital chip and that I'm not a born teacher...   :)
Logic 1 means somewhere near V+ (9V- something for a stompbox) and logic 0 means near 0 volts. Digital chips
use different techniques to achieve the one's and zero's and they don't like anything inbetween.
The 4049 is a buffer chip and each stage/inverter use two transistors in pair that can be used linearly (not digital...).

Quote from: AM on July 17, 2007, 08:13:44 AM
That leads me to the next set of questions:
What do the "inverters" do? That still remains a mystery to me.
From a digital point of view they perform a logic function by the name not, if you have a 1 on the input you get 0
on the output...
From an analog point of view... hm... someone else, pleeeeeease!!!!!!!   ???

Quote from: AM on July 17, 2007, 08:13:44 AM
Out of all the pins of the 4049, which ones are the inputs, and which ones are the outputs?

http://www.ti.com/lit/gpn/cd4049ub

Quote from: AM on July 17, 2007, 08:13:44 AM
If I know that I will try to draw my own stripboard layout based on gm's and MarkM's pcb layouts.
But what a wonderful exercise!

More coffee, must... have... more... coffee!  :icon_eek:

Mark Hammer

I think Oskar more or less covered it, but in case it wasn't perfectly clear, the 6 invertors in each chip are completely interchangeable, both in terms of which invertor you want to go through first and which invertors out of the 6 overall you wish to use.  Because different folks may wish to lay out their 4049-based circuit in different ways - sometimes for specific conveniences, like board dimensions, or sometimes just to be different - you will often see different pins noted in the drawing.  Think of it as if you had 6 single op-amp chips in your parts drawer and a given circuit needed 3 of them.  You could use chips 2, 3, and 5, and leave 1, 4, and 6 in the drawer if you wanted, or......

Of course, your instinct to wonder if there is some error is appropriate.  There are plenty of chips where each pin has a unique function and you can't substitute any single one for any of the others.  That's a good instinct to hold onto, so keep it on standby.  In this instance, though, the 4049 affords you a lot more flexibility than that.

AM

#7
Thanks everybody so much!!!!!! Man, this is quite a forum :icon_eek: I have to say...I wasn't expecting to get such good answers so quickly. I suppose I could have just built the circuit but I really hate to do things without at least a basic understanding of how and why they work the way they do.
I have used your links to download my homework. I will report with building results.
Once again, thank you so much guys, you really made it a lot easier for me to give that circuit a second shot,... this time knowing what the heck I'm doing.