Industrial & Scientific

Electronic Component Proximity Sensors: 7 Options Compared for 2026

This post contains affiliate links. As an Amazon Associate we earn from qualifying purchases.

Product details come from Amazon listings. Compare the specifications that matter to you, and check the current price and availability on Amazon before buying. How we compare

Selecting the right electronic component proximity sensor depends on the detection method, output type, and environmental conditions of your project. Inductive sensors detect metal objects, while ultrasonic sensors measure distance to any object, and Hall effect sensors respond to magnetic fields. Each type offers distinct advantages for specific applications.

This comparison covers seven sensors, including inductive, ultrasonic, and Hall effect models. We examine detection ranges, supply voltages, and output configurations to help you match the sensor to your control system. Whether you are building a robot or automating an industrial line, these options provide the necessary precision and reliability.

AT A GLANCE

Our 3 picks for different needs

2 Pcs Ultrasonic Distance Sensor for Arduino High Precision Waterproof Low Power Consumption...
03Outdoor or humid environment use

HC-SR04T Waterproof Ultrasonic Sensor (2pcs)

The waterproof integrated probe makes this ultrasonic sensor suitable for harsh measurement environments where standard modules might fail.

Read the details
Lzcdelyxiao 5Pcs NC Normally Close NPN Inductive Proximity Sensor Switch M8 Detector 2mm DC6V-36V...
05Tight space M8 installation

Lzcdelyxiao LJ8A3-2-Z/AX Inductive Sensor (5pcs)

The small M8 thread size and 2mm detection distance allow for precise sensing in compact electronic assemblies.

Read the details
Taiss 2pcs New LJ12A3-4-Z/BY Inductive Proximity Sensor Switch 4mm Detection PNP NO DC6-36V...
07PNP NO output requirement

Taiss LJ12A3-4-Z/BY Inductive Sensor (2pcs)

This Taiss model provides a PNP NO output, which is necessary for specific PLC or controller configurations that do not accept NPN signals.

Read the details

All products, in detail

EPLZON HC-SR04 Ultrasonic Module Distance Sensor fit for Arduino UNO MEGA Nano Robot XBee ZigBee...
01

EPLZON HC-SR04 Ultrasonic Module (Pack of 5)

This ultrasonic ranging module is designed for Arduino UNO, MEGA, and Nano projects. It offers a detection range from 2cm to 500cm with a precision of up to 0.3cm. The compact 45mm x 20mm x 15mm form factor makes it easy to integrate into small robots or obstacle avoidance systems.

The pack of five allows for multi-sensor setups or spare units for educational use.

  • Detection range of 2cm to 500cm with 0.3cm precision
  • Requires 5V DC power supply with less than 2mA quiescent current
Taiss 2pcs LJ12A3-4-Z/AX Proximity Switch Inductive Proximity Sensor Detection Switch NPN NC DC...
02

Taiss LJ12A3-4-Z/AX Inductive Proximity Switch (2pcs)

These cylindrical inductive sensors feature a metal shell and NPN NC output. They detect iron objects at a distance of 4mm with a 10mm diameter body. The 3-wire connection supports DC 6-36V supply voltages, making them suitable for industrial control applications. The 1.16m cable length provides flexibility for mounting in tight spaces.

  • NPN NC output with 4mm detection distance for iron
  • DC 6-36V supply voltage with 300mA output current
2 Pcs Ultrasonic Distance Sensor for Arduino High Precision Waterproof Low Power Consumption...
03Outdoor or humid environment use

HC-SR04T Waterproof Ultrasonic Sensor (2pcs)

This integrated ultrasonic sensor features a waterproof probe with a cable, suitable for humid or harsh environments. It operates at DC 5V with a total working current of 30mA. The sensor achieves a resolution of approximately 0.5cm with a maximum range of 5 meters. Its compact design and anti-interference capabilities make it ideal for outdoor distance measurement and traffic control.

  • Waterproof integrated probe with 5-meter maximum range
  • DC 5V operation with 30mA total working current
HiLetgo 2pcs NJK-5002C Hall Effect Sensor Proximity Switch NPN 3-Wires Normally Open
04

HiLetgo NJK-5002C Hall Effect Sensor (2pcs)

The NJK-5002C is a Hall effect proximity switch with a 12mm factor diameter. It operates on a 5-30VDC supply and features a 3-wire NPN connection. The effective detection distance is 0-10mm, making it suitable for detecting magnetic fields rather than just physical objects. The 37mm overall length allows for compact installation in electronic devices.

  • Hall effect sensor with 10mm effective detection distance
  • 5-30VDC supply voltage with NPN 3-wire output
Lzcdelyxiao 5Pcs NC Normally Close NPN Inductive Proximity Sensor Switch M8 Detector 2mm DC6V-36V...
05Tight space M8 installation

Lzcdelyxiao LJ8A3-2-Z/AX Inductive Sensor (5pcs)

This pack of five M8 inductive proximity sensors features a 2mm detection distance for iron objects. The NPN NC output supports DC 6-36V supply voltages. The small M8 thread size makes these sensors ideal for tight spaces where larger M12 sensors would not fit. The 3-wire connection ensures reliable signal transmission in industrial settings.

  • M8 thread size with 2mm detection distance
  • NPN NC output with DC 6-36V supply voltage
M12 Inductive Proximity Sensors NPN NO M12 Thread, 4mm Detection Distance, Metal Detection...
06

M12 Inductive Proximity Sensors NPN NO (4pcs)

