This presentation is the property of its rightful owner.
1 / 12

# How to Control Your Own Apparatus using PC Printer Port PowerPoint PPT Presentation

How to Control Your Own Apparatus using PC Printer Port. Viraj Vishwakantha Jayaweera. Printer Port. 1000 * 0= 0 100 * 1= 100 10 * 6= 60 1 * 4 = 4 = 164. 8 * 1 = 8 4 * 1= 4 2 * 0 = 0 1 * 1= 1 = 13. Decimal & Binary Number Systems. Decimal. Binary. 10. 2.

How to Control Your Own Apparatus using PC Printer Port

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

#### Presentation Transcript

How to Control

using

PC Printer Port

Viraj Vishwakantha Jayaweera

Printer Port

1000 * 0= 0

100 * 1= 100

10 * 6= 60

1 * 4 = 4

= 164

8 * 1 = 8

4 * 1= 4

2 * 0 = 0

1 * 1= 1

= 13

Decimal & Binary Number Systems

Decimal

Binary

10

2

1000

100

1

8

4

1

103

102

101

100

23

22

21

20

1 1 0 1 2

1 6 4

We use Ten Symbols

0 1 2 3 4 5 6 7 8 9

We use Two Symbols

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

Auto Feed

Data 0

Data 1

Initialize Printer

Data 2

Error

Data 3

Select Input

Data 4

Data 5

Data 6

Data 7

Strobe

ACK

Busy

Paper Empty

Select

Printer Port Pin Assignment

1 14

Input

Output

Output

Pins 18 – 25 Ground

Input

13 25

8 Data Outputs (378 H)

4 Other Outputs (379 H)

5 Data Inputs (37a H)

1 14

13 25

Directly Connect LED to Printer Port

VCC

LED

5V

-

+

470 ohm

Printer Port

1 14

13 25

Directly Connect LED to Printer Port

LED

470 ohm

Printer Port

D0

D1

D2

D7

5 V

230 V AC

L N

X

D1

R1

1N4007

10kohm

K2

From

Printer Port

Y

R3

RELAY

D400

10kohm

230V AC Motor

R2

R5

100kohm

3.3kohm

Output Signal Amplifier

VCC

12V

R4

3.3kohm

5

IN+

2

A

IN-

4

Comparator

¼ LM339

VA = R5 / (R1 + R5)

VA = 3.3 / 13.3

= 2.9 V

LM339 Quad Voltage Comparators IC

1 14

13 25

Simple method of use Signal Input line

Printer Port

Switch

12V

LDR

100kohm

10kohm

¼ LM339

5

To Printer

Port Input

IN+

2

IN-

4

Comparator

1 M

Preset

100kohm

5.6kohm

Input Detectors

100 k

Preset