> For the complete documentation index, see [llms.txt](https://docs.haohaodada.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.haohaodada.cn/jiao-xue-chan-pin/nova-module/dian-wei-qi-mo-kuai.md).

# 电位器模块

## 概述

电位器式传感器是一种常用的电子元件，广泛应用于各种电器和电子设备中。它是一种把机械的线位移和角位移输入量转换为与它成一定函数关系的电阻和电压输出的传感元件。

## 参数

* 输入电压：5V
* 尺寸：40x23mm
* 输出类型：模拟信号
* 转动角度：300°
* 重量：10g
* 接口模式：2510-3p
* 引脚定义：1-控制端 2-电源 3-地

## 接口说明

* 可用端口： A0、A1、A2、A3

## 使用方式

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LWJlItHy-g8cfvr2LdO%2F-LWJlLIcvK5L5BWiV6FE%2F29.png?generation=1547610459846471\&alt=media)

## 示例代码

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LWJlItHy-g8cfvr2LdO%2F-LWJlLIe6j3HVL6oIBLZ%2F30.png?generation=1547610459502515\&alt=media)

[电位器模块示例代码](http://www.haohaodada.com/show.php?id=947651)

## 原理图

{% file src="/files/-LrCT2DeF-i1A1sjg50P" %}
电位器模块原理图
{% endfile %}

## 尺寸说明

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LWJlItHy-g8cfvr2LdO%2F-LWJlLIgo3rVmcsGxQhv%2F99.png?generation=1547610459742840\&alt=media)

## 常见问题
