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




Recommended Book
Parallel Port Complete: Programming, Interfacing & Using the PC'S Parallel Printer Port
By Jan Axelson
Lakeview Research
Price: $20.83

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 LaCie USB 2.0 PCI Card (107435) Serial Adapter $
Dell: $19.99 Amazon: $19.88
J&R Music and Computer World: $22.99 B&H Photo Video Pro Audio: $17.50
Sparco: $17.99 Pcnation: $406.80

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 (1)

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

  • Recommended Deals
    CMS (USB2-CONT) Serial Adapter


    TECHONWEB: $60.88 Dell: $59.99
    Eidos Interactive Micro Innovations (USB650A) Serial Adapter


    Amazon: $24.26 Circuit City: $24.99
    Circuit City: $24.99 TheNerds: $18.99
    Next Warehouse: $23.29
    Supermicro (SYS-5035G-TB) (SYS5035GTB) Server


    Server Supply: $695.00 Amazon: $631.99
    TECHONWEB: $588.16 PCNation: $595.01
    Serversandparts: $573.00 Server Supply.com Inc: $700.00
    IBM eServer™ xSeries® 225 (86495ax)


    Server Supply: $825.00 Micropartsusa: $78.00

    RSSLatest News
    Arctic Cooling Launches Fusion 550R Power Supply
    August 27, 2008 - 4:08 AM PST
    nVidia Launches GeForce 9400 GT
    August 27, 2008 - 3:47 AM PST
    MSI Launches ‘P45-D8 Memory Lover’ Motherboard
    August 26, 2008 - 8:15 AM PST
    Lexar Launches 16 GB JumpDrive FireFly Flash Memory
    August 25, 2008 - 8:52 AM PST
    OCZ Launches Dominatrix Laser Gaming Mouse
    August 22, 2008 - 9:19 AM PST
    Lian Li Launches MAXIMA Force Power Supply Series
    August 21, 2008 - 10:00 AM PST
    Palit Launches Radeon HD 4870 Sonic Edition
    August 20, 2008 - 12:21 PM PST
    OCZ Introduces ModXStream Pro Power Supply Line-Up
    August 19, 2008 - 8:45 AM PST
    Danger Den Launches Radeon HD 4870 X2 Water Block
    August 18, 2008 - 8:08 AM PST
    Thermaltake Launches BlacX A
    August 18, 2008 - 7:30 AM PST
    .:: More News ::.

    RSSLatest Content
    AMD ATI Chips Comparison Table
    nVidia Chips Comparison Table
    Inside Intel Nehalem Microarchitecture
    OCZ Elixir Gaming Keyboard Review
    Everything You Need to Know About The QuickPath Interconnect (QPI)
    Me and Woz
    Introduction to Wireless USB (WUSB)
    Nikon Coolpix S600 Camera Review
    IDF Fall 2008: Opening Keynote
    Thecus N5200 NAS Review
    ECS GeForce 9800 GTX+ Hydra Video Card Review
    320 GB Hard Disk Drive Round-Up
    Razer Destructor Mouse Pad Review
    Sapphire HD 4870 X2 Video Card Review
    Antec Twelve Hundred Case Review

    Our Most Popular Articles
    Maximum CPU Temperature
    764,819 views
    nVidia Chips Comparison Table
    475,118 views
    AMD ATI Chips Comparison Table
    421,829 views
    ATI Radeon X1300 Pro Review
    412,065 views
    ATI Radeon X1600 XT Review
    406,944 views
    How to Find Out Your Motherboard Manufacturer and Model
    378,954 views
    Connecting Two PCs Using a USB-USB Cable
    343,065 views
    How To Correctly Apply Thermal Grease
    328,378 views
    Sempron vs. Athlon XP
    278,884 views
    Sempron 3400+ Review
    268,953 views

    Latest Threads in Our Forums
    Port Scans?
    by Grimreaper
    Hard Drive Partitioning....
    by djprov
    Evga 8800gts
    by Gabriel Torres
    Custom PC Problems!
    by Skye
    Arctic Cooling Launches Fusion 550R Power Supply
    by Hardware Secrets Team
    nVidia Launches GeForce 9400 GT
    by Hardware Secrets Team
    overclocking e8400 problem
    by andybarrel
    oc'ing e8400 with 667mhz ram
    by andybarrel
    How to Build a Small Network Using a Broadband Router
    by zahadum
    Upgrading RAM
    by Felix
    .:: Visit Our Forums ::.

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