diff --git a/boards/shields/arduino_modulino_thermo/Kconfig.shield b/boards/shields/arduino_modulino_thermo/Kconfig.shield new file mode 100644 index 0000000000000..5f8d776c59141 --- /dev/null +++ b/boards/shields/arduino_modulino_thermo/Kconfig.shield @@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors +# SPDX-License-Identifier: Apache-2.0 + +config SHIELD_ARDUINO_MODULINO_THERMO + def_bool $(shields_list_contains,arduino_modulino_thermo) diff --git a/boards/shields/arduino_modulino_thermo/arduino_modulino_thermo.overlay b/boards/shields/arduino_modulino_thermo/arduino_modulino_thermo.overlay new file mode 100644 index 0000000000000..c28e452f3f4f4 --- /dev/null +++ b/boards/shields/arduino_modulino_thermo/arduino_modulino_thermo.overlay @@ -0,0 +1,17 @@ +/* + * SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + aliases { + dht0 = &arduino_modulino_thermo; + }; +}; + +&zephyr_i2c { + arduino_modulino_thermo: arduino-modulino-thermo@44 { + compatible = "renesas,hs300x"; + reg = <0x44>; + }; +}; diff --git a/boards/shields/arduino_modulino_thermo/doc/img/arduino_modulino_thermo.webp b/boards/shields/arduino_modulino_thermo/doc/img/arduino_modulino_thermo.webp new file mode 100644 index 0000000000000..c96972162e9e1 Binary files /dev/null and b/boards/shields/arduino_modulino_thermo/doc/img/arduino_modulino_thermo.webp differ diff --git a/boards/shields/arduino_modulino_thermo/doc/index.rst b/boards/shields/arduino_modulino_thermo/doc/index.rst new file mode 100644 index 0000000000000..d382f99433022 --- /dev/null +++ b/boards/shields/arduino_modulino_thermo/doc/index.rst @@ -0,0 +1,27 @@ +.. _arduino_modulino_thermo: + +Arduino Modulino Thermo +####################### + +Overview +******** + +The Arduino Modulino Thermo is a QWIIC compatible module built around the Renesas HS3003 temperature +and humidity sensor. + +.. image:: img/arduino_modulino_thermo.webp + :align: center + :alt: Arduino Modulino Thermo + +Programming +*********** + +Set ``--shield arduino_modulino_thermo`` when you invoke ``west build``. + +For example, + +.. zephyr-app-commands:: + :zephyr-app: samples/sensor/dht_polling + :board: arduino_uno_r4@wifi + :shield: arduino_modulino_thermo + :goals: build diff --git a/boards/shields/arduino_modulino_thermo/shield.yml b/boards/shields/arduino_modulino_thermo/shield.yml new file mode 100644 index 0000000000000..71937febdd786 --- /dev/null +++ b/boards/shields/arduino_modulino_thermo/shield.yml @@ -0,0 +1,6 @@ +shield: + name: arduino_modulino_thermo + full_name: Arduino Modulino Thermo + vendor: arduino + supported_features: + - sensor