Comments (8)
https://github.com/EnviroDIY/Arduino-SDI-12/tree/v1.1.0
from arduino-sdi-12.
I'm sorry, but, no we don't have any current plans to adapt this library for the ESP8266 (or ESP32). I would be happy to review any pull requests to add the board, though.
from arduino-sdi-12.
In version 1.1.0 it was pretty easy to adapt it. Adding
#if defined(ESP32) || defined(ESP8266)
enum LookaheadMode{
SKIP_ALL, // All invalid characters are ignored.
SKIP_NONE, // Nothing is skipped, and the stream is not touched unless the first waiting character is valid.
SKIP_WHITESPACE // Only tabs, spaces, line feeds & carriage returns are skipped.
};
#endif
to SDI12.h was enough to make it work. It was just a thing of LookaheadMode not being supported by those platforms and so they didn't define that struct in their Stream.h
In the newer versions you would have to define those timers the library now uses. Shouldn't be too hard to figure out either.
from arduino-sdi-12.
It's on my to do list to re-read the timers on faster boards. Almost all my testing has been on a 8MHz board and at that speed, to get the reception to work fast enough you need to directly check the timer registers. I suspect with faster boards you could just call micros () and not set any timers directly.
On my to do list to test out and implement, but not likely to happen right away.
from arduino-sdi-12.
I have a ESP32 and I have been gradually working on for the past year reading various sensors with the aim of eventually reading SDI12 sensors. I am stunned to learn that ESP32 can not read SDI12. PTS93 indicated if I use release 1.1.0 and modify it it can work. I am not sure if it will still work, how to do it and any other options developed since?
from arduino-sdi-12.
Regarding the issue with ESP32 reading SDI-12 sensors - I am also trying to edit the library as PTS93 suggested, but I cannot find where to download the SDI-12 Library v 1.1.0, any suggestions or developments on this problem?
Thanks!
from arduino-sdi-12.
This patch work in the last release?
from arduino-sdi-12.
Anyone had any luck running the library on ESP32/8266 ?
from arduino-sdi-12.
Related Issues (20)
- Question. HOT 2
- new tinyAVR boards support. tips?
- ESPhome HOT 4
- Missing check for 8.33mS marking before checking address for sdi12 slave/sensor HOT 1
- Able to adjust Break and Marking timing from Arduino code
- Support for Arduino R4 Renesas chip? HOT 2
- Doesn't work on Arduino GIGA R1 HOT 2
- i am using hydros21 sensor which is working on sdi12 protocol and currently i am stuck in a issue which is sensor is not working properly and not given data correctly so any one help me for this HOT 2
- ESP32- Core panic when using in conjunction with the "preferences" library. HOT 1
- NRF52 Support HOT 1
- IDE 2.0 compilation problem HOT 1
- Sparkfun Artemis and CS320 pyranometer HOT 16
- SDI12 - ESP32 NOT OPEN BUS HOT 9
- Watchdog Problem SAMD21 HOT 4
- Adding a Direction Control Pin HOT 11
- ASR6501 - Cubecell support HOT 2
- Can not read measurements HOT 8
- Do you have any plans to support rp2040 platform ? HOT 1
- Documentation missing? HOT 3
- SDI12 with SoftwareSerial (Stopgap Fix not working) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-sdi-12.