Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164...

12

Transcript of Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164...

Page 1: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.
Page 2: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.
Page 3: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

Printer Port

Page 4: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

100 101 102 103

1 1000 100 10

1000 * 0 = 0

100 * 1 = 100

10 * 6 = 60

1 * 4 = 4

= 164

Decimal Binary

We use Ten Symbols

0 1 2 3 4 5 6 7 8 9

20 21 22 23

1 8 4

8 * 1 = 8

4 * 1 = 4

2 * 0 = 0

1 * 1 = 1

= 13

We use Two Symbols

0 1 or On Off or Hi Low or 0V 5V

2

1 6 4 1 1 0 1 2

Page 5: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

OutputOutput

Data 1Data 0

Data 2

Data 4Data 5

Data 3

Data 6Data 7ACKBusy

Paper EmptySelect

Strobe

InputInput

1 14

13 25

Initialize Printer

Auto FeedError

Select Input

Pins 18 – 25 Pins 18 – 25 GroundGround

OutputOutput

InputInput

8 Data Outputs (378 H)8 Data Outputs (378 H)

4 Other Outputs (379 H)4 Other Outputs (379 H)

5 Data Inputs (37a H)5 Data Inputs (37a H)

Page 6: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

1 14

13 25

-+

5V

VCC

470 ohm

LED

Printer Port

Page 7: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

1 14

13 25

LED

470 ohm

5 V

D0D1

D7

D2

Printer Port

Page 8: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

IN+

IN-

Comparator

¼ LM339

R43.3kohm

12V

VCC

R2100kohm

R3

10kohm

From

Printer Port

R5

R110kohm

3.3kohm

D400

1N4007D1

X

Y

K2

RELAY52

4

230 V ACL N

230V AC Motor

VA = R5 / (R1 + R5)

VA = 3.3 / 13.3

= 2.9 V

A

Page 9: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.
Page 10: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

1 14

13 25

Printer Port

Switch

Page 11: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.

100 k

Preset

IN+

IN-

Comparator

10kohm

12V

To Printer

Port Input

100kohm

100kohm

52

4

5.6kohm

¼ LM339

LDR

1 M

Preset

Page 12: Printer Port 10 0 10 1 10 2 10 3 11000100 10 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols 0 1 2 3 4 5 6 7.