Where a ripple counter (two 74HC74s) lets the carry walk from stage to stage, the 161 clocks all four flip-flops together, so you can read it at any moment without catching a half-counted number. Aliases: 74161, SN74HC161, CD74HC161, synchronous binary counter, presettable counter.
Pins
| Pin | Nombre | Qu茅 hace |
|---|---|---|
| 2 | CP |
Reloj. Todo lo que ocurre, ocurre en un flanco de subida. |
| 14, 13, 12, 11 | Q0 a Q3 |
The count, Q0 the 1s bit. |
| 3 a 6 | D0 a D3 |
El n煤mero que una carga introduce. |
| 9 | PE |
Habilitaci贸n de carga en paralelo, activa en bajo. En bajo: el siguiente ciclo de reloj carga D0 a D3. |
| 7 | CEP |
Habilitaci贸n de conteo. |
| 10 | CET |
Habilitaci贸n de conteo que adem谩s controla TC. |
| 15 | TC |
Cuenta terminal: en alto cuando la cuenta es 15 y CET est谩 en alto. |
| 1 | MR |
Reinicio maestro, activo en bajo. En bajo borra la cuenta de inmediato. |
| 8 | GND |
Tierra. |
| 16 | VCC |
Alimentaci贸n, de 2 V a 6 V. |
Tabla de verdad
MR |
PE |
CEP |
CET |
CP |
Qu茅 ocurre |
|---|---|---|---|---|---|
| 0 | x | x | x | x | Clear to 0 (no clock needed) |
| 1 | 0 | x | x | flanco de subida | Cargar D0 a D3 |
| 1 | 1 | 1 | 1 | flanco de subida | Contar hacia arriba (15 pasa a 0) |
| 1 | 1 | 0 | x | x | Mantener |
| 1 | 1 | x | 0 | x | Mantener |
Two 161s make an 8-bit counter: share the clock, and wire the first chip's TC to the
second chip's CEP and CET.
Propiedades
Ninguno.
Lo que el modelo hace bien
The reset is asynchronous and the load is synchronous, which is the one difference
between the 161 and its sibling the 163 (whose reset waits for the clock too). All four
outputs move one delay after the clock edge, together. Delays are the CD74HC161
typicals at 5 V and 15 pF: 15 ns from the clock to the count and to TC, 18 ns from
MR, and 9 ns from CET to TC.
Lo que no modela
Sin tiempos de setup ni de hold respecto al reloj, y un retardo por ruta. Enciende en 0. Una habilitaci贸n que no se puede leer (flotante) en un flanco de reloj hace que el conteo sea desconocido.
Common mistakes
Esperar que PE en bajo cargue de inmediato: espera al siguiente reloj. Dejar CEP o CET flotantes, lo que impide conocer el conteo; conecta ambos a VCC para contar.
V茅elo en acci贸n
Secuencia con decodificador activa un 161 desde un oscilador con 74HC14 y decodifica su conteo con un 74HC138. 脕brelo en /templates.