ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING Load switch for sound card. Encyclopedia of radio electronics and electrical engineering Encyclopedia of radio electronics and electrical engineering / Audio equipment At present, it has become fashionable to connect "home theater" speaker systems to a computer, however, they are distinguished from standard desktop computer speakers not only by an increased number of speakers and a stereo processor, but also by the absence (in most cases) of a headphone jack, which entails inconvenience when changing phones to speakers and vice versa. Connecting them to one jack at the same time, as well as constantly switching plugs in a sound card, is not always convenient for various reasons. To facilitate the manipulation of speakers and headphones, this load switch was assembled.
The appearance of the device is shown in the photo fig. 1. It is a relay switch that connects the selected load to the output of the sound card. The device is located in the system unit and controlled via the COM port.
The scheme of the device is shown in fig. 2. The signal is switched using two electromagnetic relays K1 and K2. The signal arrives at connector XS2 "Input" and, depending on the states of the relay, goes to connector XS1 "Output 1", designed to connect headphones, or XS3 "Output 2" - for speakers. In this design, it is of fundamental importance to which output the speakers are connected, since in the absence of a signal, it is better to connect the input of their amplifier to a common wire in order to avoid noise, this is provided for output 2. The voltage is supplied to the relay through the transistor VT1. The outputs of the COM port have the following voltage levels: log. 1 corresponds to a voltage of -5 ... -15 V, and the log. O - voltage +5 ... 15 V. An electronic key assembled on a transistor VT1 and resistors R1 and R2 must be controlled by a voltage of 0 / + 5 V; to eliminate the voltage of negative polarity, the diode VD1 is included. Diode VD2 protects the transistor VT1 from self-induction EMF when the relay is turned off. I used diodes 1 N4007, but more popular ones, for example KD522B, are also suitable. The switch uses imported NHG type P-12 relays with two groups of switching contacts. During installation, two unused outer terminals are shortened. Instead of these relays, small-sized 12 V electromagnetic relays with two groups of switching contacts are suitable. From the diagram in Fig. 2 shows that the device is suitable for sound cards with STEREO output, and most modern sound cards have four or more channels. Therefore, it was decided to supplement the design with two more channels for rear speakers and a subwoofer.
The diagram of the additional node is shown in fig. 3, and printed circuit boards of the device - in fig. 4, 5, respectively. The windings of the KZ and K4 relays must be connected in parallel to K1 and K2 (this connection can be made detachable), but it should be noted that the current limit through the KT315A transistor is 100 mA. If the total relay supply current exceeds 80 mA, a more powerful transistor should be used, for example, KT972B, but at the same time changing the resistance of the resistor R1 to 3,9 kOhm and R2 to 1,5 kOhm.
If the device is assembled correctly, then adjustment is not required. However, you will need to install the program required to manage the device. Such a program consists of two files: the directly executable AUDIO_Switch.EXE and the information file Konfig.bak; they both need to be in the same folder. If you open the last file with Notepad, you can find two lines in it; we will be interested in the second. By default, it contains text like ".COM1"; this means that the device is connected to the COM1 port. To use a different port, you need to change the contents of the string, for example, for COM2 it will look like this: ".COM2". The program was written under Windows XR and was not tested under other operating systems. After launch, it immediately minimizes to tray, which saves shortcut space on the desktop, and when it is activated with the right mouse button, you can select the listening method - through headphones or speakers.
A screenshot of the information panel is shown in fig. 6. Author: N. Nistratov, Rostov-on-Don; Publication: radioradar.net See other articles Section Audio equipment. Read and write useful comments on this article. Latest news of science and technology, new electronics: Machine for thinning flowers in gardens
02.05.2024 Advanced Infrared Microscope
02.05.2024 Air trap for insects
01.05.2024
Other interesting news: ▪ LG TVs will stop tracking users ▪ The use of sodium bismuthate will accelerate the development of electronics ▪ Music server on ARM processor ▪ Autopilot of the Chinese search engine Baidu ▪ NXP technology helps save up to 80% on electricity News feed of science and technology, new electronics
Interesting materials of the Free Technical Library: ▪ section of the site Intercoms. Article selection ▪ article Victory has a thousand fathers, but defeat is always an orphan. Popular expression ▪ article What is blood pressure? Detailed answer ▪ article Kopechnik Sakhalin. Legends, cultivation, methods of application ▪ article Money from the ashes. Focus Secret
Leave your comment on this article: All languages of this page Home page | Library | Articles | Website map | Site Reviews www.diagram.com.ua |