Unit 3 - Boolean Logic & Number Systems

Binary Practice


Logic Practice

Notes from Class

Complete truth tables for the following logic expressions:

TEJ3M Logic Equations:

(A+B)+(A∙B)

TEJ4M Logic Gates:

Hexadecimal Practice


Optional Assignment:

With a partner, create a little game where the following applies:

1) The game has two players

2) Each player either pushes a button or connects a wire to + as input.

3) A single LED comes on only once both players have connected their wire or pushed their button (Use AND IC 7408)

4) A single LED comes on for each player once they connect their own wire. (Use Transistors)

5) Your breadboard interfaces with your Raspberry Pi to programmatically determine who the "winner" is (ie: who connected their wire first). I realize you can do all of the above with software, but the idea is to stretch what you know about software by using dedicated hardware (Integrated Circuits).


You can code the game in either Python or Scratch (or any other variety of language that you can get working for this project)


To Hand In by BOTH partners (in a folder in your shared Google Drive called Boolean Logic ICs):

- A photo of your wired game

- A copy of your code

- A circuit diagram describing how the IC you have chosen works and how.


Note: Points will be deducted for not using the appropriate resistors. Resistance values should be checked with a resistor calculator and indicated on your circuit diagram.


Here is something to get you started with inputs and outputs on the Raspberry Pi:

http://raspi.tv/2013/rpi-gpio-basics-6-using-inputs-and-outputs-together-with-rpi-gpio-pull-ups-and-pull-downs