Forum Replies Created
-
AuthorPosts
-
Hi Sara,
Not sure what I was doing wrong initially but I’ve managed to get platformIO installed correctly on VSCode and I’m ready to proceed.
For step two of your instructions above – “2. After your project is created, delete the contents of the new platformio.ini file and replace them with the contents of the same file from the folder where you copied your code from on GitHub” – what files/code do you mean exactly? The DRWI_CitSci.ino, once corrected, is what will go in the src/main.cpp location correct?
Yes, I can open python by entering the location from CMD and Run.
Hi Matt,
Thanks. I’ve tried that and am met with “Invalid path to python interpreter.”
The path is C:\Users\Josh Biddle\AppData\Local\Programs\Python\Python38-32
Thanks.
So, that helped to eliminate most of the compiling error that I was receiving. I’ve attached the error message as I’m getting it right now.
As for the libraries, I’m 99% sure I’ve deleted all duplicate versions of the libraries, so i’m not sure where it is finding the duplicate versions. I’d be happy to try out using PlatformIO. Going back to it now I remember why I gave up trying to use it a few months ago. Every time I start VScode it tries to install the PlatformIO, but it tells me that “PlatformIO: Can not find working Python 2.7 or 3.5+ Interpreter. Please install the latest Python 3 and restart VSCode.” I have the most recent version of python, Python-3.8.1. Along with that error message is a button to select “I have Python.” If I click that, it pops open an address bar at the top of VScode and asks for the full path to Python/Python.exe. That’s where I’m getting stuck as I am not exactly sure how to give it the correct path to the python.exe
Attachments:
You did mention that it isn’t easy! I did download PlatformIO and found it to be just as foreign to me, so instead of confusing myself with two different applications I figured I’d stick with the Arduino IDE for now. I just went through and deleted what I thought was my duplicate library, other than that I’m not sure what libraries might be missing as I’ve tried to follow the directions as closely as I could. I’ve attached the sketch. Thanks for taking the time to help me.
Attachments:
Thanks Sara. I’ve copied the error message and attached it as a text file. As you can see there’s a lot going on and I’m not really even sure where to begin. Any advice you have is appreciated. Thanks.
Attachments:
Hi Sarah,
Thanks for your response. I once again had to put this on hold for a bit but I am back to trying to get it to work.
As I’ve mentioned I am new to this type of thing, but I really think I’ve hit a wall here, and am wondering if I could benefit from a bit more in-depth help. I’ve followed the directions as closely as I could and edited the DWRI_CitSci.ino code as accurately as possible, but when I verify the code I am getting the mother of all error messages and I’m not really sure how to make heads or tails of it. I could post it here but it is very, very long. Is there a way you could continue to help walk me through this process?
Hi Sara, thanks for your help.
I unfortunately had to put this project on hold right after you help me with my last problem, so sorry for the late response.
I managed to fix the library issue I was having (they were stored in the wrong subfolder), and I have a few new questions if you are able to help.
When editing the UUIDs for each variable in my sketch, there is supposed to be a UUID for both the low and high values for the Campbell OBS-3+ Sensor (“TurbLow” and “TurbHigh”). However on Monitor My Watershed I only have one UUID for the sensor for my turbidity variable. Is there a way to create a UUID for each of the low and high values on Monitor My Watershed?
Thanks in advance for your help.
Thanks for your response.
I’ve been out of the office and am just now getting back around to trying to set up our data logger. This is my first time trying to set up one of these data loggers, and possibly more importantly is my first time working with Arduino, so I’m still working on understanding everything.
In the DRWI_CitSci sketch I mentioned, I’m having a few issues verifying/compiling the sketch after editing the UUIDs and a few other variables. In the first few lines of the sketch there is:
#include <Arduino.h> // The base Arduino library
#include <EnableInterrupt.h> // for external and pin change interrupts
#include <LoggerBase.h> // The modular sensors libraryThe error I’m receiving is: Arduino: 1.8.10 (Windows 10), Board: “EnviroDIY Mayfly 1284p”
sketch_nov25a:36:10: error: LoggerBase.h: No such file or directory
Multiple libraries were found for “EnableInterrupt.h”
Used: C:\Users\Owner\Documents\Arduino\libraries\EnableInterrupt
#include <LoggerBase.h> // The modular sensors library^~~~~~~~~~~~~~
compilation terminated.
exit status 1
LoggerBase.h: No such file or directoryThis report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.Where can I find the LoggerBase.h library?
Additionally, another error I’ve run into is for the #include <sensors/ProcessorStats.h> line. Again, no such directory or file found.
If you have any guidance, it would be greatly appreciated. Thanks for your patience and helping work through/learn how to do this!
While I have your attention, I have a second question if you’re ale to help.
I am now trying to edit the UUIDs in the sketch for each of my variables, except I don’t have the CTD sensor as part of this system. Can I simply remove those lines in the sketch for the CTD sensor, or should I leave them in place with the default UUIDs that are provided?
-
AuthorPosts