电导率传感器 =================== .. figure:: /_static/products/ledong-module/static/图片/电导率传感器.png :width: 55% :align: center 概述 -------------------- 用于检测量溶液导电率的I2C通讯类的传感器。 技术参数 ------------------- 工作电压: VCC 3.3V -5V 模块尺寸:24*48mm 固定安装:2个兼容塑料积木通孔 测量范围:0~20000 uS/cm 引脚 定义 ------------------- ======= ======== 引脚 定义 ======= ======== GND 地 VCC 电源 SCL I2C时钟 SDA I2C数据 ======= ======== 使用教程 ------------------- 1、在程序编程中需要注意拨动开关地址和程序中的地址一致! 2、测量时,将电导率电极接入模块,将电极探头放入被测溶液中。 示例程序 ------------------- **用掌控板OLED屏显示电导率传感器的测量值。** .. code-block:: python from mpython import * from bluebit import * import time ledong_delveBit_tds = DelveBit(0x6C) while True: oled.fill(0) oled.DispChar(str(str('当前测量电导率: ') + str(ledong_delveBit_tds.common_measure())), 0, 0, 1) oled.show() time.sleep(0.1) .. figure:: /_static/products/ledong-module/static/examples/电导率2.png :width: 100% :align: center