Jump to content
Electronics-Lab.com Community

SERIAL PORT


manmohan

Recommended Posts


Look on the internet for a null modem cable. Then use the example program that comes with the IDE. After that, just experiment with the lines until you get the desired result. I know, the lines can be confusing. But remember it is intentional design of the communication system so there is no need to worry because you can't know what the design is.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Remember Two things:

1- Always connect your PC serial port directly to a buffer IC (i.e. 74245) because PC serial port is not protected from short circuit.

2- the other thing that many people forget is that the address of PC ports are in HEX, for example 370H, many people mistake it with decimal and misspell the "H" or "0x"

HTH - Shahriar

Link to comment
Share on other sites

I build a lot of equipment which uses the serial port. I have shorted the pins of the computer port many times with no incident. I have never in many years had or seen such a problem. Connection of pins 2,3 and 5 directly to equipment is safe. It is when you have one of the low powered laptops that you have a problem. They do not use standard levels. The higher levels of your connected equipment can cause them harm.

MP

Link to comment
Share on other sites

On a parallel port:
Data bits D0-D7 connect directly to an octal tri state latch and an octal tri state buffer. These are 74LS374 and 74LS244. Pins 2 through 9)
The Ack, Busy, PE, Select and Error, pins 10, 11, 12, 13, 15, go to another tri state buffer. The ack line also connets to IRQ7, Pin B27 of the ISA bus. As you can see, the only line that is not buffered is the one going to IRQ7.
However, it is always possible to pump enough high voltage into the port to burn the buffer chips or to burn a trace on the board.
This is the same concern one might have with a serial port. One could certainly connect enough high voltage to the pins to take out the buffer or traces. This is the reason many designers will use isolation. Personally, I do not think you make anything "idiot proof" enough to cover everything that the end user might do to your product, so I do not add all the extras to peripherals that I design. I make a disclaimer regarding responsibility and warranty.

MP

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...