Sensors

031 View larger

Tilt Sensor Switch Module

MOD033

New product

Voltage 3.3 - 5V

Size 24x21mm

More details

10 Items

2,33€

Data sheet

Module TypeSensing

More info

  • Electronic brick of tilt switch can be connected to analog I/O port and used in tilt sensor for smart car or robot. When the sensor is in the horizontal position, the output is high level; when the sensor rotates counterclockwise to form an angle of more than 15 ° with the horizontal line, the output is low level.

        Features:

  • Plug and play, easy to use. Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.
  • With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock.
  • Specifications:

    PCB size24.0mm X 21.0mm X 1.6mm
    Working voltage3.3 or 5V DC
    Operating voltage3.3 or 5V DC
    Compatible interfaces2.54 3-pin interface and 4-pin Grove interface(1)

    Electrical characteristics:

    ParameterMin.TypicalMax.Unit
    Working voltage355.5VDC
    Digital output voltage(VCC=5V)0-5V
    Working current(VCC=5V)-450-uA
  • DEMO:

    Connect S port of electronic brick of tilt switch to D2 port of Arduino board, and we will use the following program to read its digital value. When the digital value read is high level, LED lamp will be ON; when the digital value read is low level, LED lamp will be OFF.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    int tilt=2;     //connect tilt to D2
    int LED=13;
    void setup()
    {
      pinMode(LED, OUTPUT);
      pinMode(tilt, INPUT);  
    }
       
    void loop()
    {
    if(digitalRead(tilt)==HIGH) //when the digital output value of tilt is high, turn on the LED.
      {
        digitalWrite(LED, HIGH);   
      }
    if(digitalRead(tilt)==LOW)  //when the digital output value of tilt is low, turn off the LED.
      {
        digitalWrite(LED, LOW);
      
    }

Reviews

No customer reviews for the moment.

Write a review

Tilt Sensor Switch Module

Tilt Sensor Switch Module

Voltage 3.3 - 5V

Size 24x21mm

30 other products in the same category: