SerIn with Parallel Port output


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612

    Default Re: SerIn with Parallel Port output

    If you can get that type of control over the LPT-port you could definitely bit-bang it but wouldn't it be easier to use the serialport on the PC in conjunction with a MAX232 to bring the voltage of the line to the correct level? Depending on your actual need you may even be able to skip the MAX232, have a look at the SERIN/SEROUT sections of the manual, it'll tell you the details. Make sure you have the correct polarity (Inverted vs True) depending on if you use the MAX232 or not.

    /Henrik.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default Re: SerIn with Parallel Port output

    In 2011, I would definitely not use the parallel port for a serial comm... OR at least use the whole set of pins with handshake... OR generate a synchronous comm (SPI, I2C) with the parallel port.

    if your on a dos level that's cool, but in Windows, it's a bit hard, not impossible, to predict/generate the exact timing of any hardware like the Printer port. Hence why there's dedicated serial ports... For educational purpose it's cool though...
    Last edited by mister_e; - 7th November 2011 at 19:36.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts