# 倾斜开关模块

## 概述

NOVA的倾斜开关SW-200D，一端是金色导针，是导通触发端；另一端是银色导针，是开路端。当外力使倾斜开关里面的滚珠滚到金色一端，则倾斜开关导通，绿色LED状态指示灯灭，输出高电平；滚到银色一端则断开，绿色LED状态指示灯亮，输出低电平。

## 参数

* 输入电压：5V
* 尺寸：40x23mm
* 钢球开关模块角度：2-5度
* 接口模式：2510-3p
* 引脚定义：1-控制端 2-电源 3-地

## 接口说明

* 可用端口： A0、A1、A2、A3、S0、S1、S2、S3

## 使用方式

![](/files/-LWJlLOCya7q_tzb_92z)

## 示例代码

![](/files/-LWJlLOEKxgNJK3PL7vA)

[倾斜开关模块示例代码](http://www.haohaodada.com/show.php?id=947645)

## 原理图

{% file src="/files/-LrCX1JX14YYcz6AjDPN" %}
倾斜开关模块原理图
{% endfile %}

## 尺寸说明

![](/files/-LWJlLOGAjy4W-EY2H15)

## 常见问题


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.haohaodada.cn/jiao-xue-chan-pin/nova-module/qing-xie-kai-guan-mo-kuai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
