Close

Basics: sequential 555 logic

A project log for 555 Time

A digital clock implemented in 555 timer logic

alliedenvyAlliedEnvy 12/16/2021 at 20:010 Comments

Next up is sequential logic. We could make our own from ANDN gates, but since we have an RS latch already, this would be wasteful. We just need to figure out how to set the inputs to get our desired behavior.

Let's look at our truth table again:

!RCECTh!TrSetReset
0xxxx01
10x1101
10x0100
10xx010
1100x00
1101x01
111x010
111x100


We'd like to create a basic D latch with an enable pin and a data pin. Data should be passed through when enable is high, and latched on the falling edge of enable. A reset pin would also be nice.

Clearly, !R should be our reset. We can combine Th and !Tr as our enable, if we treat Th as En and !Tr as !En, making sure to always drive them opposite to each other (we can use an inverter for this if needed). C becomes our data pin.


Latches are nice, but what would be nicer is a flip-flop. We can cascade two of our latches, with opposite clock polarities, to create a flip-flop:

Note that the first latch is of opposite polarity to our standalone D latch, to allow the flip-flop to clock in data on the rising edge of the clock signal.

We now have all the basic building blocks needed for our clock.

Discussions