SKU: SENS-2774
📋 GST Invoice Available

HS-S40B Omnipolar Hall Magnetic Switch Module - 3.3V/5V Digital Output, PH2.0 4P Interface

₹80.00 (Inclusive of all taxes)
Out of Stock

The HS-S40B is a compact omnipolar Hall effect magnetic switch module compatible with 3.3V and 5V logic systems, including Arduino, Raspberry Pi, and other microcontrollers. It provides a digital output signal for detecting the presence of both north and south magnetic poles.

Features

  • Omnipolar Hall Effect Sensor: Detects both north and south magnetic poles without polarity-specific orientation.
  • Wide Voltage Compatibility: Operates from 3.3V to 5.5V DC, making it suitable for 3.3V logic MCUs and standard 5V Arduino boards.
  • Digital Signal Output: Provides a clean, TTL-compatible high/low signal for easy interfacing with digital I/O pins.
  • Compact & Mountable Design: Features a 28mm x 18mm PCB with 3mm mounting holes for secure installation in embedded projects.
  • PH2.0 4-Pin Connector: Includes a standardized interface for reliable cable connections and easy integration.

Out of stock

Description

The HS-S40B utilizes an omnipolar Hall effect integrated circuit to sense magnetic fields. Unlike unipolar switches, it triggers its digital output in the presence of a sufficiently strong magnetic field of either polarity, simplifying alignment in applications. The module includes onboard signal conditioning for a stable digital output.

Designed for embedded electronics and prototyping, the module features a 2.54mm pin header footprint alongside a PH2.0 4-pin connector for flexible wiring options. Its compact form factor and pre-drilled mounting holes allow for secure mechanical integration into enclosures, robotics, or industrial control systems.

Key Features

  • Omnipolar Magnetic Detection: Simplifies installation by responding to both north and south magnetic poles, eliminating polarity orientation concerns.
  • 3.3V/5V Logic Compatible: Wide operating voltage range ensures compatibility with modern 3.3V microcontrollers (ESP32, STM32) and legacy 5V Arduino boards.
  • Digital TTL Output: Provides a straightforward high (VCC) or low (GND) signal based on magnetic field presence, requiring no analog interpretation.
  • Dual Connection Interface: Offers both standard 2.54mm pin headers and a secure PH2.0 4-pin connector for reliable cable connections.
  • Optimized Mechanical Design: Compact PCB with precisely spaced 3mm mounting holes enables robust and vibration-resistant installation.
  • Clear Pin Labeling: Marked G (Ground), V (VCC), and S (Signal) pins facilitate quick and error-free wiring.
  • High-Value Build: Delivers reliable magnetic sensing performance in a cost-optimized module suitable for high-volume integration.

Applications

  • Non-Contact Position Sensing: Detecting door/window open/close status in security systems and smart home automation.
  • Rotary Encoder & RPM Sensing: Counting revolutions or detecting magnet positions on rotating shafts in motor control and instrumentation.
  • Proximity & Presence Detection: Triggering events in consumer electronics, vending machines, or industrial equipment when a magnet approaches.
  • Robotics & Limit Switches: Providing end-of-travel detection for linear actuators or robotic arms using a moving magnet.
  • Flow Metering: Counting rotations of an impeller equipped with a magnet in liquid flow measurement applications.

Technical Specifications

Operating Voltage3.3V to 5.5V DC
Output SignalDigital (TTL)
Sensing TypeOmnipolar Hall Effect
Primary InterfacePH2.0 4-Pin Connector
Secondary Interface2.54mm Pin Header
Board Dimensions (L x W)28mm x 18mm
Mounting Hole Diameter3mm
Mounting Hole Spacing10mm (center-to-center)
Module WeightApprox. 3g

Frequently Asked Questions

What is the difference between unipolar and omnipolar Hall effect sensors?

A unipolar Hall sensor only responds to one specific magnetic pole (either north or south). The HS-S40B is omnipolar, meaning it will activate its digital output when a sufficiently strong magnetic field of either polarity is detected. This simplifies installation as sensor orientation relative to the magnet's polarity is not critical.

How do I connect the HS-S40B module to an Arduino?

Connect the module's V pin to Arduino 5V (or 3.3V), G to GND, and the S (signal) pin to any digital input pin. The output is digital, so you can use `digitalRead()` to monitor its state. The module is compatible with both 5V and 3.3V logic levels on the signal line. You can use either the pin headers or the provided PH2.0 connector.

What is the output signal type of the HS-S40B?

The module provides a digital TTL output. When no magnetic field is present, the output pin (S) is in a high state (pulled up to VCC). When a magnetic field of sufficient strength (of either polarity) is detected, the output switches to a low state (GND). This clean digital signal is ideal for direct connection to microcontroller GPIO pins.

Can this sensor be used for speed or RPM measurement?

Yes, the HS-S40B is well-suited for rotational speed sensing. By attaching a magnet to a rotating object (like a motor shaft or gear) and positioning the sensor nearby, each revolution will cause the magnet to pass the sensor, toggling its digital output. You can measure the time between pulses or count pulses over a period in your code to calculate RPM.

Package Includes

  • 1 x HS-S40B Omnipolar Hall Magnetic Switch Module

Additional Information

Weight 0.003 kg
Dimensions 2.8 × 1.8 cm