Description: This circuit was designed to control a 32 channel Christmas light show from the PC serial port. Originally designed with TTL logic, it has been simplified using CMOS circuits to reduce component count. It is a fairly simple, reliable circuit that requires only 4 common CMOS chips (for 8 outputs), an optical isolator, and a few discrete components. The schematic diagram (SERIAL.GIF) illustrates the circuit with 16 outputs which can be expanded with additional 8 bit shift registers. This circuit requires physical connections be made to the computer's serial port (COM1 or 2). To the best of my knowledge, it is difficult to cause damage to yourself or your computer by improper connections to this port, but there is no guarantee that damage will not result. Use caution when making any external electrical connections. Basic RS232 serial transmission. Serial data is transmitted from the PC as a series of positive and negative voltages on a single wire which occur at predetermined times established by the baud rate. Both the transmitter and receiver must be operating at the same baud rate so that the receiver knows when to expect the next bit of information. For the PC serial port, baud rate and bit rate are the same thing, but this is not necessarily true with modems that can detect more than two states of the line. In the quiescent state, with no load on the line, the voltage on the transmit line (pin 2 of the 25 pin connector) will be about -12 relative to the signal ground (pin 7), which corresponds to a logical "1". The output impedance of the serial port is about 1K ohm which yields about 6 milliamps at 6 volts. A typical data transmission frame consists of a start bit, 8 data bits, and one to three stop bits. The start bit which is always positive, signals the beginning of the transmission and is used by the receiver to synchronize the clock so that the data bits can be sampled at the proper times. After the 9th time interval passes (start bit plus 8 data bits) a dead time occurs which allows the receiver time to get ready for the next character. This dead time is referred to as a stop bit, which is always negative or the same as the quiescent state. The circuit described here requires two stop bits of dead time for reliable operation. More sophisticated circuitry would require only one.
The circuit operates by interfacing with the PC's serial port, utilizing standard RS-232 communication protocols. The design employs four CMOS chips, specifically configured to manage up to 8 outputs each. By cascading additional 8-bit shift registers, the total output capability can be expanded to control up to 32 channels. The optical isolator included in the design serves to protect both the circuit and the PC from voltage spikes or noise that may occur on the output lines, ensuring safe operation during the light show.
The circuit's simplicity and reliability are attributed to the use of CMOS technology, which not only reduces the number of components required but also enhances power efficiency. The integration of discrete components, such as resistors and capacitors, is crucial for establishing the necessary timing and signal conditioning for the serial communication.
The RS-232 serial communication is characterized by the transmission of voltage levels that represent binary data. In this circuit, the quiescent state of the line is held at approximately -12V, designating a logical "1". The data transmission is initiated by a start bit, followed by the data bits, and concluded with stop bits, which are essential for maintaining synchronization between the transmitting and receiving devices.
To ensure reliable operation, the circuit is designed to accommodate two stop bits, which provide ample time for the receiver to prepare for the next data frame. This design consideration is particularly important in environments where timing variations may occur.
In summary, this circuit effectively combines CMOS technology with RS-232 communication principles to create a robust solution for controlling a 32-channel Christmas light display, making it an ideal choice for festive lighting control applications.This circuit was designed to control a 32 channel Christmas light
show from the PC serial port. Originally designed with TTL logic,
it has been simplified using CMOS circuits to reduce component
count. It is a fairly simple, reliable circuit that requires only
4 common CMOS chips (for 8 outputs), an optical isolator, and a
few discrete components.
The schematic diagram (SERIAL.GIF)
illustrates the circuit with 16 outputs which can be expanded with
additional 8 bit shift registers. This circuit requires physical connections be made to the
computer's serial port (COM1 or 2). To the best of my knowledge,
it is difficult to cause damage to yourself or your computer
by improper connections to this port, but there is no guarantee
that damage will not result. Use caution when making any external
electrical connections. Basic RS232 serial transmission
Serial data is transmitted from the PC as a series of positive and
negative voltages on a single wire which occur at predetermined
times established by the baud rate.
Both the transmitter and
receiver must be operating at the same baud rate so that the
receiver knows when to expect the next bit of information. For the
PC serial port, baud rate and bit rate are the same thing, but this
is not necessarily true with modems that can detect more than two
states of the line.
In the quiescent state, with no load on the line, the voltage on
the transmit line (pin 2 of the 25 pin connector) will be about
-12 relative to the signal ground (pin 7), which corresponds to a
logical "1". The output impedance of the serial port is about 1K
ohm which yields about 6 milliamps at 6 volts. A typical data
transmission frame consists of a start bit, 8 data bits, and one
to three stop bits.
The start bit which is always positive,
signals the beginning of the transmission and is used by the
receiver to synchronize the clock so that the data bits can be
sampled at the proper times. After the 9th time interval passes
(start bit plus 8 data bits) a dead time occurs which allows the
receiver time to get ready for the next character.
This dead time
is referred to as a stop bit, which is always negative or the same
as the quiescent state. The circuit described here requires two
stop bits of dead time for reliable operation. More sophisticated
circuitry would require only one.
CMOS logic integrated circuits are highly versatile devices commonly utilized in modern electronic circuits. Testing these circuits with a standard multi-meter can be challenging due to the involvement of both static and pulsing voltages. A voltage reading of half the...
This circuit includes automatic exit and entry delays, a timed bell cut-off, and a system reset feature. It is designed to support both normally-open and normally-closed switches and can accommodate standard input devices such as pressure mats, magnetic reed contacts,...
The Pulse Demodulator, as illustrated in the accompanying image, consists of a CMOS Hex Inverter. This circuit is capable of performing envelope detection on amplitude pulses.
The Pulse Demodulator utilizing a CMOS Hex Inverter is designed to extract the envelope of...
This is a simpler repeating timer circuit. It uses just one CMOS IC wired as an asymmetric oscillator. The length of time the relay remains energized and the length of time it remains de-energized are set independently.
The repeating timer circuit...
A single connection change allows division by any integer between 2 and 10. The RCA CD4017A Johnson decade counter is configured as a divide-by-7 counter. A resistor is utilized to maintain the reset line in a low state. When the...
The Pulse Demodulator, as illustrated in the accompanying image, consists of a CMOS Hex Inverter. This circuit is capable of performing envelope detection on amplitude pulses.
The Pulse Demodulator utilizing a CMOS Hex Inverter is designed to extract the envelope of...
The circuit below uses a CMOS dual D flip flop (CD4013) to toggle a relay or other load with a momentary push button. Several push buttons can be wired in parallel to control the relay from multiple locations. A high...
The new version of the RS485 interface addresses the issues associated with RTS control, which was a challenge in the previous design. However, implementing this solution requires a microprocessor, adding complexity to the design. This unit is currently being marketed,...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more