Bus lines play an important role in exchanging signals between many elements and circuits in a microcomputer. In this project, we're going to experiment with a bidirectional buffer used as a common bus for both input data and output data.
Microcomputers generally use 8-bit, 16-bit or 32-bit bus lines, but we're going to use a 1-bit bus.
What is bus?
You ride on a bus when you want to go somewhere. In computers, the data or control signals ride on a bus to go somewhere to do the job.
When you finish assembling, set the select switch SW1 up and press S1. Then set the select switch SW2 to B. LED 7 lights up.
This means that the signal data is flowing from A to B.
Now set the select switch SW1 down, press S2, and set the select switch SW2 A. You'll notice LED 7 lights up again.
This indicates that the signal data is flowing from B to A. This is how the 1 -bit bidirectional buffer works.