EnviroDIY / Arduino-SDI-12

An Arduino library for SDI-12 communication with a wide variety of environmental sensors. This library provides a general software solution, without requiring any additional hardware.
https://github.com/EnviroDIY/Arduino-SDI-12/wiki
BSD 3-Clause "New" or "Revised" License
164 stars 100 forks source link

[Issue #66]ESP32/8266 implementation #68

Closed peterj43 closed 4 years ago

peterj43 commented 4 years ago

Has a micro second free running timer so we have no need to configurea time for these.

  1. Change the names to the states proefixing them with SDI12_ to eliminate confilct with ESP hall files .
  2. Created a new READTIME macro to replace TCNTX this id defined in SDI12.h This helps to reduce the conditional platform specific code from the main driver files.
  3. Introduced a typedef conditional on platform for the READ TIME value.
SRGDamia1 commented 4 years ago

I'll try to look at this soon!

peterj43 commented 4 years ago

Any chance for you to look at this yet?

wavewolf commented 4 years ago

Do you have any news about implementation of SDI-12 in ESP32 microcontroller? Have you been able to make it work? Thank you.

peterj43 commented 4 years ago

I have an implementation that seems to be working it's just waiting for further review.

wavewolf commented 4 years ago

I have an implementation that seems to be working it's just waiting for further review.

By the way, I have a sensor that uses SDI-12. What version of the library do I have to download to test it on the ESP32?

peterj43 commented 4 years ago

I have an implementation that seems to be working it's just waiting for further review.

By the way, I have a sensor that uses SDI-12. What version of the library do I have to download to test it on the ESP32? All you need is this master of this project and that now includes support for ESP32.

SRGDamia1 commented 4 years ago

I merged the PR into the master branch, but I haven't released it yet because I still need to test it out.