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 Y513 Blue Green Algae (BGA) and fix examples #40

Merged
merged 6 commits into from
Sep 17, 2024
Merged

Conversation

aufdenkampe
Copy link
Member

@aufdenkampe aufdenkampe commented Sep 16, 2024

Added:

  • Support for the Y513 Blue Green Algae (BGA) sensor with wiper (773a3a0)
  • Added explicit support for the Y521 Conductivity sensor, given that the Y520 has been discontinued.

Fixed:

  • The getValue.ino example wouldn't work with AltSoftSerial (see d4204ebd1212608aaf05a7a65b763e432c59fe37 and EnviroDIY/SensorModbusMaster@f1daa2f)
  • Fixed broken links to YosemiTech product pages

Improved:

  • updated Y504 to first try to get thridvalue for DOmgL before calculating it.
  • The getValue.ino example has better formatted outputs.
  • The getSlaveID() command now works better with broadcast address 0xFF.
    • NOTE that old YosemiTech sensors (before 2020??) don't have a functioning broadcast address
  • Successfully tested on new models of Y504, Y511, Y513.

@SRGDamia1, it would be great to get this released sooner than later, but it's not fully necessary until I add BGA to Modular Sensors.

@SRGDamia1, it appears you removed this capability with 7ed82a5 and c60f25b. Hopefully this approach will work for you. This needs to be copied over to other examples in GrowPointModbus and SensorModbusMaster libraries.
Also: added Y521 Cond as an explicit model number since the Y520 has been discontinued; and udpated URLs for all sensor documentation; updated Y504 to first try toget thridvalue for DOmgL before calculating it. Sucessfully tested on new models of Y513, Y504, Y511.
Copy link

Please add your changes to the change log!

Works better with broadcast address 0xFF. However, it still will not work with older sensors that do not have that functionality.
@aufdenkampe
Copy link
Member Author

Decided to release sooner than later to support getting Y513 BGA sensor into ModularSensors.

@aufdenkampe aufdenkampe merged commit f155932 into master Sep 17, 2024
11 of 17 checks passed
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.

1 participant