Skip to main content

Posts

Showing posts with the label Sensors

Why I Wrote The Sheet Mechanic (And Why Calculations Aren’t Enough)

For engineers who already know the math—but still lose projects. For the last few years, I’ve been sharing technical guides here on Mechanical Design Handbook —how to size a motor, how to calculate fits, and (as you recently read) how to choose between timing belts and ball screws. But after 25 years in industrial automation, I realized something uncomfortable: Projects rarely fail because the math was wrong. They fail because: The client changed the scope three times in one week. A critical vendor lied about a shipping date (and no one verified it). The installation technician couldn’t fit a wrench into the gap we designed. University taught us the physics. It didn’t teach us the reality. That gap is why I wrote my new book, The Sheet Mechanic . This is not a textbook. It is a field manual for the messy, political, and chaotic space between the CAD model and the factory floor. It captures the systems I’ve used to survive industrial projec...

Stop trying to be a hero. Start being a mechanic.

Get the book →

The Sheet Mechanic on Amazon. Affiliate link, I earn from qualifying purchases.

Sensor Troubleshooting: Diagnostics & Design Fixes

The Engineering Hook: The Single Point of Failure A production machine can contain thousands of engineered components, yet one misaligned proximity sensor can stop the entire sequence. The hardware may be mechanically ready to run, but if the PLC never receives the expected permissive, the machine waits. Welcome to automation: where thousands of hours of mechanical design can be defeated by one sensor interlock. Sensors act as the nervous system of many high-mix, low-volume (HMLV) automated manufacturing cells. They confirm part presence, track cylinder strokes, and ensure safety doors are locked. However, because they are mounted at the very edge of the tooling, they are constantly exposed to vibration, cutting fluids, and physical impacts. When an automated sequence hangs waiting for a permissive signal, start with the physical signal path before modifying the PLC program : target condition, sensor alignment, power, wiring, I/O status, and the actual...

Optical vs Mechanical Endstops: Repeatability & Wear Guide

The Failure Scenario: You calibrate your Z-offset perfectly in the morning. By the afternoon, your first layer is too squished. You re-calibrate. The next day, it's too high. You are chasing a ghost. The Cause: It might be Mechanical Hysteresis . The spring inside your cheap limit switch wears out over thousands of cycles, causing the "click" point to drift slightly. This is why high-performance machines (like the Voron) often use Optical Endstops . They offer theoretical perfection—but they introduce a new enemy: Light Interference. Table of Contents 1. Mechanical Switches: The "Reliable" Standard 2. Optical Endstops: Frictionless Precision 3. Wiring Differences (2-Wire vs 3-Wire) 4. Common Mistakes in Practice 5. Selection Summary 1. Mechanical Switches: The "Reliable" Standard A standard mechanical endstop uses a physical lever and a spring to close a circuit. It is the workhors...

BLTouch vs Inductive Sensor: Which Auto Leveling is Best?

The Failure Scenario: You upgrade your 3D printer with a smooth Glass Bed for better adhesion. You start a print. The print head moves down to "home" Z... and crashes straight through the glass, cracking it instantly. The Cause: You were using an Inductive Sensor . It relies on magnetic fields to detect metal. Since glass is invisible to magnetism, the sensor never triggered. This is the main reason engineers switch to the BLTouch . While Inductive sensors are faster and more durable, the BLTouch is the only reliable option for non-metallic surfaces. Table of Contents 1. Inductive Probes: The "Metal Only" Limit 2. BLTouch: The Mechanical Solution 3. Common Mistakes in Practice 4. Selection Summary 1. Inductive Probes: The "Metal Only" Limit Inductive sensors (like the LJ12A3 or PINDA) generate a high-frequency magnetic field. When metal enters this field, it creates "Eddy Currents" th...

Normally Open vs Normally Closed: Safety & Failsafes

The Failure Scenario: You wire your 3D printer's limit switch as Normally Open (NO) . One day, a mouse chews through the wire. You tell the printer to "Home." Because the wire is cut, the controller thinks the switch is open (safe). The machine crashes the nozzle into the bed and grinds the motors until you pull the plug. This is why Normally Closed (NC) is the industrial standard for safety. If the wire breaks, the machine stops immediately. Choosing between NO and NC isn't just a preference—it determines whether your machine fails safely or catastrophically. This guide explains the logic. Table of Contents 1. What is the Difference? (State Logic) 2. The Failsafe Rule (Why NC Wins) 3. Common Mistakes in Practice 4. When to Use NO vs NC Advertisement 1. What is the Difference? (State Logic) The terms refer to the state of the switch contacts when nothing is touching them . N...

LJ12A3 Sensor Wiring: Safely Connecting 12V/24V to 5V Logic

The Failure Scenario: You bought an LJ12A3 sensor because it's cheap and industrial. You hook it up to your 12V or 24V power supply. Then, you connect the signal wire directly to your 3D printer mainboard (which runs on 5V or 3.3V). Result: You just fried your microcontroller. The sensor sent 12V straight into a pin designed for 5V. Inductive sensors typically require 6V–36V to operate, but most controllers (Arduino, ESP32, STM32) can only handle 3.3V or 5V signals . You need a "Logic Level Shifter." This guide shows you the three safest ways to fix this. Table of Contents 1. The Voltage Mismatch Problem 2. Method A: The Voltage Divider (Resistors) 3. Method B: The Diode Trick (BAT85) 4. Method C: The Optocoupler (Industrial) Advertisement 1. The Voltage Mismatch Problem Most industrial sensors (like the LJ12A3 ) are designed for 24V PLC systems. While they *might* turn on at 5V, they ...

NPN vs PNP Sensors: Wiring Logic & PLC Compatibility

The Failure Scenario: You replace a broken sensor on your machine. The light on the new sensor turns on, but the machine controller never sees the signal. You likely bought a PNP sensor for an NPN input. This is the single most common wiring mistake in automation. If you get the Sinking (NPN) vs. Sourcing (PNP) logic wrong, your system simply won't work—or worse, you might short-circuit your controller board. This guide explains how to match the sensor to your hardware. Table of Contents 1. What is the Difference? (Sinking vs Sourcing) 2. How They Work (Wiring Logic) 3. Common Mistakes in Practice 4. When to Use NPN vs PNP Advertisement 1. What is the Difference? (Sinking vs Sourcing) The terms NPN and PNP refer to the internal transistor type used to switch the signal. NPN (Sinking): The sensor connects the signal wire to Ground (0V) when triggered. It "sinks" current from the c...

Mechanical Switch vs Inductive Sensor: Homing Repeatability

Your stepper motors are precise, but they are blind. Without a Home Position , your machine has no idea where it is. To fix this, you need a limit switch. The choice is usually between a cheap Mechanical Microswitch (Clicky) and an industrial Inductive Proximity Sensor (Silent). Beginners often think the "Advanced" sensor is better, but for many machines, the simple switch is actually more repeatable. If you choose the wrong sensor, your first layer will fail every time the room temperature changes. This guide explains why. Table of Contents 1. Mechanical Switches: Simple but Bouncy 2. Inductive Sensors: The Metal Detector 3. The Hidden Killer: Temperature Drift 4. Selection Summary Advertisement 1. Mechanical Switches: Simple but Bouncy A mechanical endstop is just a spring-loaded button. When the machine hits it, the circuit closes. Pros: Immune to heat, humidity, and material ty...