Logic Gates Binary Day 3 PEOPLE 2016
Read the first page of the “Introduction to Logic Gates” worksheet
Logic Gates Performs a “logical operation” on one or more inputs Gives one output Outputs and inputs of logic gates are true (“1”) or false (“0”) AND Gate
Logic Gates and Computers Help computers transmit information between components Logic gates steer signals through a larger circuit, similar to a stoplight directing traffic
Truth Table Outlines specific input/output combinations for a logic gate AND Gate A B Y ? 1
Truth Table – A “Real Life” Example "If you wash the dishes and clean your room, you can go to the party." Wash Dishes Go to Party? Clean Room AND Gate Wash Dishes Clean Room Go to Party? No Yes ? Wash Dishes Clean Room Go to Party? No Yes ? Wash Dishes Clean Room Go to Party? No Yes Wash Dishes Clean Room Go to Party? No Yes A B Y ? 1 Wash Dishes Clean Room Go to Party? No Yes ?
Fill out page 2 of the “Introduction to Logic Gates” worksheet
Today’s Activity Use “real” logic gates – chips with built-in logic functions - to test these logical relationships Even if you think you know how to fill out the truth tables, DO THE EXPERIMENTS! In addition to filling out the worksheet, write down unexpected results and interesting observations Working with breadboards
Breadboards
Tips for Using Breadboards Connect ground to one column on the side of the breadboard and positive voltage to a second column Place your chip in the breadboard so that each pin is in a separate row – what would this look like? Use wire to connect ground and positive voltage to the same row as the appropriate pin (remember stripping the wire casing on the Christmas lights activity? You will need to do this again) Connect wire to the appropriate rows on the chip from the input(s) and output ports located on the blue IDL 800 Digital Lab
Output Light Indicator (On = 1, Off = 0) Output Connection (put output wire here, look at corresponding light for each) Connections for +5V and GND (Ground) are here Input connections (put each input wire in a different connection, use the corresponding switch for each) Input Switches (Change Input from 0 to 1)