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

  • 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]

  • Cal replied to the topic Battery Power Options in the forum Mayfly Data Logger 5 months ago

    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 5 months, 4 weeks 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]

  • 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]

  • 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 8 months, 2 weeks 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 8 months, 2 weeks 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 8 months, 4 weeks 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 8 months, 4 weeks 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 9 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 12 months ago

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

  • Cal posted a new activity comment 12 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 replied 12 months ago

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

  • Cal posted an update 1 year 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?

      • Cal replied 12 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 replied 12 months ago

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

    • 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.

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

    I’ve cut the trace at SJ13 and made the solder bridge to directly connect the LIPO battery to the modem. Now the LTE-M XBee doesn’t reply to anything – I’m sure it’s not powering on. Am I missing some switch or setting? I’m using some version of logging_to_EnviroDIY.ino.

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

    I ordered some parts and I’m back working on this. I have 4 each of Mayfly’s (v0.5b), Hologram SIMs, and XBee3’s (XB3-C-A2-UT-001). I’ve had a little trouble getting the library straight and I intend to learn and install PlatformIO, but for now I’m working on regular Arduino platform. I’m running Sara’s “logging_to_EnviroDIY” … I don’t know if…[Read more]

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

    OK – I’ve cleaned up my library problems as suggested. I’ve paired down the logging_to_EnviroDIY.ino to the bare minimum to check out the modem. I also turned on some debugging and I think I fixed a bug in the code that made it think it was connecting to a WiFi network. I know I got on the cellular network because it showed as active on…[Read more]

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

    I just received the Digi Xbee3 that I ordered a week ago. Now I need a little help with a sketch to get me started. I tried using the code that Beth suggested (Logging_to_EnviroDIY.ino) but never got it to compile. Does anyone have a simple bring-up sketch for this module? You can contact me externally at ckillen@charter.net.

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

    Thanks Beth and Shannon, I’m finally getting a chance to get back to this.

    I’m NOT using any sensor with the ADS115 chip so I’ll go back to my 2G setup and comment out those lines of code. I’ll get back to you on my success/failure eventually.

    The Digi XBee3™ Cellular Smart Modem, LTE-M seems to be what I want in the long run. I just ordered…[Read more]

  • Load More