Hello,
I am reaching out because I have built a system using a Notecarrier F and it is not performing as expected. I have connected several sensors to the Notecarrier using its QWIIC connection port. The sensors are plugged into an I2C bus which is plugged into the Notecarriers QWIIC port. In my.The Notecarrier + ESP32 Feather poll the sensors and then transmit the data using the notecard.
This has worked until recently, I added a new I2C GNSS module (SparkFun GNSS Receiver Breakout - MAX-M10S). The system can polls all of the sensors at about 1Hz until I start transmitting data from the Notecarrier. Specifically, the GNSS module struggles to update its coordinates while I am transmitting data with the Notecarrier. It repeats the same coordinates until the data transmission to the Blues IoT Cloud from the Notecarrier stops.
I originally setup the notecard with:
’ {
J \*req = notecard.newRequest("hub.set");
if (req != NULL) {
JAddStringToObject(req, “product”, productUID);
JAddStringToObject(req, “mode”, “continuous”);
NoteRequest(req);
}
}’
I transmit data in my main loop with:
’ J *req = notecard.newRequest(“note.add”);
if (req == NULL) {
error += "Failed to create note.add; ";
return;
}
JAddBoolToObject(req, “sync”, true);
J *body = JCreateObject();
if (body) {
JAddNumberToObject(body, “temperature”, temperature);
JAddNumberToObject(body, “conductivity”, conductivity);
JAddNumberToObject(body, “salinity”, salinity);
JAddNumberToObject(body, “pressure”, pressure);
JAddNumberToObject(body, “altitude”, altitude);
JAddNumberToObject(body, “longitude”, lon);
JAddNumberToObject(body, “latitude”, lat);
JAddNumberToObject(body, “tempPress”, tempPress);
JAddNumberToObject(body, “depth”, depthMeters);
JAddNumberToObject(body, “depthConfidence”, pingConfidence);
JAddStringToObject(body, “Timestamp”, timestamp.c_str());
JAddStringToObject(body, “deviceType”, deviceType);
JAddStringToObject(body, “waterState”, deviceType);
JAddStringToObject(body, “error”, error.c_str());
JAddItemToObject(req, “body”, body);
}
NoteRequest(req);
}’
Would someone be able to help me troubleshoot this problem? Thank you for all of your help!
