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

Add Total Dissolved Solids Meter Driver #500

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

s-fairchild
Copy link

This will provide a package to calculate the TDS and Electrical Conductivity from common TDS/EC Meters. Meters sold from various vendors:

This will provide a package to calculate the TDS and Electrical Conductivity from common TDS/EC Meters. Meters sold from various vendors:
  * https://wiki.seeedstudio.com/Grove-TDS-Sensor/
  * https://www.dfrobot.com/product-1662.html
  * https://www.cqrobot.com/index.php?route=product/product&product_id=1122

// formulas were converted from source wiki Arduino example: http://www.cqrobot.wiki/index.php/TDS_(Total_Dissolved_Solids)_Meter_Sensor_SKU:_CQRSENTDS01#Arduino_Application
// The TDS value is half of the electrical conductivity value: electrical conductivity / 2
return 133.42*compV*compV*compV - 255.86*compV*compV + 857.39*compV
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find any documentation on these floats to convert from the ADC voltage to tds. The same formula is used across the rebranded boards, I assume they must be specific to the board/probe.

@s-fairchild
Copy link
Author

Hi @deadprogram, is this of any value to the project? If not just let me know and it's no problem to close.

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.

None yet

1 participant