SN04-N NPN NO Distance Proximity Sensor Switch Module
⚙️ SN04-N Inductive Proximity Sensor
Contactless • Industrial • Metal Detection
🖼️ Infographic Overview
┌─────────────────────────────────────────────┐
│ SN04-N PROXIMITY SENSOR │
├─────────────────────────────────────────────┤
│ 🔍 Type : Inductive Sensor │
│ 🎯 Detection : Metal Objects Only │
│ 📏 Range : ~4 mm │
│ ⚡ Voltage : 10V – 30V DC │
│ 🔌 Output : NPN (Normally Open) │
│ 🔁 Response : ~500 Hz │
│ 💡 Indicator : LED Status │
│ 🧱 Protection : IP67 (Dust/Water) │
└─────────────────────────────────────────────┘📌 What is SN04-N Sensor?
The SN04-N is an inductive proximity sensor used to detect metal objects without physical contact.
👉 It is widely used in:
CNC machines
Robotics
Industrial automation
✔ Detects only metal (iron/steel) objects
⚙️ Working Principle
Sensor Coil → Magnetic Field Generated
↓
Metal Object Approaches
↓
Eddy Currents Form in Metal
↓
Magnetic Field Disturbs
↓
Sensor Output Changes (ON)
✔ When metal comes near:
Magnetic field is disturbed
Internal oscillator stops
Output signal is triggered
🔌 Wire Configuration (3-Wire)
Brown → VCC (+10–30V)
Blue → GND
Black → Output Signal (NPN)
✔ Standard industrial wiring
🔄 Output Type (Important)
🔹 NPN (Normally Open - NO)
Default state → OFF
Metal detected → ON
👉 Works like a switch to ground
👉 Needs pull-up resistor for microcontrollers
✨ Key Features
✔ Non-contact metal detection
✔ High accuracy & repeatability
✔ Fast response (~500Hz)
✔ LED indicator for status
✔ Dust, oil, and water resistant (IP67)
✔ Reverse polarity & short-circuit protection
📊 Technical Specifications
| Parameter | Value |
|---|---|
| Detection Distance | ~4 mm |
| Voltage Range | 10–30V DC |
| Output Type | NPN NO |
| Output Current | ≤ 300 mA |
| Response Frequency | ~500 Hz |
| Sensing Target | Metal only |
| Cable Length | ~1–1.5 m |
🧠 How Output Works
| Condition | Output |
|---|---|
| No metal | OFF (0) |
| Metal detected | ON (1) |
✔ LED turns ON when object detected
🛠️ Applications
🔹 CNC machine end-stop detection
🔹 3D printer auto bed leveling
🔹 Conveyor object counting
🔹 Robotics position sensing
🔹 Industrial automation systems
🔗 Arduino / Microcontroller Interface ⚠️
👉 Important:
Sensor outputs 10–30V signal
Microcontrollers use 5V / 3.3V
✔ Solution:
Use:
Voltage divider OR
Optocoupler OR
Transistor interface
Example (Safe Interface)
Sensor Output → Resistor Divider → Arduino Pin
⚡ Advantages
✅ No physical wear
✅ Works in harsh environments
✅ High durability
✅ Accurate metal detection
⚠️ Limitations
❌ Detects only metal
❌ Short range (~4mm)
❌ Needs higher voltage (not directly 5V friendly)
❌ Affected by metal type & size
💡 Pro Tips
✔ Use iron/steel target for best accuracy
✔ Keep sensing face clean
✔ Avoid wiring noise (use shielding)
✔ Always use proper voltage protection with Arduino
🧾 Summary
The SN04-N NPN NO Proximity Sensor is a robust industrial-grade sensor ideal for:
✔ Metal detection
✔ Automation systems
✔ CNC & robotics projects
👉 It’s a perfect replacement for mechanical limit switches with better durability and reliability.
