From cca0aa7e9b69a58d0e4be94cac28066b9cf21fd0 Mon Sep 17 00:00:00 2001 From: Greg Cormier Date: Thu, 10 Aug 2023 01:04:25 -0400 Subject: [PATCH] Docs - new sensor Panasonic GCJA5 (#3011) Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> --- components/sensor/gcja5.rst | 51 +++++++++++++++++++++++++++++++++++++ images/gcja5.svg | 1 + index.rst | 1 + 3 files changed, 53 insertions(+) create mode 100644 components/sensor/gcja5.rst create mode 100644 images/gcja5.svg diff --git a/components/sensor/gcja5.rst b/components/sensor/gcja5.rst new file mode 100644 index 000000000..104a8776c --- /dev/null +++ b/components/sensor/gcja5.rst @@ -0,0 +1,51 @@ +Panasonic SN-GCJA5 Particulate Matter Sensor +============================================ + +.. seo:: + :description: Instructions for setting up Panasonic SN-GCJA5 Particulate matter sensors + :image: gcja5.svg + +The ``gcja5`` sensor platform allows you to use your Panasonic SN-GCJA5 laser based particulate matter sensor +(`datasheet `__) +sensors with ESPHome. + +As the communication with the GCJA5 is done using UART, you need +to have an :ref:`UART bus ` in your configuration with the ``rx_pin`` connected to the SEND/TX. Additionally, you need to set the baud rate to 9600, and you +MUST have `EVEN`` parity. + +The sensor itself will push values every second. You may wish to :ref:`filter ` this value to reduce the amount of data you are ingesting. +The sensor will internally track changes to the Laser Diode and Photo Diode over time to adjust and ensure accuracy. +Based on continous runtime, the sensor is rated to last at least 5 years. + +.. code-block:: yaml + + # Example configuration entry + + sensor: + - platform: gcja5 + pm_1_0: + name: "Particulate Matter <1.0µm Concentration" + pm_2_5: + name: "Particulate Matter <2.5µm Concentration" + pm_10_0: + name: "Particulate Matter <10.0µm Concentration" + +Configuration variables: +------------------------ + +- **pm_1_0_std** (*Optional*): Use the concentration of particulates of size less than 1.0µm in µg per cubic meter at standard particle. + All options from :ref:`Sensor `. +- **pm_2_5_std** (*Optional*): Use the concentration of particulates of size less than 2.5µm in µg per cubic meter at standard particle. + All options from :ref:`Sensor `. +- **pm_10_0_std** (*Optional*): Use the concentration of particulates of size less than 10.0µm in µg per cubic meter at standard particle. + All options from :ref:`Sensor `. +- **pm_1_0** (*Optional*): Use the concentration of particulates of size less than 1.0µm in µg per cubic meter under atmospheric environment. + + +See Also +-------- + +- :doc:`/components/sensor/gcja5` +- :ref:`sensor-filters` +- :apiref:`gcja5/gcja5.h` +- :ghedit:`Edit` diff --git a/images/gcja5.svg b/images/gcja5.svg new file mode 100644 index 000000000..11328b2c9 --- /dev/null +++ b/images/gcja5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.rst b/index.rst index 8f56b32cd..bc7f3bc98 100644 --- a/index.rst +++ b/index.rst @@ -174,6 +174,7 @@ Air Quality AirThings BLE, components/sensor/airthings_ble, airthings_logo.png, Radon, CO2, Volatile organics CCS811, components/sensor/ccs811, ccs811.jpg, CO2 & Volatile organics EE895, components/sensor/ee895, EE895.png, CO2 & Temperature & Pressure + GCJA5, components/sensor/gcja5, gcja5.svg, Particulate HM3301, components/sensor/hm3301, hm3301.jpg, Particulate MH-Z19, components/sensor/mhz19, mhz19.jpg, CO2 & Temperature MiCS-4514, components/sensor/mics_4514, mics_4514.jpg, Gas concentration