Skip to main content


The SenseCAP Indicator is a 4-inch touch screen device that is powered by the ESP32 and RP2040 dual MCUs. ESP32 and RP2040 are both highly capable microcontrollers that offer a range of features and functions.

This chapter will provide detailed information about ESP32 and RP2040 of SenseCAP Indicator, including their functions and usage. It covers include programming, interfacing with sensors, and communicating with other devices,etc.

Dive into the Hardware

Hardware Diagram

As shown in the figure, the SenseCAP Indicator is primarily driven by the ESP32 and RP2040 MCUs, which are connected to the LoRa transceiver, LCD, and other peripheral circuits. In the following sections, we will provide an overview of the ESP32 and RP2040 development and their respective capabilities.


ESP32-S3 is a highly integrated system-on-chip (SoC) that combines a powerful CPU, 2.4 GHz Wi-Fi, and Bluetooth 5.0 capabilities, also includes a range of input/output pins and interfaces, such as UART, SPI, I2C, and PWM, which allow it to interface with other devices and sensors.


SenseCAP Indicator is embeded with RP2040, RP2040 features a dual-core ARM Cortex-M0+ processor with clock speeds up to 133 MHz, 264KB of RAM, and a range of peripherals such as USB, UART, SPI, and I2C. It also includes a unique feature called Programmable I/O (PIO), which allows users to implement custom digital interfaces without the need for specialized hardware.

ESP32-S3 and RP2040 Communication

ESP32 and RP2040 use serial port communication, using the COBS communication protocol.

Libraries used in ESP32: Arduino library used by RP2040:

In the terminal demo, the following data frames are used for transmission:



Note: The following commands are for reference only, of course you can also define your own commands.

0x00ESP32<->RP2040ACK, string, value:'ACK'
0xA0ESP32->RP2040Collect Interval CMD, PKT_PARA is uint32_t
0xA1ESP32->RP2040Beep on CMD, PKT_PARA is uint32_t
0xA2ESP32->RP2040Beep off CMD, PKT_PARA is uint32_t
0xA3ESP32->RP2040Shutdown CMD, PKT_PARA is uint32_t
0xA4ESP32->RP2040Power On CMD, PKT_PARA is uint32_t
0xA0~0xAFESP32->RP2040Other data or cmd
0xB0RP2040->ESP32SCD41 Temperature data, PKT_PARA is float
0xB1RP2040->ESP32SCD41 Humidity data, PKT_PARA is float
0xB2RP2040->ESP32SCD41 CO2 data, PKT_PARA is float
0xB3RP2040->ESP32ATH20 Temperature data, PKT_PARA is float
0xB4RP2040->ESP32ATH20 Humidity data, PKT_PARA is float
0xB5RP2040->ESP32SGP40 tVOC data, PKT_PARA is float. 0~500 index
0xB6~0xBFRP2040->ESP32Other data or cmd, PKT_PARA is float

Tech Support

Need help with your SenseCAP Indicator? We're here to assist you!

Loading Comments...