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]
/***************************************************************************** logging_to_thingSpeak.ino Written By: Sara Damiano (email@example.com) Development Environment: PlatformIO Hardware Platform: EnviroDIY Mayfly Arduino Datalogger Software License: BSD-3. Copyright (c) 2017, Stroud Water Research Center (SWRC) and the…
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 ;…
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 commented on the post, EnviroDIY Mayfly logger stations deployed in PA, DE and MN! 3 years 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.
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.