This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
devices/tlv493d: Implement TLV493D hall effect sensor on I2C bus #450
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implemented Infineon TLV493D, a 3-dimensional hall effect sensor:
https://www.infineon.com/cms/en/product/sensor/magnetic-sensors/magnetic-position-sensors/3d-magnetics/tlv493d-a1b6/
This is also available through Adafruit: https://www.adafruit.com/product/4366
I tried to be comprehensive in the implementation, trying to cover use cases ranging from ultra-low-power to high frequency with low precision required.
I've not included in this PR a higher-level filter to measure an angle (typical application for this sensor, see https://www.infineon.com/dgdl/Infineon-3D_Magnetic_Sensor_for_Angle_Measurements-AN-v01_10-AN-v01_01-EN.pdf?fileId=5546d46265f064ff01665a3d22f055e3) - I didn't include it as I think it's beyond the scope of periph.io, and it's full of floats. Is there any interest in such thing?
Also, I'll try to add that in the documentation (as well as the long overdue ADS1x15... sorry for that)
Thanks!
Benjamin