@tahicksonstthomas-edu
Active 4 years, 6 months ago-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months 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…
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months 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]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months 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…
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months 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]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months 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] -
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months 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!
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months ago
I really want to thank you for giving me help and feedback on this. Although I can’t, for the life of me, understand what’s going on, at least someone is throwing out ideas. My code is under git/source control. I cannot see any changes that I’ve made, looking over my Github history, that could explain this. I did branch off of main to work on some…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months ago
Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this might happen?
Here’s the full sketch, based off of Menu_a_la_carte:
/** ========================================================================= * @file…
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months ago
Well, that’s interesting. After running a compile check, I get:
RAM: [ ] 0.1% (used 9 bytes from 16384 bytes)
Flash: [ ] 0.4% (used 510 bytes from 130048 bytes)And when I do the same for “Blink” I get:
RAM: [ ] 1.6% (used 266 bytes from 16384 bytes)
Flash: [ ] 1.7% (used 2252 bytes from 130048 bytes)So, for some reason, even though it looks…[Read more]
-
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months ago
Thanks for the reply, Neil. I tried using “upload_port” in platformio.ini and there was no change. Also restarted VSC a couple of times. Tried connecting with the Mayfly off and then on. The weird thing is that I can get simple code to load and work. But this Mayfly code, which is significantly more complex and lengthy, will compile fine, worked…[Read more]
-
Sedhead started the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 3 months ago
I am using VSCode and Platformio to upload sketches to my Mayfly boards. The sketches compiled and uploaded fine two weeks ago. Today, when I went to deploy the sensors, the code compiled fine and it even looked like it uploaded fine, except that the upload was way too fast. Usually there is a bit of a lag as the code is being written to the…[Read more]
-
Sedhead replied to the topic Get MMW data in real time? in the forum Monitor My Watershed 1 years, 5 months ago
Thanks so much @srgdamiano. I noticed your comment “This endpoint serves as a temporary access point between the shut-down of the WoFpy service and the development of a more efficient and permanent service.” Are you aware of anything in the works to create this “more efficient and permanent service”? That being said, I think I can see how to do…[Read more]
-
Sedhead started the topic Get MMW data in real time? in the forum Monitor My Watershed 1 years, 5 months ago
Is it possible to get data from an MMW sensor in real time from the website, not by downloading the data as a .csv? I’m looking for a way to grab data from some sensors and then plot them on a custom web app for our university.
Thanks!
-
Sedhead started the topic xBee Wifi module intermittently connecting in the forum Mayfly Data Logger 1 years, 6 months ago
We have a working sketch for a Maxbotix Sonar to read water level in basement sumps on our campus. The sonar is getting good readings and appears to be logging to the SD card fine. However, we are finding that we only get intermittent logging to MMW via the modem. We are using a DigiXbee wifi modem that connects to a wireless network on our…[Read more]
-
Sedhead started the topic Fetching MMW data from one sensor? in the forum Monitor My Watershed 1 years, 7 months ago
Greetings, I am wondering if anyone is willing to share code with me that demonstrates how you access MMW data from a single sensor and use it in other applications in quasi-realtime? I have a student that would like to activate a strand of LEDs based on the water level of a gage that is a site on MMW. I am guessing that there is a thread…[Read more]
-
Sedhead replied to the topic Ultrasonic Water Surface Elevation in the forum Environmental Sensors 1 years, 9 months ago
Let me lay the cards on the table: I am coming back to sensor construction after a five year hiatus (I’m a geology/env sci prof and covid sort of wiped out cool things like this for me). So I’m trying to spin back up and I’m hoping to implement a water level sensor in our university’s water sumps to monitor ‘invisible’ water as it flows through…[Read more]
-
Sedhead started the topic Ultrasonic Water Surface Elevation in the forum Environmental Sensors 1 years, 9 months ago
Anyone out there able to share code or link to a thread here on using the Maxbotix ultrasonic sensor for water surface elevation measurement? I would like to see fully operational code with Mayfly board.
-
Sedhead posted a new activity comment 4 years, 6 months ago
Were you able to get any info on this? Just curious at this point.
-
Sedhead replied to the topic Mayfly availability in the forum Mayfly Data Logger 7 years, 6 months ago
Thanks Shannon! So excited. Better than Christmas.
-
Sedhead posted an update 7 years, 6 months ago
What’s the update on Mayflys?? I’m addicted. Can you hook me up soon? I would love to know when the next batch is available!
- Load More
Woot! They’re coming! https://envirodiy.org/topic/mayfly-availability/#post-2223