Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue #66]ESP32/8266 implementation #68

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

peterj43
Copy link
Contributor

@peterj43 peterj43 commented Jun 4, 2020

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.

…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
Copy link
Contributor

I'll try to look at this soon!

@peterj43
Copy link
Contributor Author

Any chance for you to look at this yet?

@wavewolf
Copy link

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

@peterj43
Copy link
Contributor Author

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

@SRGDamia1 SRGDamia1 merged commit b428a55 into EnviroDIY:master Jul 2, 2020
@wavewolf
Copy link

wavewolf commented Jul 2, 2020

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
Copy link
Contributor Author

peterj43 commented Jul 3, 2020

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants