Conductivity Sensor ====================== .. figure:: /_static/products/ledong-module/static/images/conductivity_sensor.png :width: 55% :align: center Overview -------------------- I2C communication sensor for measuring the conductivity of a solution. Technical Specifications -------------------------- Operating voltage: VCC 3.3V -5V Module dimensions: 24*48mm Mounting: 2 plastic building block compatible through-holes Measurement range: 0~20000 uS/cm Pin Definition ------------------- ======= ========== Pin Definition ======= ========== GND Ground VCC Power SCL I2C clock SDA I2C data ======= ========== Usage Guide ------------------- 1. When programming, make sure the DIP switch address matches the address in the program! 2. During measurement, connect the conductivity electrode to the module and place the probe into the solution being tested. Example Code ------------------- **Displays the conductivity sensor's reading on the mPython Board OLED screen.** .. 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('Conductivity: ') + str(ledong_delveBit_tds.common_measure())), 0, 0, 1) oled.show() time.sleep(0.1) .. figure:: /_static/products/ledong-module/static/examples/conductivity_sensor_2.png :width: 100% :align: center