top of page

Interfacing Tilt Sensor with Arduino UNO

Writer's picture: LearnElectronics IndiaLearnElectronics India

Updated: Sep 21, 2024

A tilt sensor is a device that produces an electrical signal which is proportional to the angular movement. Orientation or Inclination can be detected using these sensors. They are sometimes referred as "mercury switches", "rolling ball sensors", "tilt switches", "inclinometer", "accelerometer". Tilt sensors are used in various fields like robotics, aviation, vehicle secular systems, portable computers.


Hardware List:


The components required to implement the circuit are as follows:



1.Arduino Board


Arduino Board
Arduino Board


Arduino is an open-source microcontroller board. Analog or digital signals from different sensors can be read by Arduino. An Arduino Integrated Development Environment (IDE) software is available to write and upload the code to the physical Arduino board.


2.Tilt Switch ball



Tilt Switch Ball
Tilt Switch Ball

A tilt Switch ball is a sensor that measures orientation or inclination. It is the component used to detect any inclination or orientation.





3.Bread Board


Breadboard


Bread Board is the basic component that is required to design any circuit. Electrical connections can be established between electronic components using a breadboard. It can be used to test the circuits before being soldered permanently.



4.Jumper Wires



Jumper Wires



Jumper wires are the wires that are used in connecting pins of Arduino to the breadboard. In this project male to male jumper wires are used that connects the female header pin of Arduino to the breadboard.




5.Resistor

220 ohms Resistor


Resistors are the components that limit the flow of current in an electronic circuit. The resistor used in this project is 220 ohms. The 4-band color of this resistor is Red, Red, Brown, Gold.