--- title: "Using the Generic ADC Driver" slug: "using-the-generic-adc-driver" updated: 2023-10-31T19:29:47Z published: 2023-10-31T19:29:47Z canonical: "support.tulip.co/using-the-generic-adc-driver" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 使用通用 ADC 驱动程序 ## 使用通用 ADC 驱动器 *通用 ADC 电压驱动器指南* 本文介绍与 Tulip 中通用 ADC 驱动程序相关的功能和配置。 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20the%20Generic%20ADC%20Driver_199400815.png) ## 功能 通用 ADC 驱动程序允许读取 Tulip 应用程序中 I/O Gateway 和 Edge IO 上的 4 个模拟输入。 这些输入使用 ADS1015 提供 0 至 10v 之间的 10 位有效分辨率。 当 4 个数字输入端的电压发生变化时,驱动程序会向 Tulip 报告一个事件。这可用于 Tulip App 触发器,如下图所示: ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20the%20Generic%20ADC%20Driver_200546158.png) 也可以使用下图所示的触发器按需从设备拉取电压: ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20the%20Generic%20ADC%20Driver_200571592.png) 请注意,"通道 "的值与边缘设备上的标签直接对应。 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20the%20Generic%20ADC%20Driver_200571820.png) ## 配置 要配置与 Tulip 一起使用的模拟电压设备,首先要确保一切都按照设备制造商的规格正确布线,并将适当的输入或输出连接到 Tulip Edge 设备。 然后,访问边缘设备门户页面配置驱动程序。 相关配置屏幕如下所示。 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20the%20Generic%20ADC%20Driver_200572141.png) Tulip 不对这些测量的准确性提供认证。如果您需要此处所提供信息以外的保证,您需要在自己的设置中执行特性分析。