From ae7e7aad05109c5c07bfe295947fd32db0070007 Mon Sep 17 00:00:00 2001 From: Bernhard Bablok Date: Sat, 9 Nov 2024 14:30:15 +0100 Subject: [PATCH 1/2] added driver for the MH-Z19x CO2-sensors --- .gitmodules | 3 +++ circuitpython_community_library_list.md | 1 + libraries/drivers/mhz19 | 1 + 3 files changed, 5 insertions(+) create mode 160000 libraries/drivers/mhz19 diff --git a/.gitmodules b/.gitmodules index 4036252..4801a56 100644 --- a/.gitmodules +++ b/.gitmodules @@ -472,3 +472,6 @@ [submodule "libraries/drivers/buildhat"] path = libraries/drivers/buildhat url = https://github.com/CDarius/CircuitPython_RaspberryPI_BuildHAT.git +[submodule "libraries/drivers/mhz19"] + path = libraries/drivers/mhz19 + url = https://github.com/bablokb/circuitpython-mhz19.git diff --git a/circuitpython_community_library_list.md b/circuitpython_community_library_list.md index 9a75d3b..cc5be18 100644 --- a/circuitpython_community_library_list.md +++ b/circuitpython_community_library_list.md @@ -165,3 +165,4 @@ c* [CircuitPython_RotarySelect](https://github.com/FoamyGuy/CircuitPython_Rotary * [RS485-Wrapper](https://github.com/facts-engineering/CircuitPython_rs485_wrapper.git) A CircuitPython helper library to convert a UART object into an RS485 object. * [Cirque Pinnacle](https://github.com/2bndy5/CircuitPython_Cirque_Pinnacle) A driver library to use circular trackpads (as seen in the Steam controller and HTC Vive VR controllers) empowered with Cirque's 1CA027 ASIC (surnamed "Pinnacle"). More information can be found in the [documentation](https://circuitpython-cirque-pinnacle.rtfd.io). * [Embedded HTTPServer](https://github.com/bablokb/circuitpython-ehttpserver) An efficient and slim HTTP-server (fork of biplane) +* [MH-Z19x](https://github.com/bablokb/circuitpython-mhz19.git) Driver for the MH-Z19x CO2-sensors diff --git a/libraries/drivers/mhz19 b/libraries/drivers/mhz19 new file mode 160000 index 0000000..d0d8c44 --- /dev/null +++ b/libraries/drivers/mhz19 @@ -0,0 +1 @@ +Subproject commit d0d8c44e66247ed940f599ebd5574fd89f749e7e From 8eff3220d1f2a0ae7344092dc5b727df43bc9f1c Mon Sep 17 00:00:00 2001 From: Bernhard Bablok Date: Sat, 9 Nov 2024 15:30:22 +0100 Subject: [PATCH 2/2] moved mhz19 entry to the drivers section --- circuitpython_community_library_list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circuitpython_community_library_list.md b/circuitpython_community_library_list.md index cc5be18..6c438be 100644 --- a/circuitpython_community_library_list.md +++ b/circuitpython_community_library_list.md @@ -69,6 +69,7 @@ Here is a listing of current CircuitPython Community Libraries. These libraries * [Electronutlabs CircuitPython LTR329ALS01](https://github.com/electronut/Electronutlabs_CircuitPython_LTR329ALS01.git) Circuitpython library for reading data from light sensor LTR329ALS01. \([Docs](https://circuitpython-ltr329als01-library.readthedocs.io/en/latest/)) * [Hierophect Circuitpython Dynamixel](https://github.com/hierophect/Hierophect_Circuitpython_Dynamixel.git) Circuitpython driver library for the Dynamixel series of servo motors from Robotis \([Docs](https://circuitpython-dynamixel.readthedocs.io/)) * [M5Stack 8 Angle and 8 Encoder Unit](https://github.com/Neradoc/CircuitPython_m5stack_unit8) Circuitpython driver library for the M5Stack 8Unit Angle and Encoder breakout boards \([Docs](https://m5stack-unit8-for-circuitpython.readthedocs.io/)) +* [MH-Z19x](https://github.com/bablokb/circuitpython-mhz19.git) Driver for the MH-Z19x CO2-sensors * [Mindwidgets CircuitPython DF1201S](https://github.com/mindwidgets/Mindwidgets_CircuitPython_DF1201S) CircuitPython driver for DFRobot DFPlayer Pro MP3 player with onboard storage \([Docs](https://mindwidgets-circuitpython-df1201s-library.readthedocs.io/en/latest/)) * [Pimoroni CircuitPython LTR559](https://github.com/pimoroni/Pimoroni_CircuitPython_LTR559.git) Library for the LTR559 Proximity/Presence/Light Sensor \([Docs](https://circuitpython.readthedocs.io/projects/pimoroni_circuitpython_ltr559/en/latest/)) * [Pimoroni CircuitPython MICS6814](https://github.com/pimoroni/Pimoroni_CircuitPython_MICS6814.git) Driver for the MICS6814 Gas sensor \([Docs](https://circuitpython.readthedocs.io/projects/mics6814/en/latest/)) @@ -165,4 +166,3 @@ c* [CircuitPython_RotarySelect](https://github.com/FoamyGuy/CircuitPython_Rotary * [RS485-Wrapper](https://github.com/facts-engineering/CircuitPython_rs485_wrapper.git) A CircuitPython helper library to convert a UART object into an RS485 object. * [Cirque Pinnacle](https://github.com/2bndy5/CircuitPython_Cirque_Pinnacle) A driver library to use circular trackpads (as seen in the Steam controller and HTC Vive VR controllers) empowered with Cirque's 1CA027 ASIC (surnamed "Pinnacle"). More information can be found in the [documentation](https://circuitpython-cirque-pinnacle.rtfd.io). * [Embedded HTTPServer](https://github.com/bablokb/circuitpython-ehttpserver) An efficient and slim HTTP-server (fork of biplane) -* [MH-Z19x](https://github.com/bablokb/circuitpython-mhz19.git) Driver for the MH-Z19x CO2-sensors