Hardware Secrets
Home | Camera | Case | CE | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
Gabriel's Blog
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
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 $8.98
Home » Motherboard » Bus
How To Build Parallel Port Prototypes
Author: Gabriel Torres
Type: Tutorials Last Updated: October 13, 2005
Page: 5 of 7
$ Check REAL-TIME pricing for Motorbooks How to Build a Hot Rod Model Ford Dennis Parks ISBN RGMN2Y $.
Buy.com: $64.18

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 thru 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.

Pages (7): « 1 2 3 4 [5] 6 7 »
Print Version | Send to Friend | | Bookmark Article | Comments (5)

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

  • Recommended Deal.
    USB 2.0 PCI Card 5-Port Adapter Hi-Speed 5PORTIogear PCI to 5 Ports USB2.0 Card Model GIC251U - Retail


    Newegg: $19.99 Wal-Mart: $21.98
    Amazon: $17.97 CDW: $20.99

    RSSLatest News
    IN WIN LAN Party in Southern California
    November 20, 2009 - 12:37 PM PST
    Patriot Announces PS-100 SSD Series
    November 19, 2009 - 7:30 AM PST
    Antec Launches TPQ-1200 PSU
    November 18, 2009 - 11:30 AM PST
    AMD/ATI Launches Radeon HD 5970
    November 18, 2009 - 10:18 AM PST
    OCZ Launches Colossus SSD Series
    November 17, 2009 - 1:39 PM PST
    NZXT Unleashes Tempest EVO Mid-Tower Case
    November 17, 2009 - 1:06 PM PST
    nVidia Launches GeForce GT 240
    November 17, 2009 - 10:18 AM PST
    Arctic Cooling Announces Accelero TWIN TURBO PRO VGA Cooler
    November 16, 2009 - 11:46 AM PST
    PowerColor Announces PLAY! HD5770 Video Card
    November 13, 2009 - 12:51 PM PST
    G.Skill Announces Falcon II SSD Series
    November 11, 2009 - 3:31 PM PST
    .:: More News ::.

    RSSLatest Content
    Ultra X4 500 W Power Supply Review
    Seagate Barracuda XT 2 TB Hard Disk Drive Review
    Nintendo Wii Fit Plus Review
    AMD ATI Chips Comparison Table
    nVidia Chips Comparison Table
    Gigabyte G41M-ES2L Motherboard
    Netflix on Playstation 3 Review
    CM Storm Sentinel Advance Mouse Review
    Titan Skalli CPU Cooler Review
    Nexus RX-6300 630 W Power Supply Review
    Gigabyte P55-UD6 Motherboard
    Nintendo Wii Review
    SilverStone Grandia GD04 Case Review
    Can We Trust the 80 Plus Certification?
    NZXT Gamma Case Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,078,596 views
    How to Find Out Your Motherboard Manufacturer and Model
    706,589 views
    nVidia Chips Comparison Table
    679,380 views
    Connecting Two PCs Using a USB-USB Cable
    593,705 views
    How To Correctly Apply Thermal Grease
    562,713 views
    AMD ATI Chips Comparison Table
    560,314 views
    ATI Radeon X1300 Pro Review
    488,007 views
    ATI Radeon X1600 XT Review
    477,167 views
    How To Perform a BIOS Upgrade
    394,679 views
    Sempron vs. Athlon XP
    338,580 views

    Latest Threads in Our Forums
    Dell Inspiron 6000 Powers but will not boot...
    by Merman
    Ultra X4 500 W Power Supply Review
    by Merman
    IN WIN LAN Party in Southern California
    by Hardware Secrets Team
    Getting A Hard Copy
    by Trevorrross
    Am I Making The Right Choice?
    by need2know
    Is it available to mount the Zalman cooler?
    by Olle P
    dsl modem prob
    by Sherry
    Seagate Barracuda XT 2 TB Hard Disk Drive Review
    by Hardware Secrets Team
    Overclocking a dell xps 410
    by 6dracing
    How to recover mp3's, pdf & chm files, applications from formated harddrive partition
    by tomahawk 1705
    .:: Visit Our Forums ::.


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