Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Infrared remote control for computer. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / infrared technology

Comments on the article Comments on the article

If you watch your favorite movies lying on the couch, or listen to WinAmp, and you are too lazy to reach for the keyboard to rewind the song or mute the sound or something else, then this device is just for you. This is something other than a regular COM infrared port controlled by any remote control, and a special program that actually controls the operation of a particular application. So, in order.

Step 1. Hardware

We will need:

- Remote control (with the exception of the "Horizontal" remotes and some Panasonic models - their carrier signal frequency is 400 kHz, and the frequency of the COM port is up to 115 kHz. Basically, remotes have a signal frequency of 30-40 kHz.)

- Radio parts:

* photodetector - the simplest option is the domestic TK-19 or TK1833. Imported analogues of TSOP 1738, TSOP1836 are also suitable. In general, any 5 volt.

The pinout is shown in Fig. 2,

*voltage stabilizer 78L05, but domestic KREN5A is also suitable. The pinout is shown in Fig.3.

*capacitor 20uF 25V

* resistors - 5.1, 10 kOhm 0,125 or 0,5 W

* LED - any. The cathode leg is shorter

*9 pin female COM connector with housing.

We assemble the "most complex" scheme shown in Fig. 1

,Infrared remote control for computer
Ris.1
N designation appointment Signal
1 DCD Sign In Data Carrier Detect
2 RxD Sign In received data
3 TxD Log out Transmitted Data
4 dtr Log out Data Terminal Ready
5 GND - Signal ground
6 DsR Sign In Data set Ready
7 RTS Log out Request To Send
8 CTS Sign In Clear to send
9 RI input Ring indicator

If there is no desire, we do not set the switch. We hook everything to leg 1 or 2. Here is the pinout of the COM connector that can be found on the Internet:

Infrared remote control for computer

But we take into account that with a signal on leg 2 it works better. Here is the pinout for the receiver:

Infrared remote control for computer

We make sure that everything is soldered correctly twice or thrice, observing all polarities, and we connect it to the computer's COM port.

-Where is the WINDOWS message about the new device ???

-No!!! And it won't! :)

Step 2. Software

WinLirc and Device controller are simple programs that require a plug-in for applications (for WinAmp, a separate plug-in is installed, for Light Alloy, it is not required).

WinLirc Driver

After starting the program will say that it needs to be configured.

Infrared remote control for computer. Detailed configuration of Winlirc

Click OK and get into the configuration menu. For the assembled circuit, set the parameters as shown in the figure below, except for the port parameter. In this parameter you specify your COM port number to which the assembled IR receiver was connected.

Infrared remote control for computer

or

Infrared remote control for computer 

(It all depends on which leg you put the receiver on, or what position the switch is in.)

To check the assembled circuit, it is necessary to temporarily select the sample.cf file in the Config line, which is located in the winlirc-0.6.5 folder by pressing the Browse... button. Then press the Raw Codes button, a window for checking signal reception will open. By pressing the buttons on any remote control in the window, packets like "Pulse: 300, space: 4000" should be received, if nothing happens, you need to check the correctness of the assembled IR receiver circuit, whether the parameters are correctly selected and whether the COM port number is specified correctly. If packets are received, then the assembled scheme can be considered correct. Close the window and return to the program settings window.

Infrared remote control for computer. How to set up Winlirc

After that, you need to tell the Winlirc driver which remote control model it will work with, for this you need to select the remote control file in the config line by clicking the Browser... button and click the OK button in the settings window. You can get the file on your remote control by downloading it from the website of the Winlirc driver developer lirc.sourceforge.net/remotes/ or by sending a request for free receipt to DeviceCTRL@Mail.ru marked "remote control file" (specify the remote control model). Everything, winlirc is configured! Click Hide Winlirc and the program will hide in tray. Press the button on the remote control and Winlirc will start responding to pressing only the selected remote control, which will be signaled by a blinking round icon in the tray. If you did not find a remote control file for your model, or you do not know the model, or for other reasons you cannot select a remote control file, then you can create it (teach Winlirc any remote control). To train Winlirc in the config line, manually specify the path and name of the new file where the training result will be written, for example:

Infrared remote control for computer. What to do to control the computer from the remote

Click Learn - a window will appear to teach Winlirc.

Infrared remote control for computer. Download winlirc

To begin with, the program will ask you to enter the name of the remote control - Please enter a name for this remote. Enter an arbitrary name for the remote control and do not use SPACES when entering!

Next, Winlirc will ask you to enter the percentage of recognition (from 1% to 99%)

Desired margin of error for this remote? (1-99, enter=25).

The higher the percentage, the more severely Winlirc will recognize the received signal in the future (if you select 99%, then Winlirc most likely will not respond to the signal from the remote control, since the signals from the remote control are not stable and not ideally the same), the smaller the parameter, so Winlirc will be more loyal to the received signals (if you select 1%, then Winlirc will respond to the remote control, but may confuse buttons and respond to interference). Experimental studies have shown that it is optimal to introduce 40%. We type and press enter, then Winlirc will write Gap and length? do not write anything on the line and press enter. Next, the program will ask you to press the same any button the required number of times in order to analyze the type of signal transmitted from the remote control. Press and release until Winlirc writes:

To finish recording buttons, enter a blank button name.

Button 1 name?

Winlirc is ready to enter a button name.

Next, you need to enter all the data of the remote control buttons. To do this, you enter the name of the button (DO NOT USE SPACES!), press enter after which Winlirc will require you to press and hold the button whose name you entered

Please press and hold down the 'BUTTON_NAME YOU ENTERED' button until told to stop.

While pressing the button on the remote control, Winlirc will receive data from the remote control, which will be indicated by an increase in the value of "matches = "

