Electonic circuits and schematics
Google
  Electronic circuits schematics Home Search Most popular Sitemap  
Search circuits



Categories

Circuits & schematics

  • Audio
  • Automotive
  • Games and entertainment
  • Microcontrollers
  • Miscellaneous
  • Models and model remote control
  • Motor, light and power control
  • Oscillators and timers
  • PC related
  • Power
  • RF circuit
  • Robotics
  • Security and other sensors and detectors
  • Telephone related
  • Test and measurement
  • Video and TV
  • Electronics guide

  • The very first steps
  • On the boards
  • Measuring current and voltage
  • Capacitors
  • ICs, oscillators and filters
  • Diodes I
  • Diodes II
  • Transistors
  • Analogue integrated circuits
  • Digital integrated circuits I
  • Digital integrated circuits II

  • Electronic circuits and electronic schematics


    Schematics > PC related > Control electrical appliances using PC

    Control electrical appliances using PC

    Here is a circuit for using the printer port of a PC, for control application using software and some interface hardware. The interface circuit along with the given software can be used with the printer port of any PC for controlling up to eight equipment .
    The interface circuit shown in the figure is drawn for only one device, being controlled by D0 bit at pin 2 of the 25-pin parallel port. Identical circuits for the remaining data bits D1 through D7 (available at pins 3 through 9) have to be similarly wired. The use of opto-coupler ensures complete isolation of the PC from the relay driver circuitry.
    Lots of ways to control the hardware can be implemented using software. In C/C++  one can use the outportb(portno,value) function where portno is the parallel port address (usually 378hex for LPT1) and 'value' is the data that is to be sent to the port. For a value=0 all the outputs (D0-D7) are off. For value=1 D0 is ON, value=2 D1 is ON, value=4, D2 is ON and so on. eg. If value=29(decimal) =   00011101(binary)  ->D0,D2,D3,D4 are ON and the rest are OFF.                                 

    Click here for the sample software.
    Click here for the source code of the software (in C).

     

    Title: Control electrical appliances using PC
    Source: www.electronic-circuits-diagrams.com
    Published on: 2005-02-01
    Reads: 1388
    Print version: Print version

    Other schematics from PC related
  • A Laboratory Control System for Cold Atom Experiments
  • The 8Way Relay Board
  • Simple PC thermometer
  • PC Serial Receiver (57.6K Baud / TTL & CMOS)
  • PC based Frequency Meter
  • An Improved Infrared Receiver with Status LED
  • 7 segment rolling display using PC
  • Build your own printer cable LCD Display
  • Casio data logger
  • IrDA interface for your mainboard

  • Schematics > PC related > Control electrical appliances using PC


    українські реферати - Классификации мировых конституций реферат - subtitles - Ланцюги живлення - Torchwood subtitles - Last Boy Scout, The movie - Root Extractor circuit
    Page generation 0.013 seconds
    Control electrical appliances using PC