I purchased the Seeedstudio sensor
Stumenti di sviluppo per sensori a funzioni multiple Grove - CO2 & Temperature & Humidity Sensor (SCD30)
through Mouser.it
with the 50 cm. buckled cable.
I found a great wiki made by seeedstudio.com
Grove - CO2 & Temperature & Humidity Sensor (SCD30) | Seeed Studio Wiki
which suggests taking the library and .ino sketches from github
GitHub - Seeed-Studio/Seeed_SCD30: carbon dioxide sensor
I have installed the aforementioned library and sketches and after
ls -l /dev/ttyACM*
I added the group to the username which in the case of Manjaro is not dialout as in Debian but uucp
sudo usermod -a -G uucp stecolumna
I have rebooted Manjaro to take effect
I have uploaded the sketch SCD30_auto_calibration.ino but the serial monitor is empty.
The output of the skecth is:
/home/stecolumna/Scrivania/examples_ino/SCD30_auto_calibration/SCD30_auto_calibration.ino:7: warning: "SERIAL" redefined
7 | #define SERIAL Serial
|
In file included from sketch/SCD30_auto_calibration.ino.cpp:1:
/usr/share/arduino/hardware/archlinux-arduino/avr/cores/arduino/Arduino.h:54: note: this is the location of the previous definition
54 | #define SERIAL 0x0
|
/home/stecolumna/Scrivania/examples_ino/SCD30_auto_calibration/SCD30_auto_calibration.ino:6:65: note: #pragma message: Defined architecture for ARDUINO_ARCH_AVR.
6 | #pragma message("Defined architecture for ARDUINO_ARCH_AVR.")
| ^
Lo sketch usa 8222 byte (28%) dello spazio disponibile per i programmi. Il massimo è 28672 byte.
Le variabili globali usano 464 byte (18%) di memoria dinamica, lasciando altri 2096 byte liberi per le variabili locali. Il massimo è 2560 byte.
Please do you have any suggestions to give me ?
Thanks in advance