Instructions

IDUINO for maker’s life
www.openplatform.cc 71
1 Introduction
This module is a tilt switch module, and if it is tilted towards right side ,it output one High
level signal. Be similar with our most sensor, It has three pin: Power pin, Ground pin and
signal switch pin. That’s an interesting function to your Arduino project.
Specification
Operation voltage: 5V
3Pin
Size:28*15mm
Weight: 2g
2 Pinout
Pin
Description
S
If the sensor is tilted, this pin output high
level signal
+(middle pin)
Power
-
Ground
3.Example
This example show you how to use this module, connection as below, and upload the
sketch, rotate this module, see what will be happen.
Example code :
******Code begin******
int Led = 13 ;// define LED Interface