Hi.
I am totaly new to this. I have been trying different sensors to help a relative to build a plant watering system.
A HT111 I have got to work but I am having issues with Adafruit´s 4 pin I2C Soil Moist Sensor (Adafruit_seesaw.h). I can get it to work in Arduino IDE software but I cannot get it to work with create.arduino.cc. It crashes in an endless loop leaving a message if I look at the serial prompt.
I have found another thread on this forum suggesting that the I2C bus is in conflict with IoT but that was another board. My board is ESP32 Feather V2
Serial data
Rebooting...
8 J S8 l)H JH H H H ( JL)H L) W 1! z 9$! seesaw Soil Sensor example!
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x40080f85 PS : 0x00060d30 A0 : 0x800d211b A1 : 0x3ffb1ec0
A2 : 0x00000016 A3 : 0x00000016 A4 : 0x00000000 A5 : 0x00000064
A6 : 0x00000000 A7 : 0x60013000 A8 : 0x3f4007a4 A9 : 0xffffffff
A10 : 0xffffffaf A11 : 0x00000080 A12 : 0x00000000 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000009 EXCCAUSE: 0x0000001c
EXCVADDR: 0xffffffaf LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
ELF file SHA256: 0000000000000000
Backtrace: 0x40080f85:0x3ffb1ec0 0x400d2118:0x3ffb1ee0 0x400d159c:0x3ffb1f10 0x400d138d:0x3ffb1f30 0x400d11c1:0x3ffb1f50 0x400d0d3c:0x3ffb1f80 0x400d2c26:0x3ffb1fb0 0x400869bd:0x3ffb1fd0
Testcode from create.arduino.cc
#include "Adafruit_seesaw.h"
Adafruit_seesaw ss;
void setup() {
Serial.begin(9600);
Serial.println("seesaw Soil Sensor example!");
if (!ss.begin(0x36)) {
Serial.println("ERROR! seesaw not found");
while(1) delay(1);
} else {
Serial.print("seesaw started! version: ");
Serial.println(ss.getVersion(), HEX);
}
}
void loop() {
float tempC = ss.getTemp();
uint16_t capread = ss.touchRead(0);
Serial.print("Temperature: "); Serial.print(tempC); Serial.println("*C");
Serial.print("Capacitive: "); Serial.println(capread);
delay(2000);
}