-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 4 months ago
Does it output good value*S* or one single good value over and over? If the former, then..I just don’t know how to read this firmware. If the latter, then, no that’s what I expect.
3m is beyond the maximum expected transmission length for I2C, so, no, it’s not at all strange that it wouldn’t work over that long a distance. If you need that di…[Read more]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
That’s the firmware I’ve been looking at.
You know what, I don’t think this firmware even functional. It won’t ever take a sample. Well, it should sample 1 time at the beginning, and then never again. Ugh. I wasted a lot of time parsing the I2C bits of the firmware and writing code for you and didn’t ever question that that sampling part of…[Read more]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
You don’t need the whole firmware; actually I’d prefer not to get the firmware, but instead to get a short breakdown of the required I2C registers and commands. All I would be doing with the full firmware is trying to decode what the registers are anyway.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
I’m sorry; I’ve spent a lot of time reading through that firmware and if there’s something you have to do to get it to start taking readings, I don’t know what it is. So either I’m just not understanding the firmware or that’s not the firmware that’s actually on your device. I don’t think there’s any other way I can help you if you cannot get a…[Read more]
-
Sara Damiano replied to the topic Atlas Scientific Logger – Sleep between readings in the forum Mayfly Data Logger 5 years, 5 months ago
All of the Atlas sensors do have a built in sleep command that you can use for low power without needing the isolator. You should be able to add ‘RTD.send_cmd(“SLEEP”);’ and ‘EC.send_cmd(“SLEEP”);’ to your system sleep function.
-
Sara Damiano replied to the topic Atlas Scientific Logger – Sleep between readings in the forum Mayfly Data Logger 5 years, 5 months ago
I’m sorry I’m late to the game on this one.
Shannon said more clearly what I would have said. But re-reading, I remember that the Atlas sensors are special. You can’t cut the power to the Atlas circuits while they’re connected to the I2C bus of the Mayfly or your program will crash. The Atlas circuits have the I2C lines pulled up to the voltage…[Read more]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
So it is there and responding, but there’s something wrong with my code because it’s not giving data. Do you know if the firmware on your device *is* that code on github? Otherwise, I don’t see in that code what I have to do to get it to start reporting values.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
Also try flipping the SCL and SDA pins if you’re getting nothing. Some versions of the Mayfly had them labeled backwards.
Also on a Mayfly you should always be finding a device at 0x48 and at 0x68. Those are the clock and the extra ADC. If the Walrus is responding, it should show up as a third device.
Scanner code for the Mayfly:
// This sk…
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
If (when) that fails, you can try an I2C scanner program on the Mayfly to see if the sensor has a different address.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 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 5 years, 5 months ago
No, it’s just *printing* something. I don’t think the sensor’s responding.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 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.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
No, no, that’s for a Mayfly talking to a sensor with the firmware Northern Widget posted on GitHub.
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 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 //… -
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 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 5 years, 5 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 5 years, 5 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]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 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]
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 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
-
Sara Damiano replied to the topic MayFly Capability with Northern Widget Walrus Sensor in the forum Environmental Sensors 5 years, 5 months ago
Bobby Shultz or Northern Widget did some of the work to incorporate the MPL115A into ModularSensors, but I haven’t followed what they’ve been doing.
It looks like this Walrus thing has an on-board processor that in between the Mayfly and the MPL115A. So you need to use whatever protocol they’ve developed for themselves not the MPL’s I2C…[Read more]
- Load More
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of