-
Sabin replied to the topic Couldn't find DTS-12 turbidity sensor address in the forum Environmental Sensors 2 days, 18 hours ago
The sensor was getting 12V power. Every time I give SDI12 commands that wipes and measure the turbidity, the command would run (as evidence by wiper run) but it wouldn’t get any sdi12 command response. So, I used CR350 to change address from 0 to 1 and now it’s working correctly.
-
Sabin replied to the topic Couldn't find DTS-12 turbidity sensor address in the forum Environmental Sensors 1 week, 1 day ago
The page says 12V is the default and my sensor is getting 12V because I could send command to run wiper which needs 12V and it works. But data measurement command doesn’t work.
-
Sabin replied to the topic Couldn't find DTS-12 turbidity sensor address in the forum Environmental Sensors 1 week, 2 days ago
I am using Mayfly v1.1. The turbidity sensor is connected with Screw Terminal.
I downloaded the zip from EnviroDIY_SDI12 using https://github.com/EnviroDIY/Arduino-SDI-12/archive/master.zip.
I am able to run the wiper with these:Serial.println("Sending 0M2!"); mySDI12.sendCommand("0M2!"); delay(1000);Using this inside loop that runs every 30…[Read more]
-
Sabin started the topic Couldn't find DTS-12 turbidity sensor address in the forum Environmental Sensors 1 week, 3 days ago
I am trying to connect DTS-12 with mayfly data logger.
With this instruction https://www.envirodiy.org/topic/logging-mayfly-with-decagon-sdi-12-sensor/, I am using Grove – Screw Terminal to connect the sensor. Red is connected to vcc,black to gnd and white(the data) to D2. The screw terminal is then connected to D 4-7.
When I start the program to…[Read more] -
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 1 month, 2 weeks ago
Thank you so much.
I am not using the AWS stuff for now but I will be deploying mosquitto on cloud at some time.
if this old firmware create problem at that point, I will update the firmware.
Thank you again. -
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 1 month, 2 weeks ago
I am using EnviroDIY fork. Until now everything is working. I am able to make both http post, and mqtt connection.
I checked and mine esp32 firmware version is 2.4.0. So,Is it because of this lower version, I had to do some hack around for ssl connection?
Below is the part of workaround I coded to make it work with hydroserver.void…
-
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 1 month, 2 weeks ago
I have.
Before opening a tcp connection, the Socket Receiving Mode should be made to 1 (passive mode). I have no idea why it works only while doing this. But it works.void ExpressifESP32::extraSetupForMQTT(){ // See… -
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 1 month, 4 weeks ago
Never mind. The wifi worked. I used
AT+CWMODE?and change it from SoftAP to Station mode.
But I am struggling to use this to connect to mqtt broker. -
Sabin started the topic EspressifESP32 in the forum Mayfly Data Logger 1 month, 4 weeks ago
How to connect to Wifi while using this in Mayfly data logger?
I have been trying this codebase or even the one with tinygsm library but nothing works. Is there any pre-configuration that is needed to be done?#include <ModularSensors.h> #include <modems/EspressifESP32.h> #include <Arduino.h> #include "arduino_secrets.h" #define XbeeSerial…
-
Sabin replied to the topic Secure Client for DigiXbee in the forum Mayfly Data Logger 2 months, 2 weeks ago
Thanks for the reply.
So, how do I even do POST request to server running on the web? Are there any Wifi modules that are alternative to Xbee that supports SecureClient? -
Sabin started the topic Secure Client for DigiXbee in the forum Mayfly Data Logger 2 months, 2 weeks ago
I am trying to send post request to playgrond.hydroserver.org – which requires Secure Client. Does secure client really works for DigiXbee S6b?
-
Sabin replied to the topic DigiXBeeWifi class mqtt codeflow example in the forum Mayfly Data Logger 6 months ago
Thank you for your response.
I used TinyGSM directly and got into this problem. I was deploying broker locally,, the code on the inside check for dns lookup.. Currently I commented this code out and tinygsm works.
https://github.com/issues/created?issue=vshymanskyy%7CTinyGSM%7C854This is what my full code looks without tinygsm:
#define XBEE_PWR…
-
Sabin replied to the topic DigiXBeeWifi class mqtt codeflow example in the forum Mayfly Data Logger 6 months ago
Thank you for your response.
I think it’s the master branch.Also, this is what I am trying to do.
DigiXBeeWifi modemXBWF(&Serial1, powerPin, statusPin, false,
modemResetPin, modemSleepRqPin,
ssid, pwd, false);Client* netClient = nullptr;
MqttClient* mqttClient = nullptr;void setup() {
Serial.begin(9600);
Serial1.begin(9600);
delay(2000);if…
-
Sabin started the topic DigiXBeeWifi class mqtt codeflow example in the forum Mayfly Data Logger 6 months ago
I am trying to make mayfly work as publisher, send data to broker running on raspberry pi. I am using Xbee s6b wifi modem.
While using this class to create client that I could pass into pubsub or arduinomqtt as constructor variable. But, DigiXbeeWifi class would always reset my DL to 0.0.0.0 which I set using xctu to correct broker address and…[Read more] -
Sabin became a registered member 10 months ago
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of