![]() The only way to know which color is connect to what pin is to test with a multimeter. TX/ RX are often yellow and green, but again you cannot count on this. You might hope that signal ground is black/brown, though often it is green, or some other random color. ![]() Unfortunately, there is no standard for color coding serial lines. For most modern needs (if "modern" can be used to apply to serial port in 2013) six wires is sufficient. If you know which pins your hardware/software needs, then you would look for a cable that has those pins actually wired. Depending on your needs, the six connected pins may or may not be sufficient. Cables that connect only some of the DB-9 serial lines are widely available, though do not assume that the same six pins are connected on all DB-9 cables. The particular cable you have connects the six most popular lines. If your serial communication is one-way then you might only use two pins: TX/ RX and GND. Indeed, there is a number of possible serial connectors). (Note that sometimes particular serial cables are wired in non-standard way, but this is very rare.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |