Introduction to the 74390 Counter
Welcome! Today we are looking at a very special "brain" chip used in electronics: the 74390 4-bit Decade Counter. Have you ever wondered how a digital microwave counts down the seconds, or how a scoreboard keeps track of points? They all use counters!
By the end of these notes, you’ll understand how this chip works, how it "talks" to displays, and how we can use it to count all the way from 0 to 99. Don't worry if it seems like a lot of numbers at first—we'll take it one step at a time!
1. What is the 74390 IC?
The 74390 is known as a Dual 4-bit Decade Counter. Let's break that name down so it's easier to remember:
- Dual: This means there are two identical, independent counters inside just one chip.
- 4-bit: This refers to the output. It uses 4 wires to send out a binary number (combinations of 0s and 1s).
- Decade: In math, "deca" means ten. A decade counter counts ten values, from 0 to 9, before resetting back to 0.
Analogy: Think of the 74390 like a pair of hands. Each hand can count up to a certain point. Because it's a "Dual" counter, you have two separate "hands" inside the chip to help you count higher!
Key Term: BCD (Binary Coded Decimal)
Because the counter outputs 4 bits to represent numbers 0 through 9, we call this BCD. Example: The number 5 is represented in BCD as 0101.
Quick Review:
What does the 74390 count up to? It counts from 0 to 9. It is "dual," meaning there are two of these counters in one package.2. Understanding the Pins
When you look at a datasheet for the 74390, you will see 16 pins. You don't need to memorize every single one, but you should recognize these main groups:
- Clock Inputs (CP): These are the "heartbeat" pins. Every time the clock signal "pulses" (changes from high to low), the counter moves up by one.
- Outputs (QA, QB, QC, QD): These 4 pins give us the binary answer. QA is the "Smallest" value (\(2^0 = 1\)) and QD is the "Largest" value (\(2^3 = 8\)).
- Master Reset (MR): This pin is used to "clear" the counter. If you send a "High" (Logic 1) signal here, the counter immediately jumps back to 0.
- Power Pins: Like any electronic device, it needs power. Vcc is for the positive supply (usually 5V), and GND is the ground.
Common Mistake: Students often forget that for the counter to start counting, the Reset (MR) pin must be connected to Ground (Logic 0). If you leave it "floating" or connected to High, the counter will stay stuck at zero!
3. How the 74390 Operates
The 74390 is a "negative-edge triggered" counter. This is just a fancy way of saying it counts when the signal goes from High to Low (the "falling edge").
The Counting Sequence:
The counter follows this pattern every time it receives a clock pulse:
0000 (Zero)
0001 (One)
...
1001 (Nine)
0000 (Back to Zero!)
Did you know? Even though 4 bits *could* count up to 15 (1111), a decade counter is designed to reset itself as soon as it hits ten, so you only ever see 0 through 9.
Key Takeaway:
The 74390 counts on the falling edge of the clock signal and provides a 4-bit BCD output.4. Seeing the Numbers: 7-Segment Displays
We humans aren't very good at reading binary (0101) quickly. We prefer seeing the digit "5". To do this, we connect the 74390 to another chip called a BCD-to-7-Segment Decoder (like the 74LS247).
The Connection Process:
- The 74390 Counter counts the pulses and sends out 4-bit binary (BCD).
- The 74LS247 Decoder receives that binary and "decodes" which parts of the display should light up.
- The 7-Segment Display lights up the correct LEDs to show a human-readable number (0-9).
Memory Aid: Counter (Counts the clicks) -> Decoder (Translates the code) -> Display (Shows the number).
5. Counting to 99 (Cascading)
Since the 74390 is a Dual counter, we can link the two halves together to count from 00 to 99. This is called cascading.
How it works:
Imagine a standard clock. The "tens" place only moves forward when the "units" place finishes a full cycle (0 to 9).
- Counter 1 (Units): Receives the main clock signal (like a button press). It counts 0, 1, 2... 8, 9.
- The "Hand-off": When Counter 1 goes from 9 back to 0, it sends a signal to the Clock Input of Counter 2.
- Counter 2 (Tens): This counter only "ticks" once for every ten "ticks" of the first counter.
Example: If Counter 2 is at "3" and Counter 1 moves from "9" to "0", Counter 2 will click forward to "4". The total display changes from 39 to 40!
Summary and Quick Tips
Quick Review Box:
- 74390 = Dual (2 counters), Decade (0-9), 4-bit (Binary/BCD).
- Input: Clock pulses (falling edge).
- Output: BCD code (QA to QD).
- Reset: Set MR to High to clear to 0; keep at Low to count.
- To count to 99: Connect the output of the "Units" counter to the clock input of the "Tens" counter.
Don't worry if this seems tricky at first! Just remember that these chips are just like digital versions of a tally counter you might hold in your hand. Each click moves the number forward, and once you hit 9, the next "click" rolls it back to 0 and carries the one to the next column!