Skip to content

Latest commit

 

History

History

cp_temperature_and_humidty_monitor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

CircuitPython - Temperature and Humidity Monitor with LED Matrix Display (SI2071/IS31FL3741)

Type badge Technology badge License badge

Overview

This example code demonstrates the use of the CircuitPython IS31FL3741 RGB Display driver with the Silabs xG24 devkit. The code reads temperature and humidity data from the SI2071 RHT sensor and displays the data on the IS31FL3741 RGB display. The code serves as a starting point for developers who want to build their projects using the driver and the xG24 devkit to display temperature and humidity values.

The block diagram of this application is shown in the image below:

overview

Hardware Required

Connections Required

The RGB LED Matrix display can easily connect with Silicon Labs EFR32xG24 Dev Kit via a Qwiic connector.

Prerequisites

Getting started with CircuitPython on EFR32 boards.

Setup

To run the example you need to install Thonny editor and then follow the steps below:

  1. Flash the corresponding CircuitPython binary for your board. You can visit circuitpython.org/downloads to download the binary.

NOTE: The examples in this repository require CircuitPython v8.2.0 or higher.

  1. The lib folder on github contains the necessary library files. You can get updates from the bundle here. The libraries used in this project are listed below.

    Library Version
    adafruit_is31fl3741 1.6.1
    adafruit_si7021 2.12.2
  2. Upload all the files and folders from the device_root folder to the CircuitPython device. The files and folders should be copied into the root of the file system on the target device.

  3. Run the scripts on the board.

How it Works

  • Initialization

    Initialization

  • Runtime operation

    Runtime operation

  • Read data from the sensor callback

    read_data

  • Display scroll callback

    Display.

Output

Run the code.py file, and monitor the LED Matrix. You will see that the temperature and humidity parameters will be read from the sensor with a period of 1s. And these values ​​are displayed on LED Matrix and the text will run from right to left of the screen.

result