﻿ Using computer-controlled electrical principle explanation_Circuit Diagram World ﻿
Position: Index > Electrical Circuit >

# Using computer-controlled electrical principle explanation

2014-11-14 22:35
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 the use of computer-controlled electrical principle explanation. The principle is simple but effective. For your grasp this principle more effectively, please read this text combines schematic. 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 reading this first principle, the proposed Duokanjibian, grasp this principle.

VN:D [1.6.9_936]