Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Rick Vogel

Forum Replies Created

Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • in reply to: Datalogger build #1277
    Rick Vogel
    Participant

      Brandon,
      I took a look at your code. Not sure why the clock is doing that to you, but Rene could be correct. I’ve not had a clock do that to me before so I couldn’t personally confirm.

      I don’t typically use the RTC library as I only need a couple of functions (set time and get time) so I just put the operations within the main sketch. If you would like to, you can try the modified code attached. just rename the extension from .txt to .ino. It is your same code just modified to use the clock structure as I do. It didn’t look like you were pulling anything else from the clock either. I use a DS3231(chronodot setup), but the 1307 is the same address I believe.

      I’m not sure how the library you had performs the time setting but this adds an option for you to send a time update to the sketch over the serial port whenever you like. Its explained at the top of the sketch.

      Attachments:
      in reply to: Datalogger build #1267
      Rick Vogel
      Participant

        Stroud has a great SDI-12 Arduino interface. it only works with Atmega 328P based Arduinos though.

        mathew, just so you are aware……the SDI-12 library will work on the Mega2560 as well. I’m using it right now to pull SDI-12 data from a Sutron Rain Weight gauge. You can only use pins that are set up for digitalPinToPCMSK calls if I remember right.

        pins_Arduino.h for the Mega calls the following pins for that function.

        #define digitalPinToPCMSK(p) ( (((p) >= 10) && ((p) <= 13)) || (((p) >= 50) && ((p) <= 53)) ? (&PCMSK0) : \
        ( (((p) >= 62) && ((p) <= 69)) ? (&PCMSK2) : \
        ((uint8_t *)0) ) )

        in reply to: Soil Temperature Probe #1265
        Rick Vogel
        Participant

          We actually built 3 “in-house” prototypes that utilized different style thermistors(rivet style, tab w/ screw, etc…) and housed them in a single pvc pipe that was capped. We filled the pvc with spray foam to try and deal with moisture issues. All wires from thermistor were ran to a campbell datalogger at our Sterling, VA test facility and all seemed to work out great. Problem is choosing one and finding economical production of such a device.

          Our plans to move forward with soil temp data gathering with this style of probe will be forthcoming in the next year or so. As I get more info or find a source I’ll update the community.

        Viewing 3 posts - 31 through 33 (of 33 total)