-
Sara Damiano replied to the topic 504 Response Code in the forum Mayfly Data Logger 3 years, 7 months ago
I should add that we haven’t figured out why some connect right away and others don’t. So even with an apparently identical batch of sims and modems, it wouldn’t surprise me if some connect immediately and others don’t.
I removed the UUID’s from your post.
-
Sara Damiano replied to the topic 504 Response Code in the forum Mayfly Data Logger 3 years, 7 months ago
Do you see any connections or activity from the SIM cards on Hologram? Sometimes it takes a really long time to connect to the network with a new SIM card, a new modem, or at a new location.
Are you sure your tokens and UUIDs are all correct?
-
Sara Damiano replied to the topic Major Set Back-Need Help! in the forum Mayfly Data Logger 3 years, 8 months ago
Woops. The invalid version number was my fault; I screwed up the semantic versioning. I released a new version yesterday which is identical except for the version number which is now a valid 0.28.3.
But that isn’t actually your problem. The invalid version number and the stuff about “requestFrom…” are just warnings. It compiled anyw…[Read more]
-
Sara Damiano replied to the topic New sensor request in the forum Environmental Sensors 3 years, 8 months ago
Done
-
Sara Damiano replied to the topic Testing power consumption in the forum Mayfly Data Logger 3 years, 8 months ago
I would do as Neil suggested and make sure the trigger pin for the Turner is set low before sleep.
We’ve had the same problem with RS485 adapters that pull power through the Tx/Rx lines. Because the stop bit is high those lines will stay high if you don’t force them low at the end. It’s kind-of a PITA with the Tx/Rx bits; you have to actually w…[Read more]
-
Sara Damiano replied to the topic Major Set Back-Need Help! in the forum Mayfly Data Logger 3 years, 8 months ago
I would say the sound of the disconnect/reconnect isn’t a good sign, but touching the black part of the antenna shouldn’t have caused anything. If the board shifted onto something metal (aluminum phone or laptop case or such) that might have connected pins oddly on the back it might have caused a jolt in the power on the USB which can sometimes…[Read more]
-
Sara Damiano replied to the topic DRWI_LTE Mayfly Communication with Monitor My Watershed in the forum Mayfly Data Logger 3 years, 8 months ago
For the code, it makes no difference if it’s a Hydros21 or a CTD-10. The change between them is name-only.
Did you install all of the libraries from either the libraries repository or the ModularSensors release? You need to unzip the libraries into your Arduino user folder. The error you’re getting is saying that the compiler can’t find one of them.
-
Sara Damiano replied to the topic DRWI_LTE Mayfly Communication with Monitor My Watershed in the forum Mayfly Data Logger 3 years, 8 months ago
I’m sorry, could you paste your whole code and a more detailed error message.
-
Sara Damiano replied to the topic PlatformIO error with MS 0.28.01 in the forum Mayfly Data Logger 3 years, 8 months ago
I’m so sorry about the bad version number! I’ll put out a new release to fix it!
@aufdenkape – The only reason was that I was thinking about the way Windows sorts files alphabetically where having the leading zero helps. That’s pretty meaningless for this, so it needs to be fixed.
-
Sara Damiano replied to the topic Reading from EEPROM error in code in the forum Mayfly Data Logger 3 years, 8 months ago
I’ve been using primarily VSCode for a while because it loads faster on my computer, but I believe I set Atom up to force ino’s as cpp’s: https://docs.platformio.org/en/latest/integration/ide/atom.html#force-arduino-file-as-c
-
Sara Damiano replied to the topic Reading from EEPROM error in code in the forum Mayfly Data Logger 3 years, 8 months ago
If you’re still using the Arduino IDE, you might consider switching to VSCode (or Atom) with PlatformIO. I know VSCode seems very scary to start with, but if you’re writing new code or even just copy-pasting chunks the linting tools it provides are invaluable. When I created a project for your code in VSCode, it immediately highlighted the e…[Read more]
-
Sara Damiano replied to the topic Reading from EEPROM error in code in the forum Mayfly Data Logger 3 years, 8 months ago
I think you just missed commenting out one more reference to the EEPROM in line 144:
EEPROM_read(KVALUEADDR, Kvalue); //1.0 means no change to raw readings
. Just commenting or deleting that line should fix the compiler error.If you wanted to, you could use the “extVoltage” sensor in ModularSensors with >1 reading do simplify all your code for…[Read more]
-
Sara Damiano replied to the topic Case for Lower Threshold Voltage on Mayfly Stations in the forum Mayfly Data Logger 3 years, 8 months ago
The bottom cut-off (below which the logger will only sleep) exists so that when a near-dead or completely dead solar-powered logger suddenly sees sunshine it gives the battery some time to charge before putting any load on it. Otherwise the logger can get in a loop of repeatedly resetting when the just-barely-charged battery browns out with any…[Read more]
-
Sara Damiano replied to the topic Case for Lower Threshold Voltage on Mayfly Stations in the forum Mayfly Data Logger 3 years, 8 months ago
I’m confused by your tests and your results. The purpose of having the voltage threshold for data upload is to conserve power for the sensors so that data will still be *collected* as long as possible, even if that data isn’t reported online. Of course, decreasing the minimum threshold for powering the modem will increase the amount of time t…[Read more]
-
Sara Damiano replied to the topic I2C and power management in the forum Mayfly Data Logger 3 years, 9 months ago
I’m sorry I’m late to this. But @mbarney the problem with turning off power to I2C devices isn’t universal. It depends on how your external I2C device is wired. If the SCL and SDA of your external device are directly pulled up to the incoming Vcc, then when you turn off the switched power, suddenly the system SCL and SDA will be pulled *<…[Read more]
-
Sara Damiano replied to the topic Documentation fix: Getting Started page in the forum Mayfly Data Logger 3 years, 9 months ago
Fixed! Thank you!
-
Sara Damiano replied to the topic Announcement: New ModularSensors release v0.28.01 in the forum Environmental Sensors 3 years, 9 months ago
I *think* when Platformio pulls it, they pull from a compressed version on their own registry.
-
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 9 months ago
The print-outs are always going to be updated about a minute behind because the board will go to sleep at the end of the
logdata()
function and won’t do the printing until the next time it wakes up (which will be the next minute). -
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 9 months ago
Sorry, the formatter and I were having an argument. I think it’s right now.
-
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 9 months ago
Here’s the version without the extra un-needed BME code. I left in all the code for the display.
/***************************************************************************** Based on logging_to MMW.ino Adapted by Anthony and Brian from source by: Sara Damiano (sdamiano@stroudcenter.org) Development Environment: PlatformIO Hardware…
- Load More