Hardware Secrets


Home | Camera | Case | CE | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
Editorial
First Look
Gabriel’s Blog
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
Facebook
Forums
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Twitter
Newsletter
Subscribe today!
Search




Recommended
Parallel Port Complete: Programming, Interfacing, & Using the PC's Parallel Printer Port
Parallel Port Complete: Programming, Interfacing, & Using the PC's Parallel Printer Port, by Jan Axelson (Lakeview Research), starting at $14.00
Home » Motherboard » Bus
How To Build Parallel Port Prototypes
Author: Gabriel Torres
Type: Tutorials Last Updated: October 13, 2005
Page: 5 of 7
Real-time pricing for Iogear GCS22U.
IOGEAR 2-Port USB KVM Switch with Cables and Remote GCS22U Black ELA501002 Electronics Usually ships in 24 hours
Amazon: $18.82 TigerDirect: $19.99
Newegg: $19.99 Wal-Mart: $24.98

Programming

Back in the old days of DOS programming for the parallel port was pretty easy: it was just a matter of sending to the parallel port I/O address (378h) the value you wanted to be there. On modern versions of Windows, however, this is not possible, because the operating system doesn’t allow direct calls to the PC hardware, including the parallel port.

So, the easiest way to send data to the parallel port is to download a finished program, like Relaistimer. This program is really simple but will allow you to explore all the basic parallel port capabilities.

Relaistimer
click to enlarge
Figure 8: RelaisTimer.

On this program you can turn each bit on or off by pressing keys F1 through F8, if you want to turn all on just click on ”X“, if you want to turn all off just click on ”O“. You can also turn on or off individual LEDs by click with the mouse on correspondent LED on the LED diagram on the top of the program.

You can also program when each LED will be turned on or off, allowing you to create lighting patterns or use the program as a timer, since it allows you to turn a LED or a group of LEDs on or off at a specific time of the day. Imagine that instead of a LED you have a light or a home appliance: you will be able to make your computer turn it on or off at a specific time even if you are not home. Really awesome, isn’t it?

If you are a programmer and want to write more advanced programs than RelaisTimer, you should go to http://www.logix4u.net/inpout32.htm and read how to allow your favorite programming language (C, Pascal, VB, etc) to write directly to the parallel port.

« Previous |  Page 5 of 7  | Next »
Print Version | Send to Friend | Bookmark Article | Comments (5)

Related Content
  • Computer Port Extension
  • Why Serial?
  • Installing Frontal USB Ports

  • Recommended Deal.
    Vantec UGT-FW050Vantec UGT-FW050

    Vantec 4-Port FireWire 400 PCI Host Card USA UGT-FW050 211440 Electronics Usually ships in 24 hours

    Amazon: $12.99 Wal-Mart: $10.71

    RSSLatest News
    Antec Announces the One PC Case
    February 9, 2012 - 8:06 AM PST
    Cooler Master Releases Elite 361 PC Case
    February 8, 2012 - 7:50 AM PST
    Microsoft Launches Kinect for Windows
    February 2, 2012 - 8:42 AM PST
    Transcend Announces SSD720 SSD Series
    February 1, 2012 - 7:55 AM PST
    .:: More News ::.


    © 2004-12, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)