-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
Ok, here’s new code for the Mayfly. This should be much more verbose and show more clearly if the sensor’s responding.
#include <Arduino.h> #include <Wire.h> #define DEVICE_I2C_ADDRESS 0x4D // I *think* this is the address it's using for itself //…
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
No, it’s just *printing* something. I don’t think the sensor’s responding.
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
It’s reading something, which is a lot better than before, as it read nothing before.
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I uploaded the code and the serial output is attached.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
That’s the full code, you should upload it to the mayfly with the sensor powered and attached to the I2C on the Mayfly. Then start a serial terminal at 9600 and you should see output.
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I see. Do I simply upload to the mayfly with the sensor attached? Or is this code to be added in somewhere in my overall code (PlatformIO)?
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
No, no, that’s for a Mayfly talking to a sensor with the firmware Northern Widget posted on GitHub.
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I am assuming that this is a firmware to be uploaded to the sensor?
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
Alright, here’s something. I can’t promise it *works*, but I’d like to see the results.
#include <Arduino.h> #include <Wire.h> #define DEVICE_I2C_ADDRESS 0x4D // I *think* this is the address it's using for itself //…
-
Jim Moore replied to the topic Atlas Scientific Logger – Sleep between readings in the forum Mayfly Data Logger 4 years, 2 months ago
I am using the same hardware with my Low Cost EC stations which is set up for UART mode but I have since upgraded to I2C mode when I added the 2G modems. I am using the sensorex probe for the EZO EC which has an integral RTD which I read thru the analog input. I think its only about a $30 premium for the the RTD option. Maybe there are som…[Read more]
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I only paid for the one, which was not housed. That one I will keep. The other four they just sent, without first figuring out the problem. If they don’t work I will simply send the four back. Yes, frustrating. Two months of not getting anywhere and now I need to make the decision to figure this out on my own or switch to a different sensor. Maybe…[Read more]
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
Much appreciated. There are a few trouble shooting things that I did that may be difficult to explain over the forum. If you would like to discuss my phone is 701-390-2040. These trouble shooting thing did show some interesting results. Any help to get them to work would be great, since I have four ready to go that they sent and I was planning to…[Read more]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
There is simply no excuse at all for them selling you something without doing this for you..
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I’m sorry, I’m looking through their firmware and trying to figure something out for you. I hate half-answering a question.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
WRT to the wire distance, yes and no.
RS485 is a two-wire protocol where 0’s and 1’s are differentiated by the difference in voltage between the two wires. Electrically, this means it can be used over long distances (ie, up to 4,000 feet). To use RS485 the processors that are talking each need to have their own internal clocks and each s…[Read more]
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I am assuming that the firmware also has something to do with making the sensor signal work over the length of the 3m cable? The sensor does work when attached directing to the I2C port (via. grove cable) on the Mayfly at 3.3v. That’s great, but as you know, I need to run that sensor into the stream.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
I’m sorry. This must be frustrating. Northern Widget sold you a sensor and doesn’t seem to be willing to tell you the basic information you need to make it work. You need to know both what firmware you have and how the firmware communicates before you can talk to it with a Mayfly or with *anything*. Otherwise it’s pretty useless. That is no…[Read more]
-
Tom Schanandore replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
Honestly my understanding of all this is pretty basic, but I understand that the firmware is very important. I left it up to Northern Widget to upload the appropriate firmware to the sensor before they sent the sensors, so that that process would be streamlined. I did read through their documentation on the firmware and, as you stated before, they…[Read more]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 4 years, 2 months ago
If they haven’t provided you with the documentation on how to communicate with their sensor and firmware, then it’s worthless. You’d have to dig through their firmware file and reverse engineer the communication protocol. I’m sorry. Maybe someone else will pipe in that they’ve already done it
-
Anish became a registered member 4 years, 2 months ago
- Load More