Git Product home page Git Product logo

Comments (7)

Kevin-M-Smith avatar Kevin-M-Smith commented on July 26, 2024

Hi jotam93,

I’m happy to try and help, but I’m not sure that the library can do what you want.

The SDI-12 protocol is very different depending on which way the communication is going:

sensor — > datalogger vs. datalogger —> sensor

The timing and behavior are different.

This is only designed for: sensor —> datalogger (Arduino)
and NOT (Arduino) sensor —> datalogger.

If you could send me a drawing of what you are trying to do, that would help me to more clearly understand what you are trying to accomplish.

To send the drawing, you can email me:
[email protected]:[email protected]

Regards,
Kevin

On Apr 11, 2014, at 8:59 PM, jotam93 <[email protected]mailto:[email protected]> wrote:

Hello Kevin M. Smith,

I am developing a project in which I will use SDI-12 sensors, but i will also use sensors that do not use any communication protocol and the aim is to mete them respond as if they were an SDI-12 sensor. For that, I will use an Arduino (where i will put the sensors that are not SDI-12) that receives requests from another arduino and respode as if it is an SDI-12 with measurements from sensors placed there.
I am using a library SDI-12 developed by you, but I am with difficulties in putting the Arduino to respond to commands ...
Will could help me?
Sorry for bad english, but it is not my language: s

Best regards.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7.

from arduino-sdi-12.

jotam93 avatar jotam93 commented on July 26, 2024

Hi Kevin M. Smith,

Yes I realized that the library only works for "sensor -> logger (Arduino)" but my goal was to create a program or a library for Arduino that "respond" to the commands of the library developed by you, as if it were really a SDI-12 sensor.
That is, what I meant was something like "(Arduino) sensor -> datalogger (Arduino)".

I sent him the drawing I intend to do to e-mail, I hope you understand better that way :)

Regards,
jotam93

from arduino-sdi-12.

jotam93 avatar jotam93 commented on July 26, 2024

Hello M. Smith,

Needed his help again ...
Have managed to do what he wanted, but now I will implement a protection circuit (one that is in Appendix A of the SDI-12 specification document), but I think I have to connect two-pin CMOS 3-STATE BUFFER, not just 1 to which the library is designed (but I'm not sure) ...
It has to work with two pins almost as if it is a RX pin and a TX pin and have another pin that sets the state of the doors 3-state, right?
Will could give me some tips on how I can do to change the library to work with protection?

Best regards.

from arduino-sdi-12.

Kevin-M-Smith avatar Kevin-M-Smith commented on July 26, 2024

Hi Jotam93,

I am having trouble understanding exactly what you have managed to get working so far.

If Spanish is more familiar to you, we can switch to that.

As far as I understand, the pins on the Atmega328 (the brain of the Arduino) have a built-in a 3-state buffer: (LOW, HIGH, INPUT), so you would only need to add the spark-gap, diodes, etc, and shouldn’t need any more pins for control or any software modfiication.

I would recommend getting in touch with someone more familiar with electronics hardware to make sure you are getting the intended circuit protection.

Regards,
Kevin

On May 29, 2014, at 1:18 PM, jotam93 <[email protected]mailto:[email protected]> wrote:

Hello M. Smith,

Needed his help again ...
Have managed to do what he wanted, but now I will implement a protection circuit (one that is in Appendix A of the SDI-12 specification document), but I think I have to connect two-pin CMOS 3-STATE BUFFER, not just 1 to which the library is designed (but I'm not sure) ...
It has to work with two pins almost as if it is a RX pin and a TX pin and have another pin that sets the state of the doors 3-state, right?
Will could give me some tips on how I can do to change the library to work with protection?

Best regards.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-44558029.

from arduino-sdi-12.

Kevin-M-Smith avatar Kevin-M-Smith commented on July 26, 2024

Hi Jotam93,

Have you had any luck?

Regards,
Kevin

from arduino-sdi-12.

jotam93 avatar jotam93 commented on July 26, 2024

(español) Hola Kevin,

Gracias por tu preocupación :)
Terminé no implementa la última parte para que yo te pedí ayuda ...
El trabajo final es casi en https://github.com/Jorge-Mendes/Agro-Shield podría dar su opinión una vez que ya está en el saber?
Todavía le falta ese segundo código de Arduino que te he dicho, es de un segundo Arduino que funcionará como un sensor SDI-12, es decir, a partir de ese escudo ordenó medidas de otros sensores conectados a esta segunda Arduino y comunicar usando SDI -12.
Cuál es su opinión?
Espero no hacer nada sin sentido :)

saludos cordiales,
Jorge

(english) Hy Kevin,

Thanks for your concern :)
I ended up not implement that last part for which I asked you for help ...
The almost final work is in https://github.com/Jorge-Mendes/Agro-Shield, could give me your opinion as it is already within the subject?
Still lacks the second Arduino code that I told you, is one second Arduino which will function as an SDI-12 sensor, ie, from that shield ordered measurements from other sensors connected to this second Arduino and they communicate using SDI-12.
What is your opinion ...
Hope I'm not doing anything meaningless :)

Regards,
Jorge

Date: Mon, 30 Jun 2014 17:46:30 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Arduino-SDI-12] Help SDI-12 Communication (#7)

Hi Jotam93,

Have you had any luck?

Regards,

Kevin


Reply to this email directly or view it on GitHub.

from arduino-sdi-12.

Rico-van-Dongen avatar Rico-van-Dongen commented on July 26, 2024

Hi jotam93,

Any progress on your project?
I guess the key in in the "break" signal. (the wakeSensors() function in this library). instead of sending it you should now be able to detect it and enter receive mode.

Rico

from arduino-sdi-12.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.