-
neilh20 replied to the topic I2C and power management in the forum Mayfly Data Logger 3 years, 10 months ago
Be interested to hear about the power measurements you make and tradeoffs in power management.
I’m including a Vbat/Coloumb counter monitor with an RS485 wingboard and optionally routing power from the LionBat. It uses the switched 3V3 and the switched 5V – but paying attention to having compatible Ioff when switched off..…[Read more]
-
Matt Barney replied to the topic I2C and power management in the forum Mayfly Data Logger 3 years, 10 months ago
Ah, got it! That makes total sense to me know. Thanks @shicks !
Matt
-
Shannon Hicks replied to the topic I2C and power management in the forum Mayfly Data Logger 3 years, 10 months ago
The jumper for selecting whether the I2C grove port is constantly powered or switched powered was not intended to allow the user to turn off I2C devices on that Grove port. I designed the board that way because I wanted to give users at 2 separate Grove ports that could be powered either continuously or switched, because the other 4 Grove ports…[Read more]
-
Matt Barney replied to the topic I2C and power management in the forum Mayfly Data Logger 3 years, 10 months ago
Hi Neil,
Thanks for sharing your experience. It’s unclear to me the intent of the Switched 3V3 jumper on the Mayfly I2C port; it appears that it cannot be used in the Switched position with peripherals that pull up the I2C lines (which most seem to do) because the Wire library locks up.
I’m also doing some testing with power consumption and hope…[Read more]
-
neilh20 replied to the topic I2C and power management in the forum Mayfly Data Logger 3 years, 10 months ago
Hi @mbarney I have come across the I2C issue, and trying to remember what I did, or solution. There was an update that could fix it, but of course that is a fork.
It might have been that a wrongly soldered I2C for a humidity device caused the problem for me. Arduino paradigm is typically normal use cases.
The Mayfly 0.5b has pullups R8 & 10 o…[Read more]
-
Sara Damiano replied to the topic Documentation fix: Getting Started page in the forum Mayfly Data Logger 3 years, 10 months ago
Fixed! Thank you!
-
Matt Barney started the topic Documentation fix: Getting Started page in the forum Mayfly Data Logger 3 years, 10 months ago
On this page: https://envirodiy.github.io/ModularSensors/page_getting_started.html
there is an error in the section Setting the Clock. This text:
src_dir = .piolibdeps/EnviroDIY_DS3231_ID2079/examples/PCsync
should be replaced with this text:
src_dir = .pio/libdeps/mayfly/EnviroDIY_DS3231/examples/PCsync
Thanks!
Matt
should be replaced by this…[Read more]
-
Matt Barney started the topic I2C and power management in the forum Mayfly Data Logger 3 years, 10 months ago
If I understand correctly, you cannot set the Mayfly’s I2C Grove port jumper to “switched 3V3” if you’re using it to communicate with a connected I2C device. According to the datasheets and other documentation I’ve read, most (all?) I2C devices have pullup resistors on their SDA and SCL lines, which these two posts suggest that having the Mayfly…[Read more]
-
Sara Damiano replied to the topic Announcement: New ModularSensors release v0.28.01 in the forum Environmental Sensors 3 years, 10 months ago
I *think* when Platformio pulls it, they pull from a compressed version on their own registry.
-
neilh20 replied to the topic Announcement: New ModularSensors release v0.28.01 in the forum Environmental Sensors 3 years, 10 months ago
I’d like to give my thanks to @srgdamiano for the excellent job in doing releases and also documenting them in different places including the platformio.ini . The git managed source control is core to being able to build reliable loads. Absolutely amazing the distributed gits.
I still don’t quite follow all the release mechanisms, as they area…[Read more]
-
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 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, 10 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, 10 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…
-
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
The C-to-F is working for me with this calculation function:
float calculateTempF(void) { float TempCFromMaximDS18_Temp = ds18Temp->getValue(); float TempF = (TempCFromMaximDS18_Temp)*1.8 + 32; if (TempCFromMaximDS18_Temp == -9999) { TempF = -9999; } // Serial.print("DS18 Temperature in Celsius:"); //…
-
BrianJastram replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
There should be no u in Maxium in line 194.
-
BrianJastram replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
Yes, thank you. Here it is.
/***************************************************************************** Based on logging_to MMW.ino Adapted by Anthony and Brian from source by: Sara Damiano (sdamiano@stroudcenter.org) Development Environment: PlatformIO Hardware Platform: EnviroDIY Mayfly Arduino Datalogger Software License: BSD-3.…
-
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
Hm. Can you post your current code? I’ll try running it. I have a DS18 here so hopefully once I attach things and start trying to run them whatever issue I’m missing will jump out at me.
-
BrianJastram replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
I tried just DS18Temp but that didn’t work.
The Celsius temperature from the DS18 is a reasonable 22.25 degrees. -
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
You can throw a
Serial.println(TempCFromMaxiumDS18_Temp);
into the middle of your calculation equation just for testing. I can try testing your code myself later this afternoon. -
Sara Damiano replied to the topic Calculated Variable Celsius to Fahrenheit DS18 in the forum Mayfly Data Logger 3 years, 10 months ago
-17966.20 does seem a little bit cold for most offices. Did you change your variable array so it has the
ds18Temp
named variable in it instead of the other new variable? If not update step will update that other new variable and not the one that you’re calculating F from, though adding the “true” to the getValue should force it to update a…[Read more] - Load More