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

Bibhuti Bikramaditya

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Hydros 21/Decagon CTD: reading error #18307

    Dear Sara
    <div>      Following are the asnwers:</div>
    <div>1.We are getting long Garbage data like some art ..square, or some numbers some times like…..for long..</div>
    <div>2. We are not getting data like0013.</div>
    <div>3.We already checked with change of Address  (0 to 1) and used the example program d_simple_logger but the same garbage data is coming.</div>
    <div>4.We checked with this program(attached)…..also….<wbr />it says “NO SENSOR Found”.</div>
    <div></div>
    <div>Now we want to check the sensor whether it is working ..because we checked the voltage output from the Data pin ..it’s only 0.5v around when we give 5v to the power pin of the sensor. When we give a 12v power pin, it gives 0.8v sensor data output. Is this correct? Please give me some advice.</div>
    <div>Awaiting your quick reply.</div>
    <div></div>

    in reply to: Hydros 21/Decagon CTD: reading error #18293

    We wrote Program for Interfacing Hydros sensor 21 with Arduino Uno board using SDI-12 interface and saw the result on serial monitor . We tried a lot in implementing a program for connecting sensor directly to the digital Pin (Pin7/Pin2) of the Arduino UNO board using SDI-12 interface and viewing the result on the serial monitor. We found only garbage data coming on the serial Monitor.

    We uploaded program here.

    #include <SDI12.h>

    const int dataPin = 2; // Connect the data pin to digital pin 2
    SDI12 sdi12;

    void setup() {
    Serial.begin(9600);
    sdi12.begin(dataPin);
    }

    void loop() {
    // Request data from the sensor
    sdi12.sendCommand(“0M!”);

    // Wait for the sensor to respond
    delay(1000);

    // Read and print the sensor response
    while (sdi12.available()) {
    char c = sdi12.read();
    Serial.print(c);
    }

    // Wait for a moment before taking the next reading
    delay(5000);
    }

    Can you guide whether we require any digital hardware between Hydros sensor21 and Arduino Uno board?

     

Viewing 2 posts - 1 through 2 (of 2 total)