These M12 inductive sensors feature a brass nickel-plated shell for durability. They offer a 4mm detection range and NPN NO output. The sensors include reverse power and short circuit protection, allowing direct connection to PLCs. The unshielded design and anti-interference features make them suitable for detecting various metals in professional equipment.

  • M12 thread with 4mm detection range and NPN NO output
  • Brass nickel-plated shell with reverse power protection
Taiss 2pcs New LJ12A3-4-Z/BY Inductive Proximity Sensor Switch 4mm Detection PNP NO DC6-36V...
07PNP NO output requirement

Taiss LJ12A3-4-Z/BY Inductive Sensor (2pcs)

These inductive proximity switches feature a PNP NO output, distinguishing them from NPN models. They detect iron at a 4mm distance and operate on DC 6-36V. The cylindrical metal shell houses a 12mm threaded body. The 110cm cable length and -25°C to +55°C operating temperature range support diverse industrial applications.

  • PNP NO output with 4mm detection distance
  • Operating temperature range of -25°C to +55°C

Head-to-Head Comparisons

EPLZON HC-SR04 vs HC-SR04T: Standard vs Waterproof

The EPLZON HC-SR04 is a standard ultrasonic module with a 500cm range and 0.3cm precision. It is ideal for indoor Arduino projects where environmental protection is not a concern. The HC-SR04T, however, features a waterproof integrated probe, making it suitable for outdoor or humid environments.

While the HC-SR04T has a slightly lower resolution of 0.5cm, its durability in harsh conditions is a significant advantage. Choose the EPLZON for general indoor use and the HC-SR04T for applications exposed to moisture or dust.

Taiss NPN NC vs PNP NO: Output Type Selection

Both Taiss sensors are M12 inductive models with a 4mm detection distance, but they differ in output type. The LJ12A3-4-Z/AX features an NPN NC output, which is common in many industrial controllers. The LJ12A3-4-Z/BY offers a PNP NO output, which is required for certain PLCs and safety circuits.

The choice between NPN and PNP depends on your control system's input requirements. Verify your controller's specifications before selecting, as the wrong output type will prevent the sensor from functioning correctly.

Lzcdelyxiao M8 vs M12: Size and Detection Range

The Lzcdelyxiao LJ8A3-2-Z/AX is an M8 sensor with a 2mm detection distance. The M8 thread size is smaller than the M12 thread size, which may be relevant for specific mounting constraints. Both operate on DC 6-36V, but the M12 model includes reverse power and short circuit protection.

Select the M8 for applications requiring the smaller thread size and the M12 for general-purpose metal detection with additional protection features.

Buying Guide

Determine the Detection Method

Inductive sensors detect metal objects without contact, making them ideal for counting metal parts. Ultrasonic sensors measure distance to any object using sound waves, suitable for level monitoring or obstacle avoidance. Hall effect sensors detect magnetic fields, useful for position sensing in motors. Choose the method that matches the material you need to detect and the environmental conditions of your application.

Match the Output Type to Your Controller

Proximity sensors typically use NPN or PNP outputs. NPN outputs sink current, while PNP outputs source current. Your PLC or microcontroller must be compatible with the sensor's output type. Additionally, check whether the sensor is Normally Open (NO) or Normally Close (NC). This determines the state of the output when no object is present.

Mismatching these parameters will prevent the sensor from communicating with your control system.

Consider Environmental Protection

Standard sensors are suitable for clean, indoor environments. For outdoor or industrial settings with dust, oil, or moisture, look for sensors with protective shells or waterproof probes. The HC-SR04T features a waterproof integrated probe, while M12 inductive sensors often have metal shells for durability. Ensure the sensor's protection rating matches the harshness of your operating environment to ensure long-term reliability.

Verify Supply Voltage and Current

Most inductive sensors operate on DC 6-36V, while ultrasonic sensors typically require 5V DC. Check the supply voltage range to ensure it matches your power supply. Also consider the current draw, as some sensors have higher quiescent or working currents. If you are powering multiple sensors from a single supply, ensure the total current draw does not exceed the supply's capacity.

For more complex power management, consider Electronic Component Motor Drives that may share similar power requirements.

Frequently Asked Questions

What is the difference between NPN and PNP proximity sensors?

NPN sensors sink current to ground, while PNP sensors source current from the supply. The choice depends on your controller's input type. NPN is common in Asian-made controllers, while PNP is often used in European systems. Always verify your PLC or microcontroller specifications before selecting a sensor.

Can inductive sensors detect non-metallic objects?

No, inductive sensors detect only metal objects, primarily iron. They work by generating a magnetic field that is disrupted by metal. For non-metallic objects, consider ultrasonic sensors, which use sound waves, or capacitive sensors, which detect changes in capacitance. Hall effect sensors detect magnetic fields, not physical objects.

How do I choose the right detection distance?

Select a detection distance that matches your application's requirements. A shorter distance, like 2mm, is suitable for precise positioning. A longer distance, like 4mm or 500cm, is better for general detection or level monitoring. Ensure the detection distance is sufficient for your specific use case to avoid false triggers or missed detections.

Are ultrasonic sensors suitable for outdoor use?

Standard ultrasonic modules are not waterproof and may fail in humid or wet conditions. However, models like the HC-SR04T feature a waterproof integrated probe, making them suitable for outdoor or harsh industrial environments. Check the sensor's protection rating to ensure it can withstand the environmental conditions of your application.

Last update on 2026-11-20 / Affiliate links / Images from Amazon Product Advertising API

Was this article helpful?

Thanks for your feedback!

Thanks — we'll work to improve this article.

Kylan Shields

Kylan Shields

Kylan Shields is the editorial byline of Tossions. Comparisons published under this name are compiled from Amazon listing data (specifications, customer ratings and availability), not from hands-on testing.