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

Erik G

  • I’m not expecting you to fix all my problems, but I’m very grateful for any help I can get. I prefer this kind of bug though…

    It was actually very instructive to go through the libraries and trying to learn how they work. It was driving me nuts when it was working with the deep debug flag but it finally made sense.

    I totally missed @neilh’s…[Read more]

  • Finally some progress when I got some help.

    In the modified ThingsSpeak sketch the constructor was the problem.
    YosemitechY504 y504_1(y504ModbusAddress1, modbusSerial, modbusSensorPower, max485EnablePin, y504NumberReadings); -> did not work
    YosemitechY504 y504_2(y504ModbusAddress2, modbusSerial, rs485AdapterPower, modbusSensorPower,…[Read more]

  • /*****************************************************************************
    Written By:  Sara Damiano (sdamiano@stroudcenter.org)
    Development Environment: PlatformIO
    Hardware Platform: EnviroDIY Mayfly Arduino Datalogger
    Software License: BSD-3.
      Copyright (c) 2017, Stroud Water Research Center (SWRC)
      and the…

    [Read more]

  • It feels like a memory leak but I can’t see why. I tried to modify the thingspeak example but then everything got messed up and the pins scramled. I’ll try with another computer and see if I can find the bugs in my code. Probably something very simple.

  • My reply is very hard to read especially when all my spacing got removed. Sorry for that:)

    Attaching a .ini didn’t work so here it is:

    ; PlatformIO Project Configuration File
    ;   Build options: build flags, source filter
    ;   Upload options: custom upload port, speed and extra flags
    ;   Library options: dependencies, extra library storages

    [Read more]

  • To answer your questions:

    -I’m using platformio on VSCode. (I’m really not comfortable using it but these kind of problems is good for actually learning hands on. There is a lot of strange things in there that I don’t understand and I wish I could find a really good tutorial how to work with it.)
    -Attached my “platformio.ini”
    -I’ve tried both…[Read more]

  • I’m totally lost. Tried the “data_saving”-example as is and the logger restarts even if I keep the enable pin at -1. Doesn’t make a difference if I detach everything from the Mayfly and I tried both different usb-cables and FTDI-cable.

    The “thingspeak” example works if I don’t add any Yosemitech libraries/sensors in the code. I wonder if I’m…[Read more]

  • Wow, I just realized I didn’t really post any real question and still you are helping=)I’m really thankful and impressed by all your effort.

    I have ordered a module with automatic flow control from Amazon but I didn’t want to wait for it to arrive so I started with what I had.
    The module I have has been working nicely before but this time I…[Read more]

  • I trying to set up a Mayfly logger with two Y504 oxygen sensors but are running into some problems.

    I could not get my hands on any of the RS485 modules you are using in the examples and had to try one I had on the shelf.

    This is is the module I’ve been using with 3.3V Arduinos before:
    Mikroe rs485 3.3v click

    The module work with the examples…[Read more]

  • That is fantastic news! It will speed up my preparations for the coming field season. Thanks for all your work!

  • Erik G posted a new activity comment 4 years, 3 months ago

    That looks very nice. Did you have any ESD-problems with that foam and those cases? I’ve tried to use some fake pelican boxes (made of PE plastic I belive) as enclosures for electronics and had huge problems; as soon as I came close to the box the electronics went crazy.

    • No, I haven’t had any problems with the foam or the cases. In fact, in some of the loggers in locations with a strong cellular signal, I skip the external antenna for the GPRS module and simply use a small PCB antenna and simply tuck that antenna between the small Mayfly enclosure and the foam.

  • Is there any chance that the Mayfly boards will be able to buy in Europe in the near future?
    Would really be a time saver to buy exactly what I need on a PCB instead of building it out of Arduino modules or designing the entire board myself.

  • Erik G became a registered member 5 years ago