Simple Tilt Sensor Switch Circuit control ON/OFF of LED or buzzer.
Tilt sensor work like small seesaw switch.
Inside a sensor there can be a small metal ball.
When sensor stand straight the ball touch two points and then the current can pass.
When sensor tilts the ball move away and the current stops.
This way the circuit knows if sensor is straight or tilted.
How Mercury Tilt Switch Works:
This project uses tilt sensor and a tool to detect tilt of a circuit.
Inside a sensor small free ball move around.
When sensor stand straight the ball sit on metal plate and makes connection like small bridge and then the current passes.
Two ends of sensor get connected this way.
When sensor tilts the ball roll away with no contact and the current stops.
So sensor work like ON/OFF switch by angle.
Circuit works like this:
If sensor is straight then current flows and the device gets ON.
If sensor tilt the current stops and the device gets OFF.
Very useful for things that can fall and cause danger.
Example is the heater, heater get hot and can burn if falls down.
We do not want heater to tilt!
Using tilt sensor we can make heater turn OFF if it falls or bumps.
Tilt sensor is simple and good for this job but other ways also exist for safety shutoff.
People say tilt sensor is poor mans accelerometer but not true.
Tilt sensor give ON/OFF details with no computer needed.
Accelerometer give detailed data and needs computer to understand.
Tilt sensor is easy tool for simple job which is not worse but just different.
Tilt Sensor Circuit Working:
Part List:
This is simple circuit using tilt sensor:
How it work:
When device is plugged in and stand straight the small metal ball touches inside contact like small ON/OFF switch.
This let current flow and LED turns ON.
If we tilt the device the ball moves away with connection break and with no current.
So LED turns OFF.
LED work like small flashlight and it only glow when device stays upright.
Formulas and Calculations:
This is simple circuit layout using tilt sensor switch and with basic formula:
Resistor R:
Use ohms law to find resistor R to keep LED safe:
Formula:
R = (Vsupply − VLED) / ILED
where:
- Vsupply is 3V with power supply
- VLED is 2V with LED forward voltage
- ILED is 20mA with LED current
Now put values:
R = (3V − 2V) / 20mA = 1V / 0.02A = 50Ω
But we often use 470Ω resistor and it is common and also keeps current safe.
Important:
Connect LED and tilt sensor the right way.
Connect LED anode to (+) and cathode to ground.
This gives proper LED brightness and makes circuit work right.
How to Build Tilt Sensor Circuit:
To build a Simple Tilt Sensor Switch Circuit follow the below mentioned steps:
- Gather the components as mentioned in the above tilt sensor circuit.
- Connect one leg of tilt sensor to +3V of battery.
- Connect other leg of sensor to 470Ω resistor.
- Connect other end of resistor to anode (+) of red LED.
- Connect cathode (−) of LED to battery negative.
Safety Tips:
- Check how sensitive our tilt sensor is.
- If we need very accurate tilt angle then maybe use different sensor.
- These are basic tips but for full safety read part datasheets and general electronics safety information.
Conclusion:
This Simple Tilt Sensor Switch Circuit uses tilt sensor as main part.
When sensor tilts it cuts power and works like switch.
It is good for things like heaters and if they fall the circuit turns them OFF.
Easy way to add safety shutoff using tilt sensor.