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 support for particle sensors #170

Open
8 tasks
melkati opened this issue Feb 6, 2024 · 2 comments
Open
8 tasks

Add support for particle sensors #170

melkati opened this issue Feb 6, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@melkati
Copy link
Owner

melkati commented Feb 6, 2024

As with most new features, the tasks necessary to implement this are (open to change):

  • Define objetives and implementation
  • Include specific data in platformio.ini
  • Include in menu
  • Include in Preferences
  • Add to web configuration (HTML and server endpoint update)
  • In deep testing and debugging in all environments
  • Update README.md
  • Documentation for the web page
@melkati melkati self-assigned this Feb 6, 2024
@melkati melkati added the enhancement New feature or request label Feb 6, 2024
@melkati
Copy link
Owner Author

melkati commented Feb 6, 2024

Define objetives and implementation

To include particle sensor support to CO2 Gadget.

There is a wide list of sensors with which CO2 gadget is already capable of communicating:

Sensor model UART I2C Detection mode Status
Honeywell HPMA115S0 Yes --- Auto DEPRECATED
Panasonic SN-GCJA5L Yes Yes Auto STABLE
Plantower models Yes --- Auto STABLE
Nova SDS011 Yes --- Auto STABLE
IKEA Vindriktning Yes --- Select STABLE
Sensirion SPS30 Yes Yes Select / Auto STABLE

Now we should include them on the CO2 Gadget workflow, so CO2 Gadget is able to (open to change):

  • Configuration (user preferences)
  • Read and process data
  • Include in integrations as (REST endpoints, MQTT, ESPNow, etc)
  • Show on the display
  • Set alarms,

My inmediate plan is to:

  • Implement a basic configuration, where the user can choose if he wants to use particle sensor, which one and where is connected
  • Initialize the sensor and read data from it
  • Display data

Things to short out:

  • Initially only one serial port will be available, so user must choose if using a serial CO2 sensor (no problem with I2C sensors as SCD30 and SCD40/41) or a particle sensor.
  • Displaying data: Many main screens (four?) depending on if there is CO2 and PM sensor or only one of them (and then choose if user select "primary sensor) and it's show bigger on the display and the "secondary" below it, on a small font.

@melkati
Copy link
Owner Author

melkati commented Feb 7, 2024

Let's try to use the default GPIOs where possible.

Board model TX RX Notes
ESP32GENERIC 1 3 ESP32 Pio defaults
TTGOT7 / ESP32DEVKIT / D1MINI / NODEFINED 16 17 CanAirIO devices **
TTGO_TDISPLAY 12 13
M5COREINK 14 13
TTGO TQ 18 13
HELTEC 18 17
WEMOSOLED 15 13
ESP32PICOD4 3 1

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
Status: To do
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant