1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Go to file
iosabi f72efb1daf drivers/si70xx: Add support for Si705x sensors
The Silicon Labs Si705x sensors (Si7050/1/3/4/5) are very similar to the
Si7021 sensors featuring only a temperature sensor and no humidity
sensor. The only difference between the Si705x is the temperature
accuracy of the reading, ranging from +/- 0.1 C in the Si7051 to +/- 1 C
in the Si7050.

This patch adds support for this family of sensors extending the
functionality of the existing si70xx driver. Following the style of
other modules, this implements a pseudomodule per supported chip, adding
si7050, si7051, si7053, si7054 and si7055 pseudomodules.

As a minor change this patch also implements the missing
si70xx_get_serial, si70xx_get_id and si70xx_get_revision functions that
were declared in the si70xx.h header but implemented as private
functions. The si70xx_get_id() may be relevant for the application to
know at run time exactly which version of the hardware is installed.

The updated test running with a Si7051 shows the following output, which
seems consistent with the room temperature conditions during the test.

```
make SI70XX_VARIANT=si7051 -C tests/driver_si70xx/ all flash
```

```
SI70XX temperature and humidity sensor test application
Initializing sensor...
[OK]
Found SI7051 sensor, revision 32
temperature: 24.71 C
temperature: 24.69 C
```
2021-04-17 20:14:35 +00:00
.circleci .circleci: use riot/static-test-tools Docker image 2021-01-14 19:08:15 +01:00
.github .github/workflows: add riot-ryot.yml 2021-04-09 16:53:42 +02:00
boards boards/microbit-v2: Add buttons 2021-04-13 11:09:57 +02:00
bootloaders bootloaders/riotboot_dfu: update doc now that DFU_ALT gets set 2021-04-03 18:18:57 +02:00
core Merge pull request #16330 from kfessel/p-add-clist-special 2021-04-15 12:14:58 +02:00
cpu Merge pull request #16187 from benpicco/cpu/sam0_common/get_tamper 2021-04-13 14:11:46 +02:00
dist Merge pull request #16129 from maribu/compile_commands_json 2021-04-14 18:10:28 +02:00
doc build system: add new compile-commands make target 2021-04-14 14:51:46 +02:00
drivers drivers/si70xx: Add support for Si705x sensors 2021-04-17 20:14:35 +00:00
examples examples/suit_update: allow the use of large MTUs 2021-04-11 01:08:11 +02:00
fuzzing all: remove traces of kernel_types.h 2020-11-25 17:52:34 +01:00
kconfigs Merge pull request #15931 from haukepetersen/add_dbgpin3 2021-03-09 10:26:37 +01:00
makefiles drivers/si70xx: Add support for Si705x sensors 2021-04-17 20:14:35 +00:00
pkg Merge pull request #16338 from haukepetersen/fix_nimble_tmpfixrandseed 2021-04-16 09:32:15 +02:00
sys sys/shell/sc_gnrc_6ctx: use ztimer if available 2021-04-16 11:38:54 +02:00
tests drivers/si70xx: Add support for Si705x sensors 2021-04-17 20:14:35 +00:00
.bandit codacy: disable complaining about python assert 2019-03-01 13:43:37 +01:00
.drone.yml .drone.yml: remove mcu groups from the build test matrix 2019-06-14 11:32:15 +02:00
.gitattributes git: handle patch files as binary 2015-12-04 11:46:33 +01:00
.gitignore .gitignore: add *.plist and .cache/ 2021-03-17 09:55:00 +01:00
.mailmap mailmap: deduplicate @benpicco 2020-04-28 11:58:44 +02:00
.murdock .murdock: Enable pkg kconfig tests 2021-04-08 16:44:10 +02:00
CODE_OF_CONDUCT.md github: add Code of Conduct 2017-12-08 09:10:01 +01:00
CODEOWNERS CODEOWNERS: Add nandojve for xmega things 2021-03-15 20:16:10 -03:00
CODING_CONVENTIONS_C++.md CODING_CONVENTIONS_C++.md: Fixed typos and links 2019-11-08 10:36:27 +01:00
CODING_CONVENTIONS.md Coding_Convention: clarify: none return is allowed 2021-03-08 14:46:34 +01:00
CONTRIBUTING.md CONTRIBUTING.md: add link to forum 2020-12-09 17:24:05 +01:00
doc.txt doc: Describe interaction between DEVELHELP and assert 2020-10-25 23:27:51 +01:00
Kconfig Kconfig: source EXTERNAL_MODULES configurations 2021-02-23 19:16:33 +01:00
LICENSE * updated LICENSE file from GPL to LPGL 2013-06-18 17:19:53 +02:00
LOSTANDFOUND.md lostandfound: document removal of boards/slwstk6220a 2021-01-05 12:19:47 +01:00
MAINTAINING.md MAINTAINING: Clarify guidelines 2020-07-13 10:57:03 +02:00
Makefile Makefile: advertise forum on make 2020-12-10 10:10:03 +01:00
Makefile.base Merge pull request #16129 from maribu/compile_commands_json 2021-04-14 18:10:28 +02:00
Makefile.dep Merge pull request #15865 from benpicco/pm_layered-default 2021-02-03 08:17:29 +01:00
Makefile.features treewide: model newlib as a FEATURE 2021-01-27 09:24:25 +01:00
Makefile.include Merge pull request #16129 from maribu/compile_commands_json 2021-04-14 18:10:28 +02:00
README.md README: Add merge-chance badge 2021-01-11 13:13:58 +01:00
release-notes.txt release-notes.txt: Fix typo 2021-02-10 03:40:01 +01:00
SECURITY.md SECURITY.md: fix mailto link 2020-12-10 14:18:19 +01:00
uncrustify-riot.cfg uncrustify-riot.cfg: update to coding convention 2021-03-04 17:23:46 +01:00
Vagrantfile tools/packer: adapt for Ubuntu 18.04 2020-02-19 19:23:07 +01:00

Nightly CI status master GitHub release License API docs Wiki Merge chance Stack Overflow questions Twitter IRC Matrix

                      ZZZZZZ
                    ZZZZZZZZZZZZ
                  ZZZZZZZZZZZZZZZZ
                 ZZZZZZZ     ZZZZZZ
                ZZZZZZ        ZZZZZ
                ZZZZZ          ZZZZ
                ZZZZ           ZZZZZ
                ZZZZ           ZZZZ
                ZZZZ          ZZZZZ
                ZZZZ        ZZZZZZ
                ZZZZ     ZZZZZZZZ       777        7777       7777777777
          ZZ    ZZZZ   ZZZZZZZZ         777      77777777    77777777777
      ZZZZZZZ   ZZZZ  ZZZZZZZ           777     7777  7777       777
    ZZZZZZZZZ   ZZZZ    Z               777     777    777       777
   ZZZZZZ       ZZZZ                    777     777    777       777
  ZZZZZ         ZZZZ                    777     777    777       777
 ZZZZZ          ZZZZZ    ZZZZ           777     777    777       777
 ZZZZ           ZZZZZ    ZZZZZ          777     777    777       777
 ZZZZ           ZZZZZ     ZZZZZ         777     777    777       777
 ZZZZ           ZZZZ       ZZZZZ        777     777    777       777
 ZZZZZ         ZZZZZ        ZZZZZ       777     777    777       777
  ZZZZZZ     ZZZZZZ          ZZZZZ      777     7777777777       777
   ZZZZZZZZZZZZZZZ            ZZZZ      777      77777777        777
     ZZZZZZZZZZZ               Z
        ZZZZZ

The friendly Operating System for IoT!

RIOT is a real-time multi-threading operating system that supports a range of devices that are typically found in the Internet of Things (IoT): 8-bit, 16-bit and 32-bit microcontrollers.

RIOT is based on the following design principles: energy-efficiency, real-time capabilities, small memory footprint, modularity, and uniform API access, independent of the underlying hardware (this API offers partial POSIX compliance).

RIOT is developed by an international open source community which is independent of specific vendors (e.g. similarly to the Linux community). RIOT is licensed with LGPLv2.1, a copyleft license which fosters indirect business models around the free open-source software platform provided by RIOT, e.g. it is possible to link closed-source code with the LGPL code.

FEATURES

RIOT is based on a microkernel architecture, and provides features including, but not limited to:

  • a preemptive, tickless scheduler with priorities
  • flexible memory management
  • high resolution, long-term timers
  • support 100+ boards based on AVR, MSP430, ESP8266, ESP32, MIPS, RISC-V, ARM7 and ARM Cortex-M
  • the native port allows to run RIOT as-is on Linux, BSD, and MacOS. Multiple instances of RIOT running on a single machine can also be interconnected via a simple virtual Ethernet bridge
  • IPv6
  • 6LoWPAN (RFC4944, RFC6282, and RFC6775)
  • UDP
  • RPL (storing mode, P2P mode)
  • CoAP
  • CCN-Lite
  • Sigfox
  • LoRaWAN

GETTING STARTED

  • You want to start the RIOT? Just follow our quickstart guide or try this tutorial. For specific toolchain installation, follow instructions in the getting started page.
  • The RIOT API itself can be built from the code using doxygen. The latest version of the documentation is uploaded daily to riot-os.org/api.

FORUM

Do you have a question, want to discuss a new feature, or just want to present your latest project using RIOT? Come over to our forum and post to your hearts content.

CONTRIBUTE

To contribute something to RIOT, please refer to our contributing document.

MAILING LISTS

LICENSE

  • Most of the code developed by the RIOT community is licensed under the GNU Lesser General Public License (LGPL) version 2.1 as published by the Free Software Foundation.
  • Some external sources, especially files developed by SICS are published under a separate license.

All code files contain licensing information.

For more information, see the RIOT website:

https://www.riot-os.org