Wio Terminal and EC sensor

Hello colleagues, another problem, i tried to use Grove EC sensor to check water quality in my aquarium.
But all examples work with DFRobot_EC which does all calculations. But it also uses EEPROM.h where is little issue.
I found this nice example https://www.seeedstudio.com/blog/2020/09/29/biofloc-monitoring-system-powered-by-wio-terminal-m/
but i dont know how is done, because i get always compiling error.
I am able to read raw sensor data, but i dont know the calculation formula.
for example how to get from 1.17 something … 637 microSiemens
many thanks
Ed

compiling error ? can you show it to us ?

Hello!

I have the same problem, I have the Wio Terminal and Grove EC Sensor and downloaded the Arduino library. I loaded the DFRobot_EC_Test and when I tried to compile it I got the error Error compiling for board Seeeduino Wio Terminal. See below for the details

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/ludwig/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/ludwig/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/ludwig/Documents/Arduino/libraries -fqbn=Seeeduino:samd:seeed_wio_terminal:role=master,cache=on,speed=120,opt=small,maxqspi=50,usbstack=arduino,debug=off,txrxled=on -vid-pid=2886_802D -ide-version=10815 -build-path /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_build_655430 -warnings=none -build-cache /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_cache_603420 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.CMSIS-Atmel.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1 -prefs=runtime.tools.CMSIS-Atmel-1.2.1.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1 -prefs=runtime.tools.bossac.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.CMSIS.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0 -prefs=runtime.tools.CMSIS-5.4.0.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0 -prefs=runtime.tools.openocd.path=/Users/ludwig/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/ludwig/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.arduinoOTA.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arduinoOTA/1.2.1 -verbose /Users/ludwig/Documents/Arduino/libraries/DFRobot_EC-master/example/DFRobot_EC_Test/DFRobot_EC_Test.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/ludwig/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/ludwig/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/ludwig/Documents/Arduino/libraries -fqbn=Seeeduino:samd:seeed_wio_terminal:role=master,cache=on,speed=120,opt=small,maxqspi=50,usbstack=arduino,debug=off,txrxled=on -vid-pid=2886_802D -ide-version=10815 -build-path /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_build_655430 -warnings=none -build-cache /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_cache_603420 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.CMSIS-Atmel.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1 -prefs=runtime.tools.CMSIS-Atmel-1.2.1.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1 -prefs=runtime.tools.bossac.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.CMSIS.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0 -prefs=runtime.tools.CMSIS-5.4.0.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0 -prefs=runtime.tools.openocd.path=/Users/ludwig/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/ludwig/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.arduinoOTA.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arduinoOTA/1.2.1 -verbose /Users/ludwig/Documents/Arduino/libraries/DFRobot_EC-master/example/DFRobot_EC_Test/DFRobot_EC_Test.ino
Using board ‘seeed_wio_terminal’ from platform in folder: /Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1
Using core ‘arduino’ from platform in folder: /Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1
Detecting libraries used…
/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=”"“DFRobot_EC_Test.ino”""" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10815 -DARDUINO_WIO_TERMINAL -DARDUINO_ARCH_SAMD -D__SAMD51P19A__ -DWIO_TERMINAL -DSEEED_WIO_TERMINAL -DSEEED_GROVE_UI_WIRELESS -D__SAMD51__ -DUSB_VID=0x2886 -DUSB_PID=0x802D -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed Studio”” “-DUSB_PRODUCT=“Seeed Wio Terminal”” -DROLE=0 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -DTXRXLED_ENABLE -DROLE=0 -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P19A__ -DWIO_TERMINAL -DSEEED_WIO_TERMINAL -DSEEED_GROVE_UI_WIRELESS -D__SAMD51__ -DUSB_VID=0x2886 -DUSB_PID=0x802D -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed Studio”” “-DUSB_PRODUCT=“Seeed Wio Terminal”” -DROLE=0 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0/CMSIS/Core/Include/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0/CMSIS/DSP/Include/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/variants/wio_terminal /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_build_655430/sketch/DFRobot_EC_Test.ino.cpp -o /dev/null
Alternatives for DFRobot_EC.h: [DFRobot_EC-master]
ResolveLibrary(DFRobot_EC.h)
-> candidates: [DFRobot_EC-master]
/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=”"“DFRobot_EC_Test.ino”""" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10815 -DARDUINO_WIO_TERMINAL -DARDUINO_ARCH_SAMD -D__SAMD51P19A__ -DWIO_TERMINAL -DSEEED_WIO_TERMINAL -DSEEED_GROVE_UI_WIRELESS -D__SAMD51__ -DUSB_VID=0x2886 -DUSB_PID=0x802D -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed Studio”” “-DUSB_PRODUCT=“Seeed Wio Terminal”” -DROLE=0 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -DTXRXLED_ENABLE -DROLE=0 -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P19A__ -DWIO_TERMINAL -DSEEED_WIO_TERMINAL -DSEEED_GROVE_UI_WIRELESS -D__SAMD51__ -DUSB_VID=0x2886 -DUSB_PID=0x802D -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed Studio”” “-DUSB_PRODUCT=“Seeed Wio Terminal”” -DROLE=0 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0/CMSIS/Core/Include/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0/CMSIS/DSP/Include/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/variants/wio_terminal -I/Users/ludwig/Documents/Arduino/libraries/DFRobot_EC-master /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_build_655430/sketch/DFRobot_EC_Test.ino.cpp -o /dev/null
Alternatives for EEPROM.h: [arduino-NVM@0.9.1]
ResolveLibrary(EEPROM.h)
-> candidates: [arduino-NVM@0.9.1]
/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=”"“DFRobot_EC_Test.ino”""" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10815 -DARDUINO_WIO_TERMINAL -DARDUINO_ARCH_SAMD -D__SAMD51P19A__ -DWIO_TERMINAL -DSEEED_WIO_TERMINAL -DSEEED_GROVE_UI_WIRELESS -D__SAMD51__ -DUSB_VID=0x2886 -DUSB_PID=0x802D -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed Studio”” “-DUSB_PRODUCT=“Seeed Wio Terminal”” -DROLE=0 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -DTXRXLED_ENABLE -DROLE=0 -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P19A__ -DWIO_TERMINAL -DSEEED_WIO_TERMINAL -DSEEED_GROVE_UI_WIRELESS -D__SAMD51__ -DUSB_VID=0x2886 -DUSB_PID=0x802D -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed Studio”” “-DUSB_PRODUCT=“Seeed Wio Terminal”” -DROLE=0 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0/CMSIS/Core/Include/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.4.0/CMSIS/DSP/Include/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/tools/CMSIS-Atmel/1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/ -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/cores/arduino -I/Users/ludwig/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.1/variants/wio_terminal -I/Users/ludwig/Documents/Arduino/libraries/DFRobot_EC-master -I/Users/ludwig/Documents/Arduino/libraries/arduino-NVM/src /var/folders/js/bx64jptd3zng91q6817lf26m0000gn/T/arduino_build_655430/sketch/DFRobot_EC_Test.ino.cpp -o /dev/null
Alternatives for nrf.h: []In file included from /Users/ludwig/Documents/Arduino/libraries/arduino-NVM/src/NVRAM.h:21:0,

             from /Users/ludwig/Documents/Arduino/libraries/arduino-NVM/src/EEPROM.h:25,

ResolveLibrary(nrf.h)
from /Users/ludwig/Documents/Arduino/libraries/DFRobot_EC-master/example/DFRobot_EC_Test/DFRobot_EC_Test.ino:21:
-> candidates: []
/Users/ludwig/Documents/Arduino/libraries/arduino-NVM/src/Flash.h:28:10: fatal error: nrf.h: No such file or directory
#include <nrf.h>
^~~~~~~
compilation terminated.
Using library DFRobot_EC-master in folder: /Users/ludwig/Documents/Arduino/libraries/DFRobot_EC-master (legacy)
Using library arduino-NVM at version 0.9.1 in folder: /Users/ludwig/Documents/Arduino/libraries/arduino-NVM
exit status 1
Error compiling for board Seeeduino Wio Terminal.

Does anybody has an Idea how to solve these errors?