All content on EnviroDIY is licensed as Creative Commons Attribution-ShareAlike 4.0. Hardware designs on EnviroDIY are released under the CERN Open Hardware License 1.2. Alternative licenses are available. Learn more
All content on EnviroDIY is licensed as Creative Commons Attribution-ShareAlike 4.0. Hardware designs on EnviroDIY are released under the CERN Open Hardware License 1.2. Alternative licenses are available. Learn more
Community Activity See all activity
Stephen H started the topic Mayfly 1.0, USB C not connecting on Ubuntu 22.04? in the forum Mayfly Data Logger 2 years, 5 months ago
Hey newbie here, just starting out with the Mayfly board. Trying to connect to a board that doesn’t seem to be sending. I’m using the Arduino IDE, serial port monitor. But using lsusb, I’m not seeing the cp210x connection. Using an TTGO board, I do see the cp210x connection. This board was in the field, I never tried to connect to it befo…[Read more]
tuffengineer became a registered member 2 years, 5 months ago
tuffengineer
@tdunmire
Shannon Hicks replied to the topic Hydros 21/Decagon CTD: reading error in the forum Environmental Sensors 2 years, 5 months ago
We’ve seen this behavior with some of the new CTD sensors as well. It seems that when you give it a new address using the b_address_change sketch, the sensor needs to be told the new address more than once in order for it to actually make the change. Meaning, run the sketch and observe the text on the Serial Monitor. For a new sensor it will sa…[Read more]
Letsid replied to the topic Hydros 21/Decagon CTD: reading error in the forum Environmental Sensors 2 years, 5 months ago
Hello all. I have recently been delivered two of the newest versions of the Hydros 21 CTD sensors. They are replacing two that were destroyed after a year in the field. Anyway, with these new sensors, I am having issues with the SDI12 address. I have run the SDI12 check code (posted earlier) and have used that to try and program the sensor so…[Read more]
Kade became a registered member 2 years, 5 months ago
Kade
@kade
neilh20 replied to the topic Adding a new modbus sensor using current ones as inspiration. in the forum Environmental Sensors 2 years, 5 months ago
Hello Erik, hmm perhaps I’m coming from too many years of reading code,
Yes the order matters for the code, that the instance follows the the constructor.
What you are looking at I think is “// .. sensor” , and that is a comment
It does look like it may have been swopped, but its only descriptive text. Getting descriptions to match the co…[Read more]
Erik G replied to the topic Adding a new modbus sensor using current ones as inspiration. in the forum Environmental Sensors 2 years, 5 months ago
Sorry for being so vague. I will try to clarify.
Is it not the order of the parameters given in the constructor that matters when creating a new object?
If the sensor constructor looks like this:
[Read more]
neilh20 replied to the topic Adding a new modbus sensor using current ones as inspiration. in the forum Environmental Sensors 2 years, 5 months ago
Hello Erik, I’m sorry I still don’t understand your question.
Erik G replied to the topic Adding a new modbus sensor using current ones as inspiration. in the forum Environmental Sensors 2 years, 5 months ago
Hi Neil,
It is very basic but I guess every journey must start somewhere…
The first code snippet is from the example code in the menu a la carte example. I’ve edited my first post just to clarify that.
The second one is from the Modular sensor library.
Dave Spector became a registered member 2 years, 5 months ago
Dave Spector
@dhmspector