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

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
ELEC300V – Fundamental of l t bt i Electro-Robotics all 2008 Fall 2008 Lecture 13: How to control a Robot (II)? Introduction to Boolean Algebra and Logic Gate
Background image of page 1

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

View Full DocumentRight Arrow Icon
inary number Binary number ase 10 ase 2 Decimal number system – base 10, each digital is ming from the set Base 10 Base 2 0 0000 1 0001 coming from the set {0,1,2,3,4,5,6,7,8,9} inary number system se 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 01 +0 1 * 0 1 001 13 1101 14 1110 15 1111 110 111
Background image of page 2
Example of binary number operation i l Decimal Binary 7 + 5 0111 + 0101 Addition Decimal Binary 7 5 0111 X 0101 Multiplication 5 12 0101 1100 X 5 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 fter that we can use oolean Algebra (algebra that operates on the set of -After that, we can use Boolean Algebra (algebra that operates on the set of number that has only 2 elements, T or F) to manipulate the binary digit operation p
Background image of page 3

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

View Full DocumentRight Arrow Icon
ruth Value Truth Value 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 yg p combination of the inputs as logic gates There are several fundamental logic gates. Examples are: Inverter (Not) – 1 input, 1 output AND – 2 or more input, 1 output AND 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 p, p XOR– 2 or more input, 1 output XNOR– 2 or more input, 1 output
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/28/2011 for the course ELEC 300V taught by Professor C.ytsuiandmansunchan during the Fall '08 term at HKUST.

Page1 / 21

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

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online