DFRobot Gravity: analog electrical conductivity sensor/meter(K=10) is particularly used to measure the high electrical conductivity liquid, such as seawater, concentrated brine, etc. The measurement range is up to 100ms/cm. This product is suitable for the water quality application of mariculture, for example, marine fisheries, marine aquariums.
DFR0300-H: Gravity: Analog Electrical Conductivity Sensor / Meter(K=10)
Provide an Arduino Library for users to read eletrical conductivity from DFR0300-H.
To use this library, first download the library file, paste it into the \Arduino\libraries directory, then open the examples folder and run the demo in the folder.
/*!
* @fn DFRobot_EC10
* @brief Constructor
*/
DFRobot_EC10();
/*!
* @fn ~DFRobot_EC10
* @brief destructor
*/
~DFRobot_EC10();
/*!
* @fn begin
* @brief Init sensor
*/
void begin();
/*!
* @fn calibration
* @brief Calibrate sensor. If the probe is used for the first time or hasn't been used for a long time, please calibrate it to improve accuracy.
* @param voltage The voltage obtained when measuring standard buffer solution(12.88ms/cm)
* @param temperature The calibration solution temperature
* @param cmd Calibration command
*/
void calibration(float voltage, float temperature,char* cmd);
/*!
* @fn calibration
* @brief Calibrate sensor. If the probe is used for the first time or hasn't been used for a long time, please calibrate it to improve accuracy.
* @param voltage The voltage obtained when measuring standard buffer solution(12.88ms/cm)
* @param temperature The calibration solution temperature
*/
void calibration(float voltage, float temperature);
/*!
* @fn readEC
* @brief Get solution electrical conducitivity
* @param voltage Measured analog voltage
* @param temperature Temeprature of the solution to be measured
*/
float readEC(float voltage, float temperature);
MCU | Work Well | Work Wrong | Untested | Remarks |
---|---|---|---|---|
Arduino uno | √ | |||
FireBeetle-ESP8266 | √ | |||
FireBeetle-ESP32 | √ | |||
mpython | √ | |||
microbit | √ |
Written by fengli(li.feng@dfrobot.com), 2022.05.05 (Welcome to our website)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。