Keep the button pressed until Winlirc prompts you to save the button. (Tip: don't hold the button, but tap it very quickly.) You can choose not to do this if there are a lot of errors (the number of errors is displayed in the "faults=" value), while the button name and pressing need to be repeated, and you can also agree, then Winlirc will record the result and prompt you to enter the name of the next button.

Infrared remote control for a computer, instructions for setting up winlirk

By entering all the necessary buttons one after another, the program will write everything to a file. If you want to finish entering the buttons, then do not enter the name of the button, but leave the field blank and press enter, while Winlirc will report that the configuration has been saved. We press everywhere ok. Everything, winlirc is configured! Click Hide Winlirc and the program will hide in tray. Press the button on the remote control and Winlirc will start responding to pressing the trained remote control, which will be signaled by a blinking round icon in the tray.

After that, restart the Device controller program. It will automatically find the external Winlirc driver. Now, when you click on the remote control button, Winlirc will send the Device controller data about the click via TCP / API protocol and the name of the remote control and the name of the button will be shown in the program.

Infrared remote control for computer. How to control a computer from a distance using a winlyr remote control and a device controller

If you have a firewall and asks you to allow the connection between Winlirc and the Device controller, then you need to allow it, otherwise it will block data transfer.

After that, you need to assign a command to the buttons, for which you need to familiarize yourself with the program interface and learn how to work in it.

Author: garfield; Publication: cxem.net

See other articles Section infrared technology.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Improving the efficiency of PbS quantum dot solar cells 14.06.2024

The latest solar technology research represents a significant breakthrough in improving the efficiency of PbS quantum dot solar cells. This method, based on the use of pulsed light, offers promise for simplifying the production and expanding the applications of these cells. A research team from the Daegu Gyeongbuk Institute of Science and Technology has developed an innovative method that uses pulsed light to improve the electrical conductivity of PbS solar cells. This method can significantly reduce the processing time required to achieve similar results. PbS quantum dot solar cells have significant potential in solar technology due to their photovoltaic properties. However, the formation of defects on their surface can reduce their performance. The new method helps suppress defect formation and improve electrical conductivity. Using strong light to complete the process ... >>

Magnetic Power Bank 5000mAh 14.06.2024

Huawei introduces a convenient and multifunctional charger to the market - Huawei SuperCharge All-in-One Magnetic Power Bank. This magnetic battery allows you to quickly and conveniently charge your Huawei phone anywhere, anytime. With a thickness of just 11,26 mm and a weight of 141 grams, this portable power bank fits easily into a pocket or bag, making it ideal for travel and everyday use. Despite its compact size, this battery provides enough power to charge your phone on the go. The new product supports wired charging with a power of 25 W and wireless charging up to 15 W (and up to 30 W when connected to an adapter), providing fast charging for both the power bank itself and other devices. The battery is compatible with various fast charging protocols such as SCP, UFCS and PD, making it ideal for a wide range of devices. The power bank is also compatible with Huawei phones that support wireless charging. ... >>

Changes in a father's brain after the birth of a child 13.06.2024

A recent study conducted by scientists from the Hefei Institute of Physical Sciences of the Chinese Academy of Sciences found interesting changes in the brains of men after becoming fathers. These changes were associated with involvement in child care, sleep problems, and mental health symptoms. Scientists found that men who became fathers experienced a loss of brain volume after giving birth. This volume loss was associated with greater involvement in parenting, sleep problems, and mental health symptoms. Researchers have found significant changes in men's brains between the prenatal and postnatal periods. In particular, there was a loss of gray matter volume, especially in parts of the brain responsible for higher functions such as language, memory, problem solving and decision making. Men who paid more attention to their children and spent more time with them lost more gray matter in their brains. This also affected their mental health ... >>

Random news from the Archive

Fish evolve from anglers 11.08.2019

Anglers love bigger fish - this applies to those who stand with fishing rods on some small river, and those who walk with nets on fishing boats. Fish, like any living organism, tries to adapt to the fact that it is caught - and as a result, there are more and more fish trifles in populations. Or, in other words, there are more and more individuals that grow slowly, but mature quickly at the same time - such successfully elude fishing nets to leave offspring.

Scientists have been able to show that such changes have a genetic basis. Researchers from Cornell University and other research centers in the United States set up an experiment with the Atlantic menidia - a small fish no more than 15 cm in length. Six populations of menidia lived in laboratory aquariums, from which some of the inhabitants were periodically caught: the largest were selected from the two populations, the smallest from the other two, and finally, there were no preferences in the last two - they were randomly caught individuals of different sizes.

The difference in size between fish from different populations appeared after only four generations, and in some cases the fish differed from each other by a factor of two. The researchers analyzed the DNA of nearly 900 fish, and found corresponding changes in the genes that depended on the growth rate: small fish more often appeared those genetic variants that made the individual grow more slowly.

In fish DNA, there were often large groups of genes that changed in concert: several hundred genes had variants that increased in frequency at the same time, that is, they could be more often found all together in small individuals of a new generation. On the other hand, such gene clusters were not found in all fish that had been minced, i.e., different genetic strategies took place in the population, which made it possible to adapt to trapping.

Other interesting news:

▪ Europe's oldest silk

▪ vacuum lift

▪ One less moon

▪ An artificial nerve cell has been created

▪ Sound without speakers

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Standard instructions for labor protection (TOI). Selection of articles

▪ article Production of cinder blocks. Tips for the home master

▪ article Where do bees live that are able to kill hornets by overheating? Detailed answer

▪ article Egyptian senna. Legends, cultivation, methods of application

▪ article About correction of S-meter in CB radio station. Encyclopedia of radio electronics and electrical engineering

▪ article A complete description of the scheme of 200-watt PC power supplies. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024