-
Shannon Hicks replied to the topic How to determine battery and power supply in the forum Mayfly Data Logger 2 years, 11 months ago
Sensors with heaters are another big challenge, especially if they run continuously. Are the heaters powered all the time, or only when taking a sample? Do they require 12v to operate, or was that spec just listing the power draw at 12v?
You can do some basic battery life calculations on this handy website: https://oregonembedded.com/batterycalc.htm
-
Braedon replied to the topic How to determine battery and power supply in the forum Mayfly Data Logger 2 years, 11 months ago
Awesome. The XBee module is an RF module, the XBee Pro S3B. I just remembered, while the apogee sensors I am using don’t require power to make measurements, they do require power for the internal heater. The pyrgeometer heaters, according to the datasheet, draw 15.4 mA and 185 mW at 12 VDC. The pyranometers draw 30.8 mA and 370s mW at 12 VDC. In…[Read more]
-
Shannon Hicks replied to the topic How to determine battery and power supply in the forum Mayfly Data Logger 2 years, 11 months ago
Standard practice is that when the Mayfly board goes to sleep in between measurements, it turns off all power supplied to the sensors and radio module. So the power consumed when sleeping is just the bare minimum to keep the Mayfly in sleep mode, which is usually a little less than 1 milliamp. There are ways to make it use even less in sleep m…[Read more]
-
Shannon Hicks replied to the topic Widespread cellular network outage today in the forum Monitor My Watershed 2 years, 11 months ago
It appears that the Hologram service interruption has been fixed and almost all of the cellular stations on Monitor My Watershed have returned to normal operation. If any stations don’t rejoin the network by later today, it might require a field visit to cycle the power or possibly replace the battery.
-
Braedon started the topic How to determine battery and power supply in the forum Mayfly Data Logger 2 years, 11 months ago
Hi everyone, I’m wondering what is the best way to determine how much power I need to supply to run my Mayfly and the sensors attached, and how I properly size batteries and solar panels. The sensors I have attached that require power are 3 Meter Teros 12 sensors and 1 MaxBotix sonar sensor.
For the Meter sensors, the datasheet says that the…[Read more]
-
Shannon Hicks started the topic Widespread cellular network outage today in the forum Monitor My Watershed 2 years, 11 months ago
There is currently an issue with the Hologram cellular network that is used with most of the EnviroDIY stations with cellular modules. The network problem is preventing all Mayfly logger stations with Hologram SIM cards from being able to send data to the Monitor My Watershed data portal. Hologram is aware of the issue and apparently has fixed t…[Read more]
-
Braedon replied to the topic Using Modular Sensors for METER Teros 12 in the forum Environmental Sensors 2 years, 11 months ago
@srgdamiano Sorry to bother you on this, but I still need help understanding the issues I’ve had with the Teros library.
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
I think that the directory structure could be the culprit. The way that I have been able to reliably get this work is the following:
- Create a new Platformio project.
- Create an identically-named folder in that project in which to put my code.
- Create an identically-named .ino file in that folder for the sketch I need to upload.
- Use the…
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
It seems to me its a working practice’s issue, repeatability and traceability- not a programming issue. From a distance, seems like you should be able to see the code in the directory that you are building – however you do have a unique directory structure, and if opening HicksonDeployments.code-workspace – maybe its mispointed. I open…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
I think I agree with you about the complexity of deploying multiple sensor packages, each with different UUIDs. However, I don’t think that is what’s screwing me up here. As of now, I simply can’t get my sketches to reliably upload to the boards. I honestly don’t think that the compile and upload process is even getting to a place in my code where…[Read more]
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Well you are now into working deployment practice’s, beyond programming,
So how about simplifying (I think you’re process is getting complicated . IHMO all the guideline haven’t identified what happens when you actually have a successful program to deploy .)
Seems the question is for a successful working Mayfly logger program ….. and how t…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Alright, I have no idea if this will help or not, but I think it’s important that I get this down for completeness.
- If I open the public repo that I shared above in VSC from Github Desktop, then copy the sketch into it that I need to load, it seems to compile and upload. So, as of right now, I have my sketches loaded onto my boards and they…
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Hey glad to have helped!!. Whew.!
Its a challenge sometime to figure out what the foundations are and build off them. I’ve had to do that before, start with a known should be working, and then slowly add to it to find out what came adrift. I often use Meld Merge to compare the base directories separately from PIO. There is a gitkraken plug…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
I may have found the problem, thanks to you. I had to create a new repo in order to share my code with you. When I open that new repo in VSC from Github desktop it compiles as you’ve described. I was starting to have a hunch that the problem was that I had branched from main to add some additional functionality and I thought that I could just…[Read more]
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
So good to play around with it, I asked bard.google.com a question that doesn’t have a lot written about it ..
“What is the quiescent power consumption of the Bristlemouth hardware”
AND it sounds coherent – however its “hallucinating” as not a google project. The 10milliwatts its quoting is the active transmission per Mhz.
I’ve got an open…[Read more]
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Goodluck with tracking it down :), some cyber screw come loose.
Yes interesting to understand the basis of the technology. ChatGPT sounds coherent!! or as a “stochastic parrot”, have enough people written on the problem for it to be trained to sound coherent :).
A friend said they found it helps debug xls macros!!
Like handling a “kn…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
That definitely sounds more like what should be happening! Thanks so much for taking the time to do this, Neil. I will try to fix things on Monday when I’m back in my office and next to my sensors.
Just a funny addendum. I just created a ChapGPT account so that I could stay abreast of it in my teaching. Here is the text of my first chat:
<div…[Read more] -
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
great makes it easy to try it –
I cloned locally, opened the folder in VSC.
It pulled in the libs, and then I pressed the pio build button.
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [=== ] 34.9% (used 5724 bytes from 16384 bytes)
Flash: [======= ] 65.5% (used 85196 bytes from 130048 bytes)
Building…[Read more] -
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Here’s a link to a new public repo: https://github.com/tahickson/UST_Earth_Envt_Society
The platformio.ini file should have all you need to know in it. Should be ready to go. Thanks for giving this a try!
-
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 3 years ago
Sometime “stuff happens” and thats why virtual machines where invented.
If you post your git link – and the project is set up right, I should be able to clone, and then open it in VSC/PIO and see if it builds.
- Load More
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of