Comments (2)
I've never tied to use the CRC functionality. I don't even know if the instruments I have support it. I don't know if anyone else uses it; no one's asked about it. I guess if you're really worried about avoiding communication errors you could try to implement it.
If you do decide you really want to get the CRC working, you shouldn't have any trouble finding a C++ example of a CRC calculation. I can review a pull request.
from arduino-sdi-12.
Hey great to see a CRC covering the responses.
Sharing some research I've done - reference https://sdi-12.org/specification SDI-12 Version 1.4, January 30, 2021
4.4.12 Requesting a Cyclic Redundancy Check (CRC)
To be version 1.3 (or higher) compliant, the sensor must support CRCs
Specificies the algorithim
From my old copy "CTD Integrators Guide.pdf" Decagon Devices CTD-5 & CTD-10 Sensor -
http://publications.metergroup.com/Integrator%20Guide/CTD%20Integrator%20Guide.pdf
"After the power up time, our sensors are fully compatible with all the commands listed in the SDI-12
Specification v1.3 except for the continuous measurement commands (aR0 – aR9 and aRC0 – aRC9)"
and they have the algorithm they use.
Insitu SDI-12_Commands_Tech_Note 2020-05-22.pdf
Identifies SDI-12 V 1.3 Command Set
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 1
- Fix receive ISR to correctly handle the wake and marking
- Do you have any plans to support stm32 platform ? 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.