Add A22YYUV as a variant of A02YYUV ultrasonic sensor #3441
Unanswered
PhracturedBlue
asked this question in
Component enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
a02yyuv
Link to component documentation on our website
https://esphome.io/components/sensor/a02yyuw/
Describe the enhancement
DYP has a few variants of waterproof sensors that speak the same UART protocol, but use 115200bps instead of 9600.
I can get these working by simply duplicating the A02YYUV component and changing the 9600 to 115200 in the sensor.py code.
I can create a pull request, but I'm not sure what the recommended configuration should be. Should I just allow overriding the baud rate? or maybe add a new variant that changes the baud rate?
Use cases
There are other DYP ultrasonic waterproof sensors that could be supported with the same code using a minor change
Anything else?
Datasheet:
https://www.dypcn.com/uploads/A22-Datasheet1.pdf
Beta Was this translation helpful? Give feedback.
All reactions