What Is Infrared in Computer Hardware?
Also known as: infrared, IR, infrared definition IT, infrared A+ exam, wireless technologies
On This Page
Quick Definition
Infrared is a way to send signals without wires using invisible light. You probably use it daily when you press buttons on a TV remote control. In IT, it is used for things like wireless keyboards, mice, and some network connections between devices that are very close together.
Must Know for Exams
On the CompTIA A+ 220 1101 exam, infrared appears under the domain covering wireless technologies and network connectivity. Specifically, it is listed as a type of wireless connection method alongside Bluetooth, NFC, and Wi Fi Direct. Exam objectives expect you to know the characteristics of infrared, including its limited range (typically a few meters), the requirement for line of sight, and its inability to penetrate walls.
You may be asked to identify the best wireless technology for a given scenario. For example, if the question describes two devices that need to exchange data while in close proximity and directly facing each other, infrared could be the correct answer. The exam also tests your ability to distinguish infrared from other wireless technologies. If a question asks which technology does NOT require line of sight, the correct answer would be Bluetooth or Wi Fi, not infrared.
In addition, the A+ exam covers wireless peripherals like keyboards and mice. You may see questions about troubleshooting a wireless mouse that stops working when moved away from the computer or when an object is placed between the mouse and receiver. The correct diagnosis would point to an infrared connectivity issue.
For the CompTIA Network+ exam, infrared is less emphasized but still appears in the context of legacy networking technologies. You might encounter a question about IrDA and its limitations compared to modern wireless standards. Understanding infrared as a short range, line of sight technology is sufficient for exam success. It is not a high weight topic, but it is predictable and easy to score points on if you remember those basic facts.
Simple Meaning
Imagine you are standing in a dark room and you want to tell a friend across the room to turn on a light. You could shout, but if you use a flashlight, you can flash the beam in a pattern that your friend understands. Infrared works in a similar way, but the light is invisible to human eyes. It uses a special kind of light that is just below red light on the color spectrum.
Everyday remote controls for televisions and air conditioners are the most common example. When you press a button, an infrared LED (light emitting diode) on the front of the remote flashes a pattern of invisible light. A sensor on the TV picks up these flashes and decodes them into a command like change the channel or increase the volume. The communication only works if the remote is pointed directly at the TV, because infrared light travels in a straight line and cannot go through walls.
Think of it like using a key to open a door. The key has a specific shape that matches the lock. In the same way, an infrared signal has a specific pattern that matches the device it is meant to control. If you use a universal remote, it can learn the pattern for many different devices, like having a master key that works on multiple locks. Infrared is very simple, cheap, and reliable for short range, line of sight communication, but it does not work well over long distances or if something is blocking the path.
Full Technical Definition
Infrared (IR) communication is a form of wireless data transmission that uses electromagnetic radiation in the infrared spectrum, which has wavelengths longer than visible light but shorter than terahertz radiation. The typical range for consumer IR is between 700 nanometers (nm) and 1 millimeter, with most applications using the near infrared region around 850 nm to 940 nm. In IT and consumer electronics, IR is commonly used for short range, point to point communication due to its low cost and simplicity.
IR communication relies on two main components: an infrared transmitter and an infrared receiver. The transmitter is usually an infrared LED that emits light at a specific wavelength. The receiver is a photodiode or phototransistor that detects the incoming light and converts it into an electrical signal. Data is encoded using different modulation schemes. The most common is pulse width modulation (PWM), where the duration of the infrared light pulses represents binary 0s and 1s.
One widely used protocol is the Infrared Data Association (IrDA) standard, which was common in older laptops, PDAs, and printers. IrDA allowed data transfer at speeds up to 4 Mbps over distances of about 1 meter, requiring line of sight and a narrow angle of around 30 degrees. Another protocol is the Remote Control Pulse Code Modulation (RC 5), developed by Philips, which uses bi phase encoding to transmit 14 bit data packets for consumer remote controls.
In modern IT environments, infrared is less common for data networking due to the adoption of Wi Fi and Bluetooth, but it still appears in specialized areas. For example, infrared sensors are used in proximity detection, security systems, and some types of wireless peripherals like keyboards and mice. Infrared is also used in fiber optic communication, where light in the infrared range travels through glass fibers over long distances at very high speeds, but that is a separate technology.
For the A+ exam, the most relevant use of infrared is in wireless input devices and remote controls. Understanding that IR requires line of sight and has a limited range is important. Also, knowing that IR cannot penetrate walls or solid objects is a key troubleshooting point.
Real-Life Example
Think about how a library checkout system works with a barcode scanner. When you borrow a book, the librarian passes the barcode on the book in front of a laser scanner. The laser reads the pattern of black and white lines, and the computer identifies the book. Infrared is similar, but instead of a laser reading a printed code, it uses flashes of invisible light to send a code.
Now imagine you are at a security checkpoint in a building. You hold your keycard up to a reader on the wall. Inside the reader, there is a tiny infrared transmitter and receiver. When you tap your card, the reader sends an infrared signal to a sensor on the card. The card responds by sending back its unique digital code using infrared light. If the code matches what the system expects, the door unlocks.
This is exactly how a TV remote works. The remote has a small chip that stores the codes for each button. When you press the power button, the chip tells the infrared LED to flash a specific sequence of pulses very quickly. The TV has a sensor that sees these flashes and decodes them. If the pulses match the code the TV expects for power, the TV turns on.
The big limitation is that everything must be in a straight line, just like the keycard must be close to the reader. If you try to use your remote from behind a sofa, the infrared light cannot bend around corners or go through the cushion. That is why you have to point the remote directly at the device, sometimes needing to stand up or move closer. This line of sight requirement is the main difference between infrared and other wireless technologies like radio frequency (RF) used in Bluetooth or Wi Fi.
Why This Term Matters
Infrared matters in real IT work because it is still used in many devices you will support. While Wi Fi and Bluetooth have replaced IR for most data transfer, infrared is still common in peripherals like wireless keyboards and mice used in conference rooms or shared workstations. When a user reports that their wireless mouse is not working, one of the first things you check is whether there is a clear path between the mouse and the receiver. If the receiver is tucked behind a monitor or the mouse is on the other side of a desk organizer, the infrared signal will be blocked.
In security and access control systems, infrared sensors are used for motion detection. IT professionals who manage physical security for server rooms or data centers may work with infrared sensors that detect when someone enters a restricted area. Understanding how infrared works helps in troubleshooting false alarms or failed detection.
Infrared is also relevant in network troubleshooting. Some older hardware, like certain printers or industrial equipment, may still use infrared ports. Knowing that infrared requires line of sight and a limited distance helps you diagnose why a print job is not going through or why a device is not being recognized.
Additionally, infrared is used in specialized tools like thermal imaging cameras for identifying overheating components in a server rack. This is a different application, but still relies on detecting infrared radiation emitted by hot objects. For IT support, being able to identify and use infrared technology appropriately can save time and prevent incorrect replacement of working hardware.
How It Appears in Exam Questions
In certification exams, questions about infrared follow predictable patterns. One common type is the comparison question. You might be given a list of wireless technologies such as Bluetooth, Wi Fi, NFC, and Infrared, and asked which one requires line of sight to function. The answer is infrared. Another variation asks which technology has the shortest effective range, and again infrared is often the correct choice compared to Bluetooth or Wi Fi.
Scenario based questions are also frequent. For instance, you are given a situation where a user is trying to print wirelessly from a laptop to an older printer that has an infrared port. The laptop has an infrared sensor but the print job fails. The question might ask what the most likely cause is. The answer would be that the laptop is not aligned with the printer's infrared port, or there is an object blocking the path.
Configuration questions may ask about setting up an IrDA connection. While modern exams are less likely to ask for detailed IrDA setup steps, you could be asked about the maximum distance or the necessary conditions for IrDA to work. For example, a question might state that two laptops have IrDA ports and need to transfer a file. The question asks what the technician should ensure before attempting the transfer. The correct answer is that the laptops should be placed within one meter of each other and aligned so the ports face each other.
Troubleshooting questions are another pattern. A user complains that their infrared keyboard stops working when they place a coffee cup on the desk between the keyboard and the receiver. The question asks what the technician should advise. The correct response is to remove the obstruction, as infrared cannot pass through solid objects.
Finally, some questions test your knowledge of infrared wavelength properties. For example, a question might ask about the part of the electromagnetic spectrum that infrared occupies. The answer is just below visible red light. These questions are straightforward if you remember the basic facts.
Practise Infrared Questions
Test your understanding with exam-style practice questions.
Example Scenario
Sarah is an IT technician at a small office. One of the users, Mark, has an older laptop that has a built in infrared port on the side. Mark also has an infrared enabled printer from several years ago. He wants to print a document without using a cable. He places the laptop on the desk next to the printer, but the print job fails.
Sarah examines the setup. She notices that Mark placed the laptop on the left side of the printer, but the infrared port on the laptop is on the right edge. The printer's infrared port is on the front. Because the two ports are not facing each other, the infrared signal cannot travel from the laptop to the printer. Even though the devices are close together, the signal is blocked by the laptop case itself.
Sarah rotates the laptop so the infrared port faces the printer's port directly. She also moves a stapler that was sitting between them. After these adjustments, the print job goes through successfully. In this scenario, the concept of infrared requiring direct line of sight is the key. The distance was fine, but the alignment was wrong. This example shows that infrared is different from Wi Fi, which would have worked regardless of which direction the laptop faced.
Common Mistakes
Thinking infrared can travel through walls like Wi Fi or Bluetooth.
Infrared light behaves like visible light in that it cannot pass through solid objects. Walls, furniture, and even paper can block the signal. Wi Fi and Bluetooth use radio waves that can penetrate walls, so learners often assume all wireless technologies work the same way.
Remember that infrared is a form of light. If you cannot see through a wall, infrared cannot go through it either. Always check for a clear, unobstructed path between devices.
Confusing infrared with Bluetooth because both are wireless and used for peripherals.
Bluetooth uses radio waves and does not require line of sight, while infrared requires direct alignment. Many learners lump all short range wireless together without understanding the fundamental difference in how data travels.
Associate infrared with TV remotes and Bluetooth with wireless earbuds. If you have to point the device at another device, it is likely infrared.
Believing infrared has the same range as Wi Fi.
Infrared typically works only up to a few meters, and often less than one meter for IrDA data transfer. Wi Fi can work tens of meters or more. Learners who have not studied specifics may overestimate the range of infrared.
The range of infrared is very short. For exam purposes, remember that IrDA is about 1 meter. For remote controls, it is about 10 meters, but still much less than Wi Fi.
Assuming infrared is obsolete and no longer tested on exams.
Infrared is not as common as it once was, but it still appears in A+ and Network+ exams as a legacy technology. Some exam questions specifically ask about it, and ignoring it can cost points.
Treat infrared as a low priority but still important topic. Know the basics: line of sight, short range, and common uses like remote controls and older data transfer.
Thinking infrared can be used for long distance communication like fiber optics.
While both use infrared light, fiber optic cables confine the light inside a glass core and use repeaters over long distances. Free space infrared (without a cable) is limited to very short distances and is affected by environmental factors like sunlight and fog.
Distinguish between guided infrared (fiber optics) and unguided infrared (remote controls). The exam focuses on unguided infrared for short range communication.
Exam Trap — Don't Get Fooled
An exam question describes a scenario where a user wants to transfer files between two laptops that are in the same room but on different sides of a glass wall. The question asks which wireless technology would work best. Many learners choose infrared because glass is transparent and they think infrared can pass through it.
Remember that while some infrared can pass through thin glass, it is not reliable for data transfer through obstacles. For any wall or barrier, even glass, choose Bluetooth or Wi Fi. The exam expects you to know that infrared is strictly a line of sight technology, and no solid material, including glass, should be considered a reliable medium for infrared communication.
Commonly Confused With
Bluetooth uses radio waves instead of light, so it does not need a direct line of sight. You can have Bluetooth devices in different rooms or with obstacles between them. Infrared requires the devices to be facing each other with no obstructions. Bluetooth also has a longer range, typically up to 10 meters for Class 2 devices, compared to infrared which is often under 5 meters.
A wireless mouse that works from across the room, even with a desk in the way, is likely using Bluetooth. A remote control that only works when pointed directly at the TV uses infrared.
NFC works over very short distances, usually less than 10 centimeters, similar to infrared in terms of proximity. However, NFC uses radio frequency induction rather than light, so it does not require direct line of sight. NFC is commonly used for contactless payments and data exchange when devices are tapped together.
Tapping your phone on a payment terminal uses NFC. You do not have to align the phone perfectly, just bring it close. Infrared would require you to point an infrared port directly at the terminal.
Wi Fi has a much longer range, can penetrate walls, and is designed for high speed data networking. Infrared has very limited range and is not suitable for general network access. While both are wireless, Wi Fi operates in the 2.4 GHz or 5 GHz radio bands, not the light spectrum.
Browsing the internet on a laptop in a different room from the router uses Wi Fi. Transferring a file between two old laptops placed side by side with their infrared ports aligned uses infrared.
Infrared communication uses active transmission of near infrared light from a LED. Thermal imaging detects passive far infrared radiation emitted by warm objects. They are both part of the infrared spectrum but serve completely different purposes.
Using a remote control sends active infrared signals. Using a thermal camera to find a hot component in a server uses passive infrared detection.
Step-by-Step Breakdown
Transmitter encodes data
The sending device, such as a remote control or a laptop, has a chip that converts the desired action (like a key press) into a digital binary code. This code is a sequence of 1s and 0s that represent the specific command.
Modulation prepares the signal
The binary code is modulated onto a carrier wave. For consumer IR, the carrier frequency is usually 38 kHz or 40 kHz. This means the infrared LED will rapidly turn on and off at that frequency. Modulation helps the receiver distinguish the intended signal from background infrared light, like sunlight or room lighting.
Infrared LED emits pulses
The modulated electrical signal drives an infrared LED. This LED emits invisible light at a wavelength typically between 850 nm and 940 nm. The LED flashes on and off according to the carrier frequency and the encoded data. Each flash represents a part of the digital signal.
Infrared receiver detects the pulses
On the receiving device, a photodiode or phototransistor is tuned to the same wavelength as the transmitter. It detects the incoming infrared light pulses and converts them back into an electrical signal. The receiver is often covered by a dark plastic window that filters out most visible light to reduce interference.
Demodulation extracts the data
The receiver's circuitry demodulates the electrical signal by removing the carrier frequency. This leaves the original binary code that was sent by the transmitter. The signal is then converted into digital data that the receiving device can interpret.
Device executes the command
The receiving device's processor reads the decoded binary code and matches it to an action stored in its memory. For example, if the code matches the power toggle command, the TV turns on or off. The entire process happens in milliseconds.
Error handling (optional)
Some infrared protocols include error checking, such as sending the same code multiple times or using a checksum. If the receiver detects an inconsistency, it ignores the command. This reduces the chance of a false command from noise or interference.
Practical Mini-Lesson
To work effectively with infrared in IT, you need to focus on three things: line of sight, range, and modulation. The most common mistake is treating infrared like radio frequency. When a peripheral stops working, your first instinct should be to check the physical path. Look for any object, even a piece of paper or a monitor bezel, that might block the infrared beam. The receiver is usually a small dark window on the device. Make sure it is clean and not covered by stickers or dirt.
Infrared peripherals like keyboards and mice often have a dongle that plugs into a USB port. This dongle contains both the receiver and sometimes a transmitter. If the dongle is placed behind the computer case, the infrared signal from the mouse may not reach it. A simple fix is to use a USB extension cable to bring the dongle to the front of the desk, in clear view of the mouse. This is a practical technique every IT support person should know.
When troubleshooting infrared connections, also consider environmental interference. Direct sunlight contains a lot of infrared light and can overwhelm the receiver. Fluorescent lights can also flicker at frequencies that might interfere. If an infrared device works sometimes but not others, check the lighting conditions. Moving the setup away from windows or changing the angle can help.
For configuration, some older laptops allow you to enable or disable the infrared port in the BIOS or in Device Manager. If a user cannot get an infrared connection to work, check that the port is enabled. Also, the device drivers for the infrared controller must be installed. In Windows, the Infrared Device driver is typically found under System Devices.
On the networking side, if you ever work with IrDA, remember that it operates at half duplex, meaning only one device can transmit at a time. Data transfer speeds max out at 4 Mbps, which is very slow by today's standards. For file transfers, it is better to use a USB drive or network share. However, if you must use IrDA, ensure both devices have the same IrDA version or at least backward compatibility.
Finally, understand the broader context. Infrared is one of many wireless technologies. The reason it persists in some areas is its simplicity and low cost. A basic infrared LED and photodiode cost only a few cents. For applications where low cost and short range wireless control is needed, and where line of sight is acceptable, infrared is still a good choice. As an IT professional, knowing when to recommend infrared versus Bluetooth versus Wi Fi is part of your skill set.
Memory Tip
IR stands for I see Right there. Infrared needs a direct line of sight, so you must see the device right there, with no obstacles in between.
Covered in These Exams
Current Exam Context
Current exam versions that test this topic — use these objectives when studying.
220-1101CompTIA A+ Core 1 →N10-009CompTIA Network+ →220-1101CompTIA A+ Core 1 →220-1102CompTIA A+ Core 2 →Related Glossary Terms
Frequently Asked Questions
Can infrared go through glass?
Some infrared wavelengths can pass through thin glass, but it is not reliable for data communication. The glass may reflect or absorb part of the signal, and the alignment must be perfect. For exam purposes, assume infrared cannot go through any solid barrier.
Is infrared the same as Bluetooth?
No. Infrared uses light waves and requires line of sight. Bluetooth uses radio waves and can work through walls. They are different wireless technologies with different use cases.
What is the maximum range of infrared?
For remote controls, the range is typically up to 10 meters. For IrDA data transfer, the range is about 1 meter. Actual performance depends on the power of the transmitter and the sensitivity of the receiver.
Why is infrared no longer popular for data transfer?
Infrared is slower than Wi Fi and Bluetooth, and the line of sight requirement is inconvenient. Modern technologies offer greater range, speed, and ease of use. Infrared remains in use only for simple control applications like TV remotes.
What does IrDA stand for?
IrDA stands for Infrared Data Association. It is a standard for short range, line of sight infrared communication used in older devices like laptops, PDAs, and printers.
How do I fix an infrared device that is not working?
First, check for physical obstructions between the transmitter and receiver. Ensure the devices are aligned and within range. Clean the infrared windows on both devices. Also, verify that the infrared port is enabled in the device's settings or BIOS.
Does sunlight affect infrared communication?
Yes, bright sunlight contains strong infrared radiation that can overwhelm the receiver, making communication unreliable. Shading the devices or moving them out of direct sunlight can help.
Summary
Infrared is a wireless communication technology that uses invisible light to transmit data over short distances with a strict line of sight requirement. It is commonly found in everyday devices like TV remotes, and in some older computer peripherals like wireless keyboards and mice. For IT certification exams, especially CompTIA A+, you need to remember that infrared cannot penetrate walls, has a short range of around 1 meter for data transfer, and is sensitive to obstacles and environmental light.
It is often tested in comparison questions where you choose the correct wireless technology for a given scenario. While infrared is less common in modern networking, it remains a relevant topic for legacy support and basic troubleshooting. Knowing the difference between infrared and other wireless technologies like Bluetooth or Wi Fi is essential for exam success.
Keep the memory hook I see Right there in mind, and you will easily recall that infrared requires a direct, unobstructed path between devices.