Article
Switched-Outlet Power Bar withRS232 Control
Remote switching using RS232 and I2C
This circuit can be built into a power bar and used to remotely switch six socket-outlets. It is controlled via an RS232 interface and uses an I2C-bus IC (type PCF8574P) to decode the RS232 signals.A remotely switchable power bar controlled by a PC via the RS232 serial interface can be realized with a minimum of hardware and software drivers (for use under Windows, DOS and Linux) by using an IC to decode the RS232 signals and individually control each of the socket-outlets.
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-R9 = 10k?
R10,R11 = 330?
Capacitors:
C1,C3,C4 = 100nF
C2 = 220µF 25V radial
Semiconductors:
B1 = B80C1500 in round case (80V piv, 1.5A continuous)
D1,D2,D5-D10 = 1N4148
D3,D4 = zener diode 5.1V, 500mW
T1-T6 = BC547
IC1 = PCF8574 or PCF8574A
IC2 = 78L05
Miscellaneous:
JP1,JP2,JP3 = jumper or wire link
K1-K4 = 2-way PCB terminal block, lead pitch 7.5mm
K5 = 3-way SIL pinheader
K6 = 9-way sub-D socket (female), chassis mount
TR1 = mains transformer, 9V 1.5VA, (e.g., Hahn BV EI 302 2021)
RE1-RE6 = relay, Finder type
34.51.7.012.00 (12V) (Conrad Electronics # 504459)
F1 = fuse, 100mA, slow, with fuse holder and protective cover
Optional: six 1.2k? resistors and six LEDs
PCB, order code 020298-1
Disk, order code 020298-11, or Free Download)
R1-R9 = 10k?
R10,R11 = 330?
Capacitors:
C1,C3,C4 = 100nF
C2 = 220µF 25V radial
Semiconductors:
B1 = B80C1500 in round case (80V piv, 1.5A continuous)
D1,D2,D5-D10 = 1N4148
D3,D4 = zener diode 5.1V, 500mW
T1-T6 = BC547
IC1 = PCF8574 or PCF8574A
IC2 = 78L05
Miscellaneous:
JP1,JP2,JP3 = jumper or wire link
K1-K4 = 2-way PCB terminal block, lead pitch 7.5mm
K5 = 3-way SIL pinheader
K6 = 9-way sub-D socket (female), chassis mount
TR1 = mains transformer, 9V 1.5VA, (e.g., Hahn BV EI 302 2021)
RE1-RE6 = relay, Finder type
34.51.7.012.00 (12V) (Conrad Electronics # 504459)
F1 = fuse, 100mA, slow, with fuse holder and protective cover
Optional: six 1.2k? resistors and six LEDs
PCB, order code 020298-1
Disk, order code 020298-11, or Free Download)
Discussion (0 comments)