﻿ Electrical control theory to explain the use of computers_Circuit Diagram World ﻿
Position: Index > Electrical Circuit >

# Electrical control theory to explain the use of computers

2014-11-23 07:31
Declaration:We aim to transmit more information by carrying articles . We will delete it soon, if we are involved in the problems of article content ,copyright or other problems.

This article is to explain the principles of using a computer controlled appliances. The combination of text read schematics would be more effective to grasp this principle. This is a circuit  using the printer port of a computer for control application using software and some interface hardware. Interface circuit and software can be given to any PC using the printer port control 8 devices. The interface circuit is shown plotted in Figure only one device, the control bits of the pin 25 pin parallel port 2 D0. The same circuit as the rest of the data bits through D7 D1 (available in pin 3-9) must be the same connection. Isolated using optocouplers ensure complete PC from the relay driver circuit. There are many ways to achieve control hardware using the software. In C / C ? One can use outportb (portno, value) function, portno is the parallel port address (usually 378 hexadecimal LPT1) and 'value' is the data to be sent to the port. Value = 0 all the outputs (D0-D7) out. Value = 1 D0, value = 2 D1, D2 value = 4, in so forth. Such as. If the value = 29 (decimal) =??? 00011101 (binary)?? -> D0, D2, D3, D4 and the rest of the. If you are the first to understand this principle, we might Duokanjibian. The principle is simple but effective.

Control electrical appliances using PC

VN:F [1.6.9_936]