Beirut ElectroCity

mercury switch/Tilt Switch 5mm

Part no. 10020791

$0.60
Sold out
  • Pick up in Msaitbeh, Beirut
  • Delivery across Lebanon
  • Bulk and education pricing on request
Description

The mercury switch/Tilt Switch 5mm is a small two-lead switch that opens or closes a circuit depending on its angle. When the switch is tilted, its internal contacts change state, so a microcontroller can tell whether an object is upright, tipped over or being moved. It is a simple, low-cost way to add tilt and orientation sensing to a project.

mercury switch/Tilt Switch 5mm Specifications

  • Type: tilt (orientation) switch
  • Size: 5 mm
  • Leads: 2, through-hole
  • Output: on/off contact, works like a simple switch
  • Interface: any digital input with a pull-up resistor

mercury switch/Tilt Switch 5mm Applications

  • Tilt and tamper alarms
  • Detecting when a device falls over or is turned upside down
  • Motion-activated toys, games and lights
  • Learning digital inputs with Arduino and ESP32

What's in the Box

  • 1 × 5 mm tilt switch

Tip: Connect one lead to a digital pin with the internal pull-up enabled and the other to GND, then add a short debounce delay in code because the contacts can flicker as the switch moves. If the switch contains mercury, do not break it, and dispose of it as hazardous waste.

Shipping & pickup

Orders placed before 14:00 are ready for pickup the same day. Delivery across Lebanon usually takes 1–3 working days.