50% OFF! Hot items selling fast—Grab them before they're gone!

50% OFF! Hot items selling fast—Grab them before they're gone!

HS-S27A 4-Way Tilt Sensor | Vibration Switch Module

$8.00 $15.00

  • Unconditional Satisfaction Guarantee
  • No Shipping Fees Above 30
  • 2 Months to Decide. Returns Simplified.
SKU: US31209331

HS-S27A 4-Way Tilt Sensor – Direction and Vibration Switch Module for Motion Trigger Projects

The HS-S27A 4-Way Tilt Sensor is a digital motion trigger module for detecting orientation changes, shaking, and tilt events. It is useful for anti-tamper switches, game controllers, robot posture detection, and simple motion-activated projects.

It can be combined with the ELAB Nano V3, RGB Full Color LED Module, and relay-controlled warning circuits. A four-way tilt element gives more direction-sensitive behavior than a single basic vibration switch.

Tilt switches are event sensors, not precision inclinometers. Use an accelerometer module if you need numeric angle measurement.

Technical Specifications

Parameter Value
SKU HS-S27A
Product Type 4-way tilt / vibration switch module
Output Digital switch states
Sensing Method Mechanical tilt contact
Typical Supply 3.3V / 5V controller systems
Host Requirement GPIO input
Use Cases Tilt alarms, toys, anti-tamper, robot posture
Software Need Debounce recommended
Not For Precise angle measurement
Mounting Orientation-sensitive

Board Layout & Label Guide

  • Tilt Element – Detects orientation or vibration changes.
  • Signal Pins – Digital outputs to controller GPIO.
  • VCC – Power input if required.
  • GND – Common ground.
  • Board Orientation – Defines which direction triggers.
  • Mounting Holes – Secure in final orientation.
  • Debounce Note – Mechanical tilt events can chatter.
  • Calibration Note – Test trigger directions after mounting.

Application Scenarios

1. Arduino Digital Input

Read the tilt sensor digital output.

const int sensorPin = 2;void setup() { Serial.begin(115200); pinMode(sensorPin, INPUT);}void loop() { Serial.println(digitalRead(sensorPin)); delay(100);}

2. LED Event Output

Turn on an LED when the module is tilted.

const int sensorPin = 2;const int ledPin = 13;void setup() { pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT);}void loop() { digitalWrite(ledPin, digitalRead(sensorPin));}

3. MicroPython GPIO Monitor

Monitor the digital output from a Pico-style board.

from machine import Pinimport timesensor = Pin(15, Pin.IN)while True: print(sensor.value()) time.sleep(0.1)

Packing List

  • 1 x HS-S27A 4-Way Tilt Sensor Module

FAQ

Q: Does it measure exact angle?
A: No, it detects tilt or vibration states.

Q: Why does it chatter?
A: Mechanical contacts bounce during movement.

Q: Can it detect shaking?
A: Yes, as a digital vibration event.

Q: Can I use it with Arduino?
A: Yes, with GPIO inputs.

Q: Is orientation important?
A: Yes, mount it in the desired reference direction.

Q: Can it wake a device?
A: Yes, if connected to an interrupt-capable input.

Q: What if I need roll/pitch values?
A: Use an accelerometer or IMU.

Q: Do I need debounce?
A: Yes, for reliable events.

Shipping Info Standard Shipping
Cost: $25/Free Shipping We offer free shipping on orders over $30. Please check the free - shipping eligibility at checkout.
Delivery Time: It usually takes [3-5] business days for standard shipping. Please note that this is an estimated time frame and may be affected by local holidays, and unforeseen circumstances.

Related products