Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Cal

  • Yep – I had a problem with my library.  All is good now. Sorry for the fire drill.

  • Sara noted above that she re-wrote TinyGsm – so I decided it was a good time to update all my code with new libraries.  Trouble is, I can’t get TinyGSM with templates from EnviroDIY GitHub to compile on the Arduino IDE (I’m not using PlatformIO).  I’m sure I’m making a simple mistake or compiler option but can’t figure it out being a novice C++ p…[Read more]

  • More news:

    1. The cutting and soldering of the Mayfly and XBeee adapter mentioned above works great!  I can now programmatically reset the modem if it gets into a non-responsive state.  I’m thinking of ditching my Sleep Mode code and instead doing a Shutdown(SD) and power off via A5 between communications. It may be less error prone and it does u…

    [Read more]

  • I had something interesting happen to me last week – a brand new XBee  (with brand new firmware 11415) + brand new SIM card would NOT connect to the tower for days.  In desperation, I changed the Carrier Profile from 0 to 2 (AT&T) and it connected immediately.  After that, I changed the CP back to 0 and it connects fine.

    All of my inst…[Read more]

  • From time to time, some of my XBee radios in the field get into a state that won’t communicate.  Even though I can successfully execute AT commands nothing I’ve found but a power recycle will get it out of that state and communicating again.  One thing that can cause the problem is a power brownout but there are other causes that I don’t underst…[Read more]

  • Cal replied to the topic Low power project in the forum Mayfly Data Logger 9 months, 1 week ago

    From what I read in the documentation, the following sketch should include these libraries for concurrent SDI-12 and RTC support.

    #include <SDI12_PCINT3.h>
    #include<Sodaq_PcInt_PCINT0.h>
    void setup() {}
    void loop() {}

    But I get compile error:

    librariesEnviroDIY_PCInt_PCINT0Sodaq_PcInt_PCINT0.cpp.o (symbol from plugin): In function…[Read more]

  • Thanks, Shannon, for your response, clarifications and tremendous work with the Mayfly. Addressing your questions:

    I’m powering the CS451 with the same 12v battery that powers the Mayfly from the 12-5v USB converter. The ground (-) of the Mayfly & battery are common. I could not find anywhere in the Campbell Sci specs the voltage level for the…[Read more]

  • Next week I’m deploying several units – Mayfly with XBee using Hologram SIM, logging data from CS451 SDI-12 pressure transducers. They are replacing old 12v systems with Microhard 3G modems and CR300 Dataloggers. The old modems are power hungry and unreliable. The AT&T service is expensive and 3G will go away eventually. The dataloggers have…[Read more]

  • Cal replied to the topic GPRSBee in the forum Mayfly Data Logger 11 months, 1 week ago

    After a few months of successful communication with the DIGI XBee3, I am now starting to get failures with longer and successive Internet messages. Delays between sending messages helps.

    I believe the problem is power related even though I’ve made the solder jumper. Once the XBee fails to transmit, I have to power-cycle it or airplane mode…[Read more]

  • Cal replied to the topic Battery Power Options in the forum Mayfly Data Logger 1 year ago

    Thanks Sara. I think a cheap 12v to 5v phone charger will work well for me then.
    As for the LiPo battery – I will use a small one. Our transmissions are short and the LiPo will be recharged from the lead-acid battery.

    I have the V0.5b version of the Mayfly – so I could use the 12v input. But I’m a little worried though that the voltage may…[Read more]

  • Cal replied to the topic Battery Power Options in the forum Mayfly Data Logger 1 year ago

    I’m planning to replace some existing datalogging equipment with the Mayfly and keep some of the existing power equipment.

    Today I have several stations each with Campbell Scientific dataloggers & sensors, standalone modems, solar panels, lead-acid batteries and charging circuits. The equipment is all 12v based. My desire is to pull out the d…[Read more]

  • Cal posted a new activity comment 1 year, 1 month ago

    Neil – there is no solar panel on this setup. We swap the battery with a new charged one after 3 months use.

  • Cal posted a new activity comment 1 year, 1 month ago

    Neil – I saw the spike on my Mayfly for the 2nd time last week. I think I have a different problem than you – and I think my problem is battery related. The spike goes from 4v to 5v then tapers back down over several hours. I can’t imagine any stray electromagnetic field causing that kind of jump for that kind of time span in the middle of…[Read more]

    • Cal – Some thoughts, if you are using the Mayfly’s battery measurement its not actually measuring the LiIon battery voltage. How are you connecting the solar cell and what rating is it?
      If the battery is charging, its taking current and the voltage indication is close to that of the battery – depending on how much solar there is. For the voltage…[Read more]

      • Neil – there is no solar panel on this setup. We swap the battery with a new charged one after 3 months use.

  • Cal replied to the topic GPRSBee in the forum Mayfly Data Logger 1 year, 2 months ago

    Mdean,

    When I went to Carrier Profile 2 (at&t) instead of CP 0, my connect time decreased by about 1 minute. Not a huge improvement. I’m hoping my long connect time is due to poor cell signal or bad configuration – and not a modem problem. I’m going to try to travel to a better area this weekend and see if I get connected faster. I’m also…[Read more]

  • Cal replied to the topic GPRSBee in the forum Mayfly Data Logger 1 year, 2 months ago

    Brian,

    I feel your pain. I tried to get started months ago with logging_to_envirodiy and gave up. I believe the code is at too high a level to understand what is going on, what’s working and what’s not. You really need to get some “bring-up” software in place to be able to write AT commands and see the XBee respond. That’s why I went with the…[Read more]

  • Sometimes I get the XBee into a mode that won’t respond to AT commands. It has something to do with the sequence of bringing up power to the Mayfly and power to the modem. To get out of this mode, I’d like to try to programmatically “reset” the XBee modem via it’s reset pin #5. In the wiring diagram of the Mayfly, it shows a small circle around…[Read more]

  • Cal replied to the topic GPRSBee in the forum Mayfly Data Logger 1 year, 2 months ago

    After a sabbatical of several months, I’m now back working on the LTE-M XBee and I HAVE IT WORKING!

    For software, I’m using:
    – StreamDebugger
    – Parts of Diagnostics.ino
    – TINY_GSM_MODEM_XBEE
    – My own .ino

    My hardware is:
    – My XBee (Digi XBee3 Cellular Smart Modem XB3-C-A2-UT-001)
    – Mayfly 0.5b
    – Soldered SJ13
    – 3.7v Lipo battery
    – USB to Wi…[Read more]

  • Cal posted a new activity comment 1 year, 5 months ago

    OK. If/when I see this happen again, I’ll check the battery with my voltmeter.

  • Cal posted a new activity comment 1 year, 5 months ago

    All my Mayflies are v0.5b.

    • I haven’t seen an issue like that. The battery voltage is measured by a simple resistor divider across the battery input, and measured by an analog pin on the micro, so it’s unlikely to randomly drift, unless there is something wrong with the analog reference pin (AREF) or your battery. If it happens again, maybe check the lipo battery voltage…[Read more]

  • Cal posted an update 1 year, 5 months ago

    Has anybody seen a voltage spike recorded by the Mayfly? I have 2 Mayflies measuring water level each powered simply by a 6600mah LIPO battery – no solar panel and no other sources of power. I’m using the sleeping option so that each Mayfly wakes up every half hour and records sensor values plus the battery voltage. The Mayflys have been…[Read more]

    • What version of Mayfly do you have? v0.3, v0.4, v0.5, or v0.5b?

      • All my Mayflies are v0.5b.

        • I haven’t seen an issue like that. The battery voltage is measured by a simple resistor divider across the battery input, and measured by an analog pin on the micro, so it’s unlikely to randomly drift, unless there is something wrong with the analog reference pin (AREF) or your battery. If it happens again, maybe check the lipo battery voltage…[Read more]

    • Unfortunately I am seeing some issues with the LiIon battery measurement. I think the issue is that the battery measurement uses a 10M/2.7M resistor with a high impedance Analog input, and if its in an RF noisy location (roving cell phones) it can detect some of that energy. Wires can behave in two ways – on the one hand they conduct current,…[Read more]

      • Neil – I saw the spike on my Mayfly for the 2nd time last week. I think I have a different problem than you – and I think my problem is battery related. The spike goes from 4v to 5v then tapers back down over several hours. I can’t imagine any stray electromagnetic field causing that kind of jump for that kind of time span in the middle of…[Read more]

        • Cal – Some thoughts, if you are using the Mayfly’s battery measurement its not actually measuring the LiIon battery voltage. How are you connecting the solar cell and what rating is it?
          If the battery is charging, its taking current and the voltage indication is close to that of the battery – depending on how much solar there is. For the voltage…[Read more]

          • Neil – there is no solar panel on this setup. We swap the battery with a new charged one after 3 months use.

  • Load More