welcome to the real world. what to do ? input from the mangonel sensors input expected by the...

11
Welcome to the Real World

Upload: kevin-ramsey

Post on 27-Dec-2015

228 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Welcome to the Real World

Page 2: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

What to do ?

• Input from the mangonel sensors

• Input expected by the software

Page 3: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

How to do ?

• Input arrives from sensors

• Logic circuit combines and inverts inputs to create a single pulse

• PICAXE measures the pulse duration and outputs the value to seven segment displays

Page 4: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

NAND gate

Input A

Input B Output

Page 5: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Basic Logic functions (gates):

AND OR

NOT

Page 6: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

JK Flip-flop

Page 7: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Pulse width meter circuit diagram

Page 8: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Model on a breadboard(find TTL or “Transistor–transistor logic” in wikipedia )

Page 9: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Work for today

No connection

DOT means wire connection

Page 10: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Identifying a microchip

19

10 18

Page 11: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software

Tips and tricks:• Be tidy: Keep the wires short. This improves

reliability.• Wire Colours does not affect the performance a

circuit, but does affect the performance of a person trying to understand it.

• Connected wires are marked with a dot.• Remember about the power supply.

– Do not forget to connect– Do not forget to switch OFF when making changes.