A shift register is a common building block in digital electronics that is used to store and move bits, for example, to convert from serial to parallel data and vice versa.
How bits move through a shift register
It is basically a group of flip-flops that can store bits, and shift its stored bits sideways by one bit-position every time it is triggered. It is made using a series of D flip-flops with the output of one connected to the input of the next. Each clock pulse triggers a shift.
In this tutorial, you will learn the different types of shift registers, how they work, and how to build them using flip-flops.
A Light-Emitting Diode (LED) is a small component that lights up when there is current flowing through it. It’s used in light bulbs, displays, lighting decorations, and much more. In electronics, it’s often used for showing the state (is the gadget turned on?).
You can see the light-emitting diode everywhere! In laptops, on mobile phones, on cameras, on toys, in our car +++.
It’s a type of diode, so it only works when you connect it with its anode towards your battery’s plus terminal.
Chances are you will be working with LEDs a lot when you start learning electronics. They are cheap and simple to use, and it’s a great way to check if your circuit is working properly or not.
A diode is a component that lets current flow in one direction and blocks it from flowing in the other direction. It has two pins; anode and cathode.
The diode symbol looks like an arrow pointing toward a line. The line represents the cathode side, and so does the line marking on the diode component itself. In the picture above, the line marking is on the left side, so that’s the cathode side.
The T Flip-Flop is a flip-flop that can toggle its output. Toggling means switching its output to its opposite; 1 becomes 0, and 0 becomes 1. This type of flip-flop is often used in counters and frequency dividers. In this quickstart tutorial, you will learn how it works, its truth table, and how to build
A breadboard is a simple and useful tool for connecting a circuit. It’s really useful for beginners as you can easily experiment and test out circuits without soldering. But it’s also useful for more experienced people since you can prototype an idea, or parts of a circuit, quickly.
I often use breadboards in my work.
Want a quick introduction to the breadboard? Check out my short video below (2:30) or continue reading.
Capacitors in series are capacitors that are connected one after the other. The result always becomes a capacitance that is lower than the lowest value. In this guide, you’ll learn why this is the case and how to calculate their combined values. And I’ll also throw in a simple rule of thumb that you can
When you connect capacitors in parallel, you connect them alongside each other. And the result becomes a capacitance with a higher value. In this guide, you’ll learn why it works like that, how to calculate the resulting capacitance, and some examples of this in practice. As you’ll soon see, this is actually very simple. How
The JK Flip-Flop is a type of flip-flop that can be set, reset, and toggled. It can be used for making counters, event detectors, frequency dividers, and much more. In this tutorial, you will learn how it works, its truth table, and how to build one with logic gates. JK Flip-Flop symbol What is a
The D Flip Flop is an edge-triggered circuit that combines a pair of D latches to store one bit. It is commonly used as a basic building block in digital electronics to create counters or memory blocks such as shift registers. In this tutorial, you will learn how it works, its truth table, and how to build one with logic gates.
The D Latch is a logic circuit most frequently used for storing data in digital systems. It is based on the S-R latch, but it doesn't have an “undefined” or “invalid” state problem. In this tutorial, you will learn how it works, its truth table, and how to build one with logic gates.
A Full Adder is a digital circuit that performs the addition of three binary inputs. In this tutorial, you will learn how this circuit works, its truth table, and how to implement one using logic gates.
A Full Adder Circuit
What is a Full Adder?
Adders can either be Half Adders or Full Adders. The difference is that the Half Adder is used to add only two 1-bit binary numbers, therefore its sum can only range from 0 to 2.
A Full Adder is able to add three 1-bit binary numbers, meaning it can take a Carry In bit from a previous adder, achieving a sum range from 0 to 3, which can be expressed with two output bits (“11”).
The S-R latch is a key circuit in digital storage units. In this tutorial, you will learn how it works, its truth table, and how to build one with different logic gates.
S-R Latch Symbol
What is an S-R Latch?
Before starting with the S-R latch you need to know what a latch is. A latch is an asynchronous circuit (it doesn’t require a clock signal to work), and it has two stable states, HIGH (“1”) and LOW (“0”), that can be used for storing binary data. Many sequential circuits and larger storage devices, such as shift registers, use latches as their principal building block.
This year’s Halloween project is a useless machine built with 555 timers. It’s a coffin with a switch. When you flip it off, a dark force rises from the coffin and flips it back on. This project uses two 555 timers to control the position of a servo motor, which was a fun challenge in itself.
A Half Adder is a digital circuit that adds binary numbers. In this tutorial, you will learn how it works, its truth table, and how to implement one using logic gates.
A Half Adder Circuit
What is a Half Adder?
A Half Adder is a digital circuit that carries out the addition of binary numbers. It’s the simplest of digital adders and you can build one using only two logic gates; an XOR gate and an AND gate.
Do you want to adjust the brightness of your Light-Emitting Diode (LED)? If we break it down to the most basic, there are two ways to change the brightness of an LED:
Changing the resistance value.
Turning it on and off fast (Using PWM).
Below I’ll explain the two options and show you circuits you can build.