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

[Feature Request]: add support for linux iio (Industrial I/O) subsystem for sensors #3857

Open
Jorropo opened this issue May 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Jorropo
Copy link
Contributor

Jorropo commented May 11, 2024

Platform

Linux Native

Description

Linux iio provide many drivers for different kind of sensors:
https://www.kernel.org/doc/html/latest/driver-api/iio/intro.html

  • analog to digital converters (ADCs)
  • accelerometers
  • capacitance to digital converters (CDCs)
  • digital to analog converters (DACs)
  • gyroscopes
  • inertial measurement units (IMUs)
  • color and light sensors
  • magnetometers
  • pressure sensors
  • proximity sensors
  • temperature sensors

It would be nice if sensors that are already supported in meshtastic (pressure, temperature, ...) could fetch data through /sys/bus/iio so any pressure or temperature sensor with a linux driver would be usable in meshtastic.

@Jorropo Jorropo added the enhancement New feature or request label May 11, 2024
@jp-bennett
Copy link
Collaborator

@Jorropo have a suggested affordable sensor to start with?

@Jorropo
Copy link
Contributor Author

Jorropo commented May 11, 2024

There a couple sensors supported by mesthastic already would allow to confirm the feature work properly.
BMP and BME family are the one that come to my mind. https://github.com/torvalds/linux/blob/master/drivers/iio/pressure/bmp280-spi.c#L120-L141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants