-
Charitha (CJ) became a registered member 4 years, 9 months ago
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
I uploaded DRWI_CitSci to my Mayfly board but I haven’t got to modifying this to work with my Atlas EZO sensors. I set up another project folder to load my Atlas setup code that I have been using for a while using Arduino IDE.
I am getting “…No such file or directory” error when I try to compile. If I point the .ini to the logging to MMW it…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
In episode 9, copy and paste from the folder that you already saved on your computer from when you cloned the whole library not from GitHub.
You should generally create a whole new project for each logger/program – just like in the Arduino IDE. The platformio.ini file must be in the top level directory for the project – not in a…[Read more]
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
Following the steps in episode 9 I right clicked on the simple_loging folder in https://github.com/EnviroDIY/ModularSensors/tree/master/examples
there was no option to copy the folder on;y a link to it. How can I copy this folder and upload to my project which is local at …/documents/Arduino/GMI_ECx?
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
I was able to compile and load DRWI_CitSci to my mayfly without sensors and no sim card for the GPRSbee. It seemed to work as expected, wakeup, turn on power, and attempt a 2G connection and go to sleep for 5 minutes and wrote a lot of 9’s to the sd card.
Last night, however, I added a sketch to my project (GMi_ECx) and broke something and get…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
That’s the folder for the library itself. You want to create your own separate folder for your logger deployment and its code. Follow the steps from the tutorial, episode 9, in the section “Managing your sketches in your own deployments repo.” In that, you’re copying the folder for a single example (<code cl…[Read more]
-
Sara Damiano replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 9 months ago
That automatic library population used to happen in PIO version 3ish, but it got lost somewhere in the updates. It’s good to hear it’s back again.
I don’t usually specify the version of ModularSensors in my ini file, but it’s not a bad idea to do so. If you want to later recreate the set-up exactly, then it’s definitely easier if the version n…[Read more]
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
Thanks Sara-
I have worked my way thru part one of LearnEnviroDIY. I am now trying to set up ModularSensors and Atom is telling me there is no platformio.ini file which there isn’t. I attached the FileExplorer view. Where did miss something. Maybe I didn’t “clone”. I downloaded the .zip file unziped and put it my directory as shown on the att…[Read more]
-
Matt Barney replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 9 months ago
Hi Sara,
Today I started to shift my workflow to having all dependencies local to a given project as you suggested. I’m wondering whether it’s even necessary to clone the ModularSensors dependencies into the project’s .piolibdeps path? If I create a new PlatformIO project and modify its .ini file to include:
lib_ldf_mode = deep+ lib_ignore =…
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 9 months ago
The new SIM card from Verizon works! I first did some testing using XCTU, and I can set the Carrier Profile (CP) either to 3-Verizon, or to 0-Auto-detect, and it registers and works successfully. (Not surprisingly, it never registers when CP is set to 2 (AT&T), and I also presume that setting CP=0 in an AT&T-only coverage area would not…[Read more]
-
Sara Damiano replied to the topic SDI-12 Library in the forum Other Data Loggers 4 years, 9 months ago
My intent was to help you by giving you an example of something you could modify to your needs, not to give you a final working program.
This version will compile. I don’t know if it will actually work for your sensors or log data as expected. You will need to test that.
#include <SDI12.h> #include <SD.h> #include <Wire.h> #include &…
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
Ctrl+S will save the file. That keyboard shortcut works on almost all Windows programs, including VS Code, Atom, MS Word, Excel, etc.
You can make the normal “file” menu visible in Atom in the settings. I’ve attached a screenshot. PlatformIO is just a command line tool and an extension for an editor. The editing program is either VS Code or…[Read more]
-
Gustavo Coelho became a registered member 4 years, 10 months ago
-
quiqueapolo replied to the topic SDI-12 Library in the forum Other Data Loggers 4 years, 10 months ago
Hi again Sara:
I deleted the lines that you say in previous comment. However, the problem do not have solution.
Thanks in advance
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 10 months ago
DropBox was the problem but unsyncing that folder didn’t work. pio didnt recognize as a project file. I moved the project folder out of dropbox and build and load worked ok.
Now I am trying to find my way around pio. Can’t even find the save button!
- Open the <code class=”highlighter-rouge”>platformio.ini file in the LearnEnviroDIYcode pro…
-
MarkDunagan became a registered member 4 years, 10 months ago
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 10 months ago
Could it be DropBox syncing? If you have that folder set to automatically synchronize with anything, make sure you exclude the entire .pio folder and all of its subfolders from your synchronization. PlatformIO expects to have full control of that folder and will be very, very unhappy if other processes try to lock onto those files. Every ti…[Read more]
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 10 months ago
I rebooted my PC and same result. Attached a screen shot of the error thread from initial command.
Here is the first error
[WinError 32] The process cannot access the file because it is being used by another process: ‘C:UsersJim MooreDropboxJim Moore…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 10 months ago
Did you try just running the same command a second time like I’d suggested? Did it install any libraries?
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 10 months ago
I reloaded my learnEnviroDIYcode-master to my /arduino directory
Here is a screen shot of errors I got when I ran
pio lib install EnviroDIY_ModularSensors
- Load More