Understanding Light in Technology: From Infrared to Ultraviolet and Beyond
Light is not just what we see with our eyes. In engineering, “light” often means any electromagnetic radiation used to sense, communicate, inspect, heat, sterilize, or measure. A TV remote, a fiber optic link, a thermal camera, and a LiDAR unit all work with different parts of the same physical spectrum.
This guide explains the electromagnetic spectrum in practical terms and shows how engineers choose the right wavelength for real products.
1. Introduction
What is electromagnetic radiation?
Electromagnetic (EM) radiation is energy that travels as coupled electric and magnetic fields. It does not need a medium like air to propagate, which is why sunlight travels through space.
A useful mental model is a “wave train”:
- Some waves are long and gentle (radio waves).
- Some waves are very short and intense (X-rays, gamma rays).
All EM waves move at the speed of light in vacuum, but they differ in wavelength, frequency, and photon energy.
Visible light vs invisible light
Human vision only covers a tiny range of the full spectrum, roughly 380 nm to 700 nm. Everything outside that range is invisible to us but still very useful in technology:
- Infrared (IR): below visible red, often used in sensing and communication
- Ultraviolet (UV): above visible violet, used in sterilization and fluorescence
- Radio and microwaves: wireless communication
- X-rays and gamma rays: imaging and high-energy applications
Wavelength, frequency, and photon energy
You do not need heavy math to use these concepts correctly:
- Wavelength ($\lambda$): physical spacing between wave peaks
- Frequency ($f$): how many wave cycles pass per second
- Photon energy ($E$): energy carried by one photon
Relationships:
$$ f = \frac{c}{\lambda} $$
$$ E = h f = \frac{h c}{\lambda} $$
Where $c$ is the speed of light and $h$ is Planck’s constant.
Engineering takeaway:
- Shorter wavelength -> higher frequency -> higher photon energy
- Higher photon energy can enable stronger material interaction, but often increases safety and handling requirements
Why engineers care about different wavelengths
Different wavelengths interact differently with matter. This directly affects system performance:
- Penetration depth in materials
- Reflection vs absorption
- Sensor sensitivity
- Eye safety risk
- Atmospheric attenuation
- Cost and availability of emitters/detectors
If wavelength selection is wrong, even excellent firmware and hardware design cannot save product performance.
Did You Know? The visible band is less than 1 octave wide in wavelength, while the full electromagnetic spectrum spans many orders of magnitude.
2. Overview of the Electromagnetic Spectrum
Spectrum map and practical view
flowchart LR
A[Radio\nkm to m\nLowest energy] --> B[Microwave\nm to mm]
B --> C[Infrared\n1 mm to 700 nm]
C --> D[Visible\n700 to 380 nm]
D --> E[Ultraviolet\n380 to 10 nm]
E --> F[X-rays\n10 to 0.01 nm]
F --> G[Gamma rays\n< 0.01 nm\nHighest energy]
Regions, ranges, and typical applications
| Spectrum region | Typical wavelength range | Relative photon energy | Common technology applications |
|---|---|---|---|
| Radio waves | 100 km to 1 m | Very low | AM/FM, broadcasting, RF links, IoT sub-GHz |
| Microwaves | 1 m to 1 mm | Low | Wi-Fi, radar, satellite links, microwave ovens |
| Infrared (IR) | 1 mm to 700 nm | Low to medium | Infrared technology in remotes, thermal sensing, fiber optics |
| Visible light | 700 nm to 380 nm | Medium | Displays, cameras, machine vision, lighting |
| Ultraviolet (UV) | 380 nm to 10 nm | Medium to high | Ultraviolet applications in sterilization, curing, fluorescence |
| X-rays | 10 nm to 0.01 nm | High | Medical imaging, industrial NDT inspection |
| Gamma rays | below 0.01 nm | Very high | Nuclear medicine, radiation processing, astrophysics |
Notes:
- Boundaries vary slightly across textbooks and standards.
- Engineering systems are designed around source and detector availability, not only strict spectral definitions.
3. Visible Light
RGB colors and how displays create images
Visible imaging systems usually work with RGB channels:
- Red, Green, Blue primaries are mixed to produce many colors.
- Display pixels contain subpixels with controlled intensity.
- Cameras often use Bayer patterns (RGGB) and reconstruct full color in software.
White LEDs
Most white LEDs are actually blue LEDs with a phosphor coating:
- Blue pump light excites phosphor
- Phosphor re-emits broader spectrum light
- Result appears white
Important specs:
- Correlated Color Temperature (CCT)
- Color Rendering Index (CRI)
- Luminous efficacy
LED vs laser in visible systems
| Feature | LED | Laser |
|---|---|---|
| Emission bandwidth | Broad | Narrow |
| Beam divergence | Wide | Very low |
| Coherence | Incoherent | Coherent |
| Speckle artifact | Low | Can be significant |
| Typical use | Indicators, lighting, camera illumination | Projection, scanning, precise alignment |
Human eye sensitivity
Human photopic vision peaks near 555 nm (green). This matters for:
- Perceived brightness in HMI and automotive indicators
- Camera-to-human visual matching
- Traffic system signal design
Visible light applications
- Displays: LCD, OLED, microLED
- Cameras: smartphones, industrial cameras
- Optical sensors: ambient and color sensors
- Machine vision: defect detection, OCR, guidance
- Traffic systems: signal lights, ANPR cameras
- Industrial automation: barcode reading, alignment checks
- Consumer electronics: gesture sensing, camera autofocus assist
Did You Know? A green LED with lower optical power can look brighter than a red LED with higher optical power because the eye is more sensitive to green.
4. Infrared (IR)
Infrared technology is one of the most practical and cost-effective tools in embedded systems.
IR bands
| IR band | Typical range | Typical use |
|---|---|---|
| Near-IR (NIR) | 0.7 to 1.4 um | Remote controls, 850/940 nm emitters, NIR imaging, proximity sensing |
| Mid-IR (MIR) | 1.4 to 3 um (often extended to 8 um in some contexts) | Gas sensing, spectroscopy, thermal signatures |
| Far-IR (FIR) | 8 to 15 um (commonly called long-wave IR in imaging) | Thermal cameras, passive heat detection |
Why IR is invisible to humans
Human retinal photoreceptors are tuned to visible wavelengths. IR photons in common NIR bands do not trigger the same visual response strongly enough for perception.
IR applications engineers use daily
- TV remote controls (typically ~940 nm)
- Distance sensors (reflective IR, triangulation, ToF)
- Presence detection (active IR break-beam, passive IR/PIR)
- Thermal cameras (long-wave IR)
- Night vision systems
- Face recognition (structured light or NIR illumination)
- Occupancy detection in buildings
- Industrial non-contact temperature measurement
- Fiber optic communication windows:
- 850 nm (short-reach multimode)
- 1310 nm (low dispersion window)
- 1550 nm (low attenuation, long-haul telecom)
Common IR sensors
| Sensor type | How it works | Strengths | Limitations |
|---|---|---|---|
| Photodiode | Converts incident photons to current | Fast response, linear behavior | Needs analog front-end design |
| Phototransistor | Light controls transistor conduction | Simple interface, higher gain | Slower than photodiodes, more temperature dependence |
| IR receiver module | Integrated demodulation (for coded IR signals) | Noise rejection, easy MCU interface | Not suitable for raw distance measurement |
| Time-of-Flight sensor | Measures photon travel time or phase shift | Accurate distance, compact modules | Costlier, affected by reflectivity and sunlight |
Did You Know? Some smartphone cameras can see near-IR if the IR-cut filter is removed, which is why dedicated imaging systems carefully control optical filtering.
5. Ultraviolet (UV)
Ultraviolet applications are powerful, but safety discipline is mandatory.
UV sub-bands
| UV type | Approximate range | Typical engineering uses |
|---|---|---|
| UV-A | 315 to 400 nm | Fluorescence, counterfeit detection, curing |
| UV-B | 280 to 315 nm | Specialized medical/biological effects, testing |
| UV-C | 100 to 280 nm (common germicidal around 254 nm and 265-280 nm LEDs) | Sterilization and water purification |
UV applications
- Water purification systems
- Sterilization chambers and HVAC disinfection
- Medical devices and lab tools
- Counterfeit detection in currency/documents
- PCB photoresist exposure
- Resin 3D printers (typically UV-A/violet range)
- Fluorescence analysis in diagnostics and material inspection
UV safety concerns
- Eye damage risk (photokeratitis, retinal injury depending on wavelength)
- Skin damage and long-term exposure risk
- Ozone generation with some UV wavelengths
- Material degradation (plastics, seals, coatings)
Engineering controls:
- Shielding and interlocks
- Exposure timers and fail-safe shutdown
- Wavelength-specific PPE
- Safety labels and service procedures
6. Lasers
What makes laser light different?
A laser is not just “brighter light.” It has specific properties:
- Coherence: fixed phase relationship
- Narrow spectral width
- Low divergence (highly directional beam)
- High power density at the target
Coherent vs incoherent light
- Coherent (laser): photons are phase-aligned, enabling precise ranging and interferometry
- Incoherent (LED/lamp): random phase, better for diffuse illumination
Common laser wavelengths in technology
- 405 nm: curing, Blu-ray, precision imaging
- 650 nm: low-cost visible red pointers/scanners
- 780 nm: optical storage legacy systems
- 850 nm: NIR sensing, some LiDAR architectures
- 905 nm: automotive and industrial LiDAR
- 940 nm: eye-safer NIR illumination and sensing
- 1310/1550 nm: fiber optic communication
Laser applications
- LiDAR for mapping and ranging
- Barcode scanners
- Fiber optics communication links
- Distance measurement and surveying
- Industrial cutting/marking/welding
- Medical surgery and ophthalmology
Laser design notes:
- Regulatory class (Class 1, 2, 3R, etc.) heavily impacts product architecture
- Optics contamination, alignment drift, and thermal stability are common failure sources
7. Optical Sensors Used in Embedded Systems
Optical sensors are now standard building blocks in embedded systems.
Key sensor families
- Ambient light sensors: automatic screen brightness and adaptive lighting
- Color sensors: RGB and color temperature classification
- IR sensors: proximity, gesture, and break-beam sensing
- UV sensors: UV index and process monitoring
- Photodiodes: raw high-speed optical signal conversion
- CCD vs CMOS image sensors: imaging pipelines
- Time-of-Flight sensors: depth and distance
- Optical encoders: shaft position and speed feedback
CCD vs CMOS image sensors
| Feature | CCD | CMOS |
|---|---|---|
| Readout architecture | Charge shifted across array | Per-pixel/column active circuitry |
| Noise performance (historically) | Excellent legacy reputation | Strongly improved, often very competitive now |
| Integration | Lower digital integration | High on-chip integration |
| Power consumption | Typically higher | Typically lower |
| Typical modern use | Niche scientific/industrial | Dominant in phones, machine vision, embedded cameras |
Typical embedded interfaces
| Interface | Where common | Why used |
|---|---|---|
| I2C | Ambient light, color, UV, ToF modules | Simple multi-device bus, low pin count |
| SPI | High-speed ADC/image paths, some sensors | Higher throughput and deterministic timing |
| Analog output | Photodiodes with transimpedance stage, simple sensors | Very low latency and simple MCUs |
| UART | Smart sensor modules, barcode engines, LiDAR modules | Easy integration, robust firmware workflow |
8. How Engineers Choose the Right Wavelength
Wavelength choice should be a structured engineering decision.
Selection checklist
- Detection distance
- Long range may favor lasers, narrow FOV optics, and lower atmospheric attenuation bands.
- Material properties
- Dark plastics, shiny metal, glass, water, and skin all reflect/absorb differently by wavelength.
- Ambient lighting
- Sunlight can saturate NIR systems; modulated emitters and optical filtering help.
- Cost and supply chain
- Commodity 850/940 nm components are often cheaper and easier to source.
- Safety requirements
- Eye-safe limits can force lower power or alternate wavelengths.
- Accuracy and resolution
- ToF, triangulation, and imaging have different error profiles.
- Power consumption
- Battery products need duty cycling and low quiescent sensor modes.
- Environmental conditions
- Dust, fog, rain, steam, and temperature drift can dominate field behavior.
Practical rule
Start from the sensing problem, not from the sensor in stock. Define required performance first, then derive wavelength and sensor architecture.
9. Real-World Examples
Smartphone proximity sensor
Uses NIR emitter and receiver near the earpiece. During calls, it detects face proximity and disables touch.
Automatic brightness adjustment
Ambient light sensor (usually I2C) measures scene lux and drives display backlight control.
Face ID and structured light
NIR pattern projection and IR camera capture depth geometry for secure biometric matching.
Drone obstacle detection
Uses stereo cameras, ToF modules, or LiDAR depending on range, weight, and latency constraints.
Autonomous vehicles
Sensor fusion combines cameras, radar, and LiDAR to handle dynamic environments and edge cases.
Smart home occupancy sensors
Passive IR (PIR) plus mmWave and ambient sensing reduce false triggers and improve presence detection.
Industrial conveyor object detection
Through-beam or retroreflective optical sensors detect parts at high speed in industrial automation lines.
Medical pulse oximeters
Dual wavelengths (commonly red and IR) estimate blood oxygen saturation from absorption differences.
Barcode readers
Laser or LED illumination plus photodetector/camera decoding depending on required speed and symbol type.
Thermal inspection cameras
Long-wave IR imaging reveals hot spots in PCBs, motors, switchgear, and building diagnostics.
Did You Know? Pulse oximetry works because oxyhemoglobin and deoxyhemoglobin absorb red and infrared light differently.
10. Advantages and Limitations
IR vs Visible vs UV
| Attribute | Infrared (IR) | Visible | Ultraviolet (UV) |
|---|---|---|---|
| Human visibility | Invisible | Visible | Invisible |
| Typical sensing use | Proximity, thermal, ranging | Imaging, machine vision, HMI | Fluorescence, curing, sterilization |
| Ambient interference | High in sunlight (NIR) | High in bright scenes | Lower sunlight impact in controlled systems but safety-sensitive |
| Safety complexity | Medium | Low to medium | High |
| Cost ecosystem | Mature and affordable | Very mature | Growing, can be higher for robust systems |
LED vs Laser
| Attribute | LED | Laser |
|---|---|---|
| Beam control | Broad, diffuse | Narrow, directional |
| Precision ranging | Limited | Excellent |
| Eye safety management | Usually easier | More strict |
| Cost | Usually lower | Usually higher |
| Best fit | Illumination, indicators, broad sensing | LiDAR, scanners, precision measurement |
Camera vs Photodiode
| Attribute | Camera sensor | Photodiode |
|---|---|---|
| Data richness | High (2D/3D scene) | Low (intensity/time domain) |
| Processing load | High | Low to medium |
| Latency | Higher pipeline complexity | Very low potential latency |
| Cost | Medium to high | Low |
| Best fit | Machine vision and classification | Fast thresholding, simple optical detection |
Thermal camera vs IR distance sensor
| Attribute | Thermal camera | IR distance sensor |
|---|---|---|
| Output | Temperature map/image | Distance or presence |
| Use case | Hotspot analysis, inspection | Proximity, range gating |
| Data bandwidth | High | Low |
| Cost | Higher | Lower |
| Typical deployment | Diagnostics and predictive maintenance | Embedded control loops |
11. Design Considerations
Ambient light interference
- Use modulation and synchronous detection where possible
- Avoid direct sunlight geometry into receiver optics
- Add adaptive thresholds in firmware
Optical filters
Band-pass filters reduce out-of-band light and improve SNR. Common in NIR systems with strong visible ambient backgrounds.
Sensor calibration
Plan for:
- Factory calibration
- Field recalibration where needed
- Drift compensation vs temperature and aging
Reflective vs transmissive sensing
- Reflective: emitter and detector on same side, target reflectance matters
- Transmissive: beam is interrupted, often more robust for binary detection
Eye safety
- Follow IEC/laser safety standards and product class constraints
- Include protective housings and fault monitoring
IP ratings and enclosure design
- Lens contamination, fogging, and gasket aging reduce optical reliability
- Select enclosure window materials that transmit intended wavelengths
Temperature effects
- LED output and detector response shift with temperature
- Dark current rises in many photodetectors
- Add compensation curves and thermal design margin
Power consumption
- Duty cycle emitters aggressively in battery products
- Use interrupt-driven sensing and low-power modes
- Model worst-case active optical load in energy budget
12. Future Trends
Optical technology is moving quickly across embedded systems and industrial automation.
LiDAR evolution
- Higher channel counts, better solid-state architectures
- Cost reduction for automotive and robotics
VCSELs
Vertical-Cavity Surface-Emitting Lasers are enabling compact 3D sensing arrays in phones, wearables, and robotics.
Hyperspectral imaging
Captures many narrow spectral bands, enabling advanced material classification beyond RGB machine vision.
Silicon photonics
Integrates optical and electronic functions, promising faster interconnects and compact sensing platforms.
Optical AI sensors
Smart sensors increasingly run edge inference to reduce data bandwidth and latency.
Smart factories and robotics
Machine vision and optical metrology are central to adaptive industrial automation and quality control.
Autonomous vehicles
Multi-sensor optical stacks (camera + LiDAR + IR) will continue to improve perception robustness.
AR/VR sensing
Depth sensing, eye tracking, and scene understanding rely on compact NIR emitters and camera modules.
Did You Know? VCSEL arrays helped make consumer-grade depth sensing practical by enabling compact, low-power structured light projection.
Summary
The electromagnetic spectrum is a single physical framework, but each region provides different engineering opportunities. Infrared technology dominates proximity, ranging, and fiber links. Visible light powers imaging and machine vision. Ultraviolet applications unlock sterilization, curing, and fluorescence workflows. Laser-based systems add precision when directionality and coherence matter.
For embedded systems engineers, the right wavelength choice is rarely about one specification. It is about balancing sensing performance, environment, safety, power, cost, and manufacturability.
Key Takeaways
- The electromagnetic spectrum spans from low-energy radio waves to high-energy gamma rays, and only a small part is visible to humans.
- Wavelength selection strongly affects detection reliability, material interaction, safety, and product cost.
- Infrared technology is foundational in embedded sensing, from remotes and occupancy sensing to ToF ranging and fiber optics.
- Ultraviolet applications are powerful for sterilization and fluorescence but require strict safety engineering.
- Laser systems enable high-precision ranging and scanning, while LEDs remain ideal for broad illumination and low-cost designs.
- Optical sensors in embedded systems commonly use I2C, SPI, analog outputs, and UART depending on bandwidth and integration needs.
- Strong design practice includes optical filtering, calibration, ambient light mitigation, eye safety controls, and thermal compensation.
- Future platforms such as LiDAR, VCSEL-based depth sensing, hyperspectral imaging, and silicon photonics will expand what embedded optical systems can do.