Parallel Port Interfacing and Programming


Posted on Feb 6, 2014

In interfacing AC loads, isolation is very important. This because an interfaced circuit that do not isolates the computer from the AC load have chances that the computer will be so much affected if ever the interfaced circuit will fail or be destroyed. Isolation can be done using a mechanical relay, an opto-coupler or solid-state relay. The figure below shows a 220V AC buzzer interfaced


Parallel Port Interfacing and Programming
Click here to download the full size of the above Circuit.

to the computer. The figure shows a solid state relay that is used as a switch to control a 220V buzzer. When LED lights on, current from AC source will pass through the triac and switches the buzzer on. When LED turns off, the buzzer also turns off because the current will stop flowing in the triac. A solid state relay acts as an interface between the computer and an AC load plug to an outlet. The relay is interfaced D0 of the computer port. Together with the solid state relay is a push button interfaced to S3. Write a program that will switch on the electric fan that is plug to the outlet if the push button is pressed. If the push button is pressed in the second time, the fan will turn off. Pressing the push button in the third time will switch on the fan back and so on. The program should end if a key is pressed in the keyboard.




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    voltage inverter
    Distortion Analyser
    rs232 to rs485 circuit
    4 x 25 W Car Amplifier TDA7381 Circuit
    200mW High Quality FM Transmitter With TX-200
    3W Stereo Amplifier schematic
    12v solar led night activated lamp
    wire tracer circuit
    LMV1090 Dual Input Far Field Noise Suppression Microphone Amplifier
    Modular Burglar Alarm Project
    NMEA 2000 CAN Marine Interface
    POLICE SIREN
    High performance amplifier CD Walkman -TDA1308



    Top