{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

13 - How to Control a Robot (II) - Introduction to Boolean Algebra and Logic Gates

# 13 - How to Control a Robot (II) - Introduction to Boolean Algebra and Logic Gates

This preview shows pages 1–6. Sign up to view the full content.

ELEC300V – Fundamental of El t R b ti Electro-Robotics Fall 2008 Lecture 13: How to control a Robot (II)? Introduction to Boolean Algebra and Logic G Gate

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Binary number Base 10 Base 2 Decimal number system – base 10, each digital is coming from the set 0 0000 1 0001 {0,1,2,3,4,5,6,7,8,9} Binary number system – base 2 0010 3 0011 4 0100 Binary number system base 2, each digital is coming from the set {0,1} 5 0101 6 0110 7 0111 8 1000 9 1001 10 1010 Multiplication and addition of binary number 11 1011 12 1100 13 1101 + 0 1 * 0 1 0 0 1 0 0 1 14 1110 15 1111 1 1 0 1 1 1
Example of binary number operation D i l Decimal Binary 7 + 5 0111 + 0101 Addition Decimal Binary 7 X 5 0111 X 0101 Multiplication 5 12 0101 1100 35 0111 0111 100011 -Binary digit: 0 and 1 can be represented by logic (true or False) also - 0 is equivalent to False - 1 is equivalent to True After that we can use Boolean Algebra (algebra that operates on the set of -After that, we can use number that has only 2 elements, T or F) to manipulate the binary digit operation

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Truth Value F L i h t l T (“T”) d F l (“F”) For Logic we have two values: True (“T”) and False (“F”) A logic input can be combined with another logic input in different way to form a new logic output. We call this combination of the inputs as logic gates There are several fundamental logic gates. Examples are: 1 1 Inverter (Not) – 1 input, 1 output AND – 2 or more input, 1 output NAND 2 or more input 1 output NAND – 2 or more input, 1 output OR– 2 or more input, 1 output NOR– 2 or more input, 1 output XOR– 2 or more input, 1 output XNOR– 2 or more input, 1 output
Truth Table A b l f ll h ibl f A tabular summary for all the possible outputs of a logic gate, given all the possible input values.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 21

13 - How to Control a Robot (II) - Introduction to Boolean Algebra and Logic Gates

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online