Skip to content

Commit e7c8ecf

Browse files
kartbencfriedt
authored andcommitted
shields: arduino: Add support for Arduino Modulino Thermo
Add shield definition and documnentation for the Arduino Modulino Thermo Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 9b25d8a commit e7c8ecf

File tree

5 files changed

+55
-0
lines changed

5 files changed

+55
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SHIELD_ARDUINO_MODULINO_THERMO
5+
def_bool $(shields_list_contains,arduino_modulino_thermo)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
dht0 = &arduino_modulino_thermo;
9+
};
10+
};
11+
12+
&zephyr_i2c {
13+
arduino_modulino_thermo: arduino-modulino-thermo@44 {
14+
compatible = "renesas,hs300x";
15+
reg = <0x44>;
16+
};
17+
};
30.8 KB
Loading
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.. _arduino_modulino_thermo:
2+
3+
Arduino Modulino Thermo
4+
#######################
5+
6+
Overview
7+
********
8+
9+
The Arduino Modulino Thermo is a QWIIC compatible module built around the Renesas HS3003 temperature
10+
and humidity sensor.
11+
12+
.. image:: img/arduino_modulino_thermo.webp
13+
:align: center
14+
:alt: Arduino Modulino Thermo
15+
16+
Programming
17+
***********
18+
19+
Set ``--shield arduino_modulino_thermo`` when you invoke ``west build``.
20+
21+
For example,
22+
23+
.. zephyr-app-commands::
24+
:zephyr-app: samples/sensor/dht_polling
25+
:board: arduino_uno_r4@wifi
26+
:shield: arduino_modulino_thermo
27+
:goals: build
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
shield:
2+
name: arduino_modulino_thermo
3+
full_name: Arduino Modulino Thermo
4+
vendor: arduino
5+
supported_features:
6+
- sensor

0 commit comments

Comments
 (0)