595 Simulator

Posted in (News) by Aaron on 28-02-2011

I promise these last several months haven’t been lazy ones. I’ve been working on a whole slew of new things, one of which is a tool to help beginner electronics hobbyists.

The 595 Shift Register Simulator

Shift Registers can be a bit puzzling to someone who’s unfamiliar with them. This tool will give you a chance to see how a shift register works in real time. You control each aspect of the register, at your own pace, and there are visual cues that will show what’s going on. Each pin on the chip is explained.

I hope you find it interesting and useful!

Interactive 595 Shift Register Simulator

Posted in (News, Useful) by Aaron on 28-02-2011

For beginners, the 595 series Shift Register isn’t easy to grasp. I’ve written an interactive 595 simulator so you can learn out the 595 works without having to wire one together. Play around with it. See if you can get it to produce the output you expect.

Tragically, it looks like your browser doesn’t support Canvas. 🙁

I would recommend the most recent versions of Firefox, or Safari

“Wait a minute! How does this work? I don’t get it!”

Picture a box that has a hole on either side. Inside it has 8 spaces you can fill up. Those spaces can either hold a zero (0) or a one (1). To fill up a space, you just push a new 0 or 1 into the left-hand side. When you do, the last space in the box gets pushed out the right hand side. At any time, you can open up the box and get all 8 values at once in the order you put them in there.

That’s kind of how a shift register works. You use the Serial In Value to tell the chip if you’re going to put a 1 or a 0 in. You use the Register Clock to tell the chip you’re pushing in a value on the left hand side. You use the Latch (or Shift Register Clock) to tell the chip you want to see all the values in the box.

Try the following:

  1. Click the Serial Input Toggle button so that the SER pin goes red (that means it’s “HIGH”)
  2. Click on the Clock button (Notice the SRCLK pin goes HIGH)
  3. Now look at the Storage Register on the right. You’ve added a 1 to the beginning of the list!
  4. If you click Clock again, you’ll see another 1 added to the left side.
  5. Click the Serial Input Toggle again and the SER pin will go LOW.
  6. Click Clock, now you’ll see a 0 added to the left side.
  7. Now click on the Latch button. The values in the Storage Register are pushed out to the Shift Register. Now the output pins on the chip are also showing HIGH or LOW corresponding to the Shift Register. Lastly, you’ll see the 7-segment display has lit up as well.
  8. Press the Storage Register Reclear button and press Latch. Now both registers are clear.

Now try those steps again, except press the Latch button after each Clock press. Notice what’s happening. Once you get the hang of it. see if you can make some numbers on the 7-segment display. Figure out which segments correspond to which pins on the shift register chip.

Here are a couple of characters for the 7-segment display to get you started:

1:  00001010
2:  11101100
E:  11110100
A: 11011110

At least one person was looking for part numbers for 595 shift registers. Here are a few:


What’s the difference?
Similar part numbers usually suggest compatibility between manufacturers. The specific part number may denote a variation. For instance, the 74HC595 differs from the 74HCT595 in that it can handle a wider variation in input voltage. For beginners, the variations usually aren’t particularly important. Check the data sheet for a particular chip.

If you’re looking for one and aren’t sure where to start, I’d recommend going to SparkFun. It’s not going to be the cheapest option, but they’ll give you the right chip if you’re uncertain.