Article
COM Port Tester
With 3 LEDs and 4 switches
The serial port (often called the COM port) is perfect for connecting various electronic circuits to the PC. The complexity of the connected circuit varies from a few I/O lines to control something and read the state of switches, to a complex communications system between several computers. This circuit is in the first category and uses the serial port to perform a few simple I/O tasks.The COM Port Tester is a simple circuit that shows how the signals on a serial port can be used to control another electronic circuit. We will have to disappoint those of you who expect to use the serial port to control motors and lights etc. This circuit is limited to driving three LEDs and reading the state of four switches, nothing more and nothing less.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1,R2,R3 = 2k?2
R4-R8 = 10k?
Semiconductors:
D1 = LED, 3mm, green, low-current
D2 = LED, 3mm, yellow, low-current
D3 = LED, 3mm, red, low-current
Miscellaneous:
K1 = 9-way sub-D socket (female), angled pins, PCB mount
S1-S5 = slide switch or rocker switch, 1 make contact
9-V battery with clip-on leads
PCB, available from The PCBShop
Disk, project software, order code 020388-11
R1,R2,R3 = 2k?2
R4-R8 = 10k?
Semiconductors:
D1 = LED, 3mm, green, low-current
D2 = LED, 3mm, yellow, low-current
D3 = LED, 3mm, red, low-current
Miscellaneous:
K1 = 9-way sub-D socket (female), angled pins, PCB mount
S1-S5 = slide switch or rocker switch, 1 make contact
9-V battery with clip-on leads
PCB, available from The PCBShop
Disk, project software, order code 020388-11
Discussion (0 comments)