Home

Awesome

M5Unified

Arduino / ESP-IDF Library for M5Stack Series

Usage

This library provides access to the built-in hardware of M5Stack controllers. Library functionality is available through the m5 namespace, and includes the following:

M5Unified requires M5GFX to be installed.

How To Use

#include "M5Unified.h"

Examples and Demonstrations

In the Arduino IDE, once the M5Unified library is installed through Library Manager, the following example programs are available under File > Examples > M5Unified > Basic.

Separate examples
M5Stack hardware functionality supported by the ESP32 ecosystem

The following functionality is built in to the ESP32 framework or available elsewhere, independent of any hardware included in the M5Stack products, and do not require or have explicit support in the M5Unified library. To use these functions, simply use existing ESP32 or Arduino supporting libraries. This list is provided for the benefit of newcomers who may be asking where the "M5Unified" support for a particular feature is found, before discovering that it's either already part of the basic ESP32 platform, or a device that is generic enough (e.g. I2C or SPI) to be fully supported with generic libraries found online, including in the Arduino library manager, that work with any platform.

Desirable examples worthy of future contribution

Supported frameworks

Supported devices (ESP32)

Supported devices (ESP32-S3)

Supported devices (ESP32-C3)

Supported devices (ESP32-C6)

Supported external displays and video adapters

Supported external speakers and audio adapters

Other supported external accessories

Hardware information

ESP32 GPIO list

M5Stack<BR>BASIC<BR>GRAYM5Stack<BR>GO/FIREM5Stack<BR>Core2(AWS)<BR>ToughM5Stick<BR>C/CPlusM5Stick<BR>CPlus2M5Stack<BR>CoreInkM5PaperM5StationM5ATOM<BR>Lite/Matrix<BR>ECHO/U<BR>PSRAMM5STAMP<BR>PICO
GPIO 0<BR>ADC2_CH1M-Bus<BR>IIS_MKM-Bus<BR>IIS_MKM-Bus<BR>SPK_LRCK<BR>PDM_C(Core2)HAT<BR>PAD<BR>PDM_CHAT<BR>PDM_CEPD_RST---------GPIO 0<BR>ADC2_CH1
GPIO 1<BR>USB_TXM-Bus<BR>SerialM-Bus<BR>SerialM-Bus<BR>SerialSerialSerialSerialSerialSerialSerialSerialGPIO 1<BR>USB_TX
GPIO 2<BR>ADC2_CH2M-Bus<BR>M-Bus<BR>M-Bus<BR>SPK_DPAD<BR>Beep(CPlus)BeepBeepPW_HoldReadEn------GPIO 2<BR>ADC2_CH2
GPIO 3<BR>USB_RXM-Bus<BR>SerialM-Bus<BR>SerialM-Bus<BR>SerialSerialSerialSerialSerialSerialSerialSerialGPIO 3<BR>USB_RX
GPIO 4<BR>ADC2_CH0TF_CSTF_CSTF_CS---PW_HoldEPD_BUSYTF_CSRGB LED------GPIO 4<BR>ADC2_CH0
GPIO 5M-BusM-BusLCD_CSLCD_CSLCD_CSBTN_HATEXT_5VLCD_CSBus(P)<BR>PDM_C(U)---GPIO 5
GPIO 9---------InfraRed---EPD_CS------------GPIO 9
GPIO10---------LED---LED------------GPIO10
GPIO12<BR>ADC2_CH5M-Bus<BR>IIS_SKM-Bus<BR>IIS_SKSPK_BCLK---LCD_RSTPW_HoldSPI_MOSIUSB_PWInfraRed---GPIO12<BR>ADC2_CH5
GPIO13<BR>ADC2_CH4M-Bus<BR>IIS_WSM-Bus<BR>IIS_WSM-Bus<BR>RXD2SPI_SCLKSPI_SCLKMI-Bus<BR>RXD2SPI_MISOPORT.C1------GPIO13<BR>ADC2_CH4
GPIO14<BR>ADC2_CH6LCD_CSLCD_CSM-Bus<BR>TXD2---LCD_D/CMI-Bus<BR>TXD2SPI_SCLKPORT.C1------GPIO14<BR>ADC2_CH6
GPIO15<BR>ADC2_CH3M-Bus<BR>IIS_OUTM-Bus<BR>RGB LEDLCD_D/CSPI_MOSISPI_MOSIEPD_D/CEPD_CSLCD_RST------GPIO15<BR>ADC2_CH3
GPIO16<BR>PSRAMM-Bus<BR>RXD2M-Bus<BR>PORT.C<BR>RXD2---------------PORT.C2<BR>RXD2------GPIO16<BR>PSRAM
GPIO17<BR>PSRAMM-Bus<BR>TXD2M-Bus<BR>PORT.C<BR>TXD2---------------PORT.C2<BR>TXD2------GPIO17<BR>PSRAM
GPIO18M-Bus<BR>SPI_SCLKM-Bus<BR>SPI_SCLKSPI_SCLKLCD_RST---MI-Bus<BR>SPI_SCLKPORT.CSPI_SCLK---GPIO18
GPIO19M-Bus<BR>SPI_MISOM-Bus<BR>SPI_MISOM-Bus---LED<BR>InfraRedRTC_INTPORT.CLCD_D/CBus<BR>SPK_C(ECHO)<BR>*PDM_D(U)GPIO19
GPIO21M-Bus<BR>PORT.A<BR>I2C0_SDAM-Bus<BR>PORT.A<BR>I2C0_SDAI2C1_SDAI2C1_SDAI2C1_SDAMI-Bus<BR>I2C1_SDAI2C1_SDAI2C1_SDABus<BR>I2C1_SCLGPIO21
GPIO22M-Bus<BR>PORT.A<BR>I2C0_SCLM-Bus<BR>PORT.A<BR>I2C0_SCLI2C1_SCLI2C1_SCLI2C1_SCLMI-Bus<BR>I2C1_SCLI2C1_SCLI2C1_SCLBus<BR>SPK_D(ECHO)GPIO22
GPIO23M-Bus<BR>SPI_MOSIM-Bus<BR>SPI_MOSISPI_MOSILCD_D/C---MI-Bus<BR>SPI_MOSIEPD_RSTSPI_MOSIBus<BR>PDM_D(ECHO)---GPIO23
GPIO25<BR>DAC1M-Bus<BR>SPK_DACM-Bus<BR>SPK_DACM-Bus<BR>RGB LED(AWS)HAT(CPlus)<BR>PADHATMI-Bus<BR>HATPORT.A<BR>I2C0_SDAPORT.B1Bus<BR>I2C1_SDAGPIO25<BR>DAC1
GPIO26<BR>DAC2M-BusM-Bus<BR>PORT.BM-BusHAT<BR>PADHATMI-Bus<BR>HATPORT.BPORT.B2PORT.A<BR>I2C0_SDAGPIO26<BR>DAC2
GPIO27<BR>ADC2_CH7LCD_D/CLCD_D/CM-BusAXP192 VBUSENLCD_BLBTN_PWREPD_BUSYIMU_INTRGB LEDRGB LEDGPIO27<BR>ADC2_CH7
GPIO32<BR>ADC1_CH4LCD_BLLCD_BLM-Bus<BR>PORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SDAGPIO32<BR>ADC1_CH4
GPIO33<BR>ADC1_CH5LCD_RSTLCD_RSTM-Bus<BR>PORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLPORT.BPORT.A<BR>I2C0_SCLBus<BR>PDM_C(ECHO)PORT.A<BR>I2C0_SCLGPIO33<BR>ADC1_CH5
GPIO34<BR>ADC1_CH6M-Bus<BR>IIS_INM-Bus<BR>MIC_ADC<BR>IIS_INM-Bus<BR>PDM_D(Core2)PDM_DPDM_DMI-Bus<BR>SPI_MISO---USB Current?---GPIO34<BR>ADC1_CH6
GPIO35<BR>ADC1_CH7M-BusM-BusM-BusRTC_INTBTN_PWRBAT_VBAT_VPORT.B1------GPIO35<BR>ADC1_CH7
GPIO36<BR>ADC1_CH0M-BusM-Bus<BR>PORT.BM-BusHAT<BR>PADHATMI-Bus<BR>HATTP_INTPORT.B2------GPIO36<BR>ADC1_CH0
GPIO37<BR>ADC1_CH1BTN_CBTN_C---BTN_ABTN_ASW_UpSW_UpBTN_A------GPIO37<BR>ADC1_CH1
GPIO38<BR>ADC1_CH2BTN_BBTN_BM-Bus<BR>SPI_MISOPADBAT_VSW_PressSW_PressBTN_B------GPIO38<BR>ADC1_CH2
GPIO39<BR>ADC1_CH3BTN_ABTN_ATP_INTBTN_BBTN_BSW_DownSW_DownBTN_CBTNBTNGPIO39<BR>ADC1_CH3
M5Stack<BR>BASIC<BR>GRAYM5Stack<BR>GO/FIREM5Stack<BR>Core2(AWS)<BR>ToughM5Stick<BR>C/CPlusM5Stick<BR>CPlus2M5Stack<BR>CoreInkM5PaperM5StationM5ATOM<BR>Lite/Matrix<BR>ECHO/U<BR>PSRAMM5STAMP<BR>PICO

ESP32C3 GPIO list

M5Stamp<BR>C3M5Stamp<BR>C3U
GPIO 0PORT.A<BR>I2C0_SCLPORT.A<BR>I2C_SCLGPIO 0
GPIO 1PORT.A<BR>I2C0_SDAPORT.A<BR>I2C_SDAGPIO 1
GPIO 2RGB LEDRGB LEDGPIO 2
GPIO 3BTN_ABusGPIO 3
GPIO 4BusBusGPIO 4
GPIO 5BusBusGPIO 5
GPIO 6BusBusGPIO 6
GPIO 7BusBusGPIO 7
GPIO 8BusBusGPIO 8
GPIO 9---BTN_AGPIO 9
GPIO10BusBusGPIO10
GPIO18<BR>USBPORT.U<BR>D-USB<BR>PORT.U<BR>D-GPIO18<BR>USB
GPIO19<BR>USBPORT.U<BR>D+USB<BR>PORT.U<BR>D+GPIO19<BR>USB
GPIO20USB<BR>SerialBus<BR>GPIO20
GPIO21USB<BR>SerialBus<BR>GPIO21
M5Stamp<BR>C3M5Stamp<BR>C3U

ESP32S3 GPIO list

M5Stack<BR>CoreS3<BR>CoreS3SEM5ATOMS3R <BR>/ S3RCamM5ATOMS3 <BR>/ S3LiteM5ATOMS3UM5STAMPS3M5DialM5CapsuleM5Cardputer
GPIO 0M-Bus<BR>SPK_LRCKI2Cx_SCL<br>forIMU------Bus<BR>BTN_A------BTN_AGPIO 0
GPIO 1PORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLBusPORT.B---PORT.A<BR>I2C0_SCLGPIO 1
GPIO 2PORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDABusPORT.BBeepPORT.A<BR>I2C0_SDAGPIO 2
GPIO 3LCD_CSCAM_Y2vdd3v3vdd3v3BusBeep---KEY_MATRIXGPIO 3
GPIO 4TF_CSCAM_Y6InfraRed---BusLCD_RSInfraRedKEY_MATRIXGPIO 4
GPIO 5M-BusBusBus---BusLCD_MOSI---KEY_MATRIXGPIO 5
GPIO 6M-BusBusBus---BusLCD_SCKBAT_ADCKEY_MATRIXGPIO 6
GPIO 7M-BusBusBus---BusLCD_CS---KEY_MATRIXGPIO 7
GPIO 8M-Bus<BR>PORT.BBusBus---BusLCD_RSTI2C1_SDAKEY_MATRIXGPIO 8
GPIO 9M-Bus<BR>PORT.BI2Cy_SCL<br>forCam------BusLCD_BL---KEY_MATRIXGPIO 9
GPIO10M-BusCAM_VSYNC------BusRFID_INTI2C1_SCLBAT_ADCGPIO10
GPIO11I2C1_SCLCAM_Y8------BusI2C1_SDATF_CSKEY_MATRIXGPIO11
GPIO12I2C1_SDAI2Cy_SDA<br>forCam---InfraRedBusI2C1_SCLTF_MOSITF_CSGPIO12
GPIO13M-Bus<BR>SPK_DCAM_Y9------Bus<BR>PORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAPORT.A<BR>I2C0_SDAKEY_MATRIXGPIO13
GPIO14M-Bus<BR>MIC_INLCD_CS<BR>CAM_HREF---BusBusTP_INTTF_CLKTF_MOSIGPIO14
GPIO15CAM_D6LCD_SCLKLCD_CS---Bus<BR>PORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLPORT.A<BR>I2C0_SCLKEY_MATRIXGPIO15
GPIO16CAM_D7IMU_INTLCD_BL---FPC---------GPIO16
GPIO17M-Bus<BR>PORT.CCAM_Y7LCD_SCLKBusFPC---------GPIO17
GPIO18M-Bus<BR>PORT.CPOWER_N------FPC---------GPIO18
GPIO19<BR>USBUSB<BR>D--USB<BR>D--USB<BR>D--USB<BR>D--USB<BR>D--USB<BR>D--USB<BR>D--USB<BR>D--GPIO19<BR>USB
GPIO20<BR>USBUSB<BR>D++USB<BR>D++USB<BR>D++USB<BR>D++USB<BR>D++USB<BR>D++USB<BR>D++USB<BR>D++GPIO20<BR>USB
GPIO21I2C_INTLCD_MOSI<BR>CAM_XCLKLCD_MOSI---RGB LEDRGB LEDRGB LEDRGB_LEDGPIO21
GPIO33SPK_WCKOPI PSRAMLCD_DC---FPC------LCD_RSTGPIO33
GPIO34SPK_BCKOPI PSRAMLCD_RST---FPC------LCD_RSGPIO34
GPIO35M-Bus<BR>SPI_MISO<BR>LCD DCOPI PSRAMRGB LEDRGB LEDFPC------LCD_DATGPIO35
GPIO36M-Bus<BR>SPI_SCLKOPI PSRAM------FPC------LCD_SCKGPIO36
GPIO37M-Bus<BR>SPI_MOSIOPI PSRAM------FPC------LCD_CSGPIO37
GPIO38CAM_HREFBusBus<BR>I2C1_SDAPDM_DATFPC------LCD_BLGPIO38
GPIO39CAM_D2BusBus<BR>I2C1_SCLPDM_CLKBus---TF_MISOTF_MISOGPIO39
GPIO40CAM_D3CAM_PCLK---BusBusENCODER_BMIC_CLKTF_CLKGPIO40
GPIO41CAM_D4BTN_ABTN_ABTN_ABusENCODER_AMIC_DATSPK_BCLKGPIO41
GPIO42CAM_D5LCD_D/D<BR>CAM_Y3---BusBusBTN_ABTN_ASPK_SDATAGPIO42
GPIO43M-Bus<BR>SerialTX---------Bus------I2S_LRCLKGPIO43
GPIO44M-Bus<BR>SerialRX---------Bus------InfraRedGPIO44
GPIO45CAM_PCLKI2Cx_SDA<br>forIMU------------------GPIO45
GPIO46CAM_VSYNCCAM_Y4------BusHOLDHOLDMIC_DATGPIO46
GPIO47CAM_D9InfraRed------------------GPIO47
GPIO48CAM_D8LCD_RST<BR>CAM_Y5------------------GPIO48
M5Stack<BR>CoreS3M5ATOMS3R <BR>/ S3RCamM5ATOMS3 <BR>/ S3LiteM5ATOMS3UM5STAMPS3M5DialM5CapsuleM5Cardputer

AXP192 power management IC connections

M5Stack<BR>Core2M5Stack<BR>ToughM5Stick<BR>CM5Stick<BR>CPlusM5Station
GPIO0<br>LDO0BUS PW ENBUS PW ENMIC VCCMIC VCCPortA1.A2 ENGPIO0<br>LDO0
GPIO1SYS LEDTP RST------PortB1 ENGPIO1
GPIO2SPK ENSPK EN------PortB2 ENGPIO2
GPIO3------------PortC1 ENGPIO3
GPIO4LCD RST<BR>TP RSTLCD RST------PortC2 ENGPIO4
EXTENPORT 5V ENPORT 5V ENPORT 5V ENPORT 5V ENPORT 5V ENEXTEN
BACKUPRTC BATRTC BATRTC BATRTC BAT---BACKUP
LDO1RTC VDDRTC VDDRTC VDDRTC VDDRTC VDDLDO1
LDO2LCD PW<BR>Periph PWLCD PW<BR>Periph PWLCD BLLCD BL---LDO2
LDO3VIB MOTORLCD BLLCD PWLCD PWLCD BLLDO3
DCDC1ESP32 VDDESP32 VDDESP32 VDDESP32 VDDESP32 VDDDCDC1
DCDC2---------------DCDC2
DCDC3LCD BL------------DCDC3

AXP2101 usage

M5Stack<BR>Core2v1.1M5Stack<BR>CoreS3<BR>CoreS3SE
ALDO1---VDD 1v8ALDO1
ALDO2LCD RSTVDDA 3v3ALDO2
ALDO3SPK ENCAM 3v3ALDO3
ALDO4Periph PW<BR>TF,TP,LCDTF 3v3ALDO4
BLDO1LCD BLAVDDBLDO1
BLDO2PORT 5V ENDVDDBLDO2
DLDO1/DC1VIB MOTORLCD BLDLDO1/DC1
DLDO2/DC2------DLDO2/DC2
BACKUPRTC BATRTC BATBACKUP

PinMap

<TABLE> <TR> <TH></TH> <TH width="33%">M5Stack<BR>BASIC/GRAY<BR>GO/FIRE<BR>FACES II</TH> <TH width="33%">M5Stack<BR>Core2<BR>Core2AWS<BR>TOUGH</TH> <TH width="33%">M5Stack<BR>CoreS3<BR>CoreS3SE</TH> </TR> <TR align="center"> <TD rowspan="2">Bus</TD> <TD><IMG src="docs/img/pin_def_core_bus.svg" ><BR>M-Bus</TD> <TD><IMG src="docs/img/pin_def_core2_bus.svg"><BR>M-Bus</TD> <TD><IMG src="docs/img/pin_def_cores3_bus.svg"><BR>M-Bus</TD> </TR> <TR align="center"> <TD colspan="3"> ※ HPWR=not connected to the ESP32. Used by modules capable of supplying 12V power. </TD> </TR> </TABLE> <TABLE> <TR> <TH></TH> <TH width="16%">M5Stack<BR>BASIC/GRAY<BR>GO/FIRE<BR>FACES II</TH> <TH width="16%">M5Stack<BR>Core2<BR>Core2AWS<BR>TOUGH</TH> <TH width="16%">M5Stack<BR>CoreS3</TH> <TH width="16%"> M5Paper </TH> <TH width="32%" colspan="2"> M5Station </TH> </TR> <TR align="center"> <TD>PortA</TD> <TD><IMG src="docs/img/pin_def_core_porta.svg" title="G,V,21,22"><BR>PortA</TD> <TD><IMG src="docs/img/pin_def_core2_porta.svg" title="G,V,32,33"><BR>PortA</TD> <TD><IMG src="docs/img/pin_def_cores3_porta.svg" title="G,V,2,1"><BR>PortA</TD> <TD><IMG src="docs/img/pin_def_paper_porta.svg" title="G,V,25,32"><BR>PortA</TD> <TD colspan="2"><IMG src="docs/img/pin_def_station_porta.svg" title="G,V,32,33"><BR>PortA</TD> </TR> <TR align="center"> <TD>PortB</TD> <TD><IMG src="docs/img/pin_def_core_portb.svg" title="G,V,26,36"><BR>PortB</TD> <TD><IMG src="docs/img/pin_def_core2_portb.svg" title="G,V,26,36"><BR>PortB</TD> <TD><IMG src="docs/img/pin_def_cores3_portb.svg" title="G,V,9,8"><BR>PortB</TD> <TD><IMG src="docs/img/pin_def_paper_portb.svg" title="G,V,26,33"><BR>PortB</TD> <TD><IMG src="docs/img/pin_def_station_portb1.svg" title="G,V,25,35"><BR>PortB1</TD> <TD><IMG src="docs/img/pin_def_station_portb2.svg" title="G,V,26,36"><BR>PortB2</TD> </TR> <TR align="center"> <TD>PortC</TD> <TD><IMG src="docs/img/pin_def_core_portc.svg" title="G,V,17,16"><BR>PortC</TD> <TD><IMG src="docs/img/pin_def_core2_portc.svg" title="G,V,14,13"><BR>PortC</TD> <TD><IMG src="docs/img/pin_def_cores3_portc.svg" title="G,V,17,18"><BR>PortC</TD> <TD><IMG src="docs/img/pin_def_paper_portc.svg" title="G,V,18,19"><BR>PortC</TD> <TD><IMG src="docs/img/pin_def_station_portc1.svg" title="G,V,14,13"><BR>PortC1</TD> <TD><IMG src="docs/img/pin_def_station_portc2.svg" title="G,V,17,16"><BR>PortC2</TD> </TR> <TR align="center"> <TD>PortD</TD> <TD><IMG src="docs/img/pin_def_core_portd.svg" title="G,V,35,34"><BR>PortD</TD> <TD><IMG src="docs/img/pin_def_core2_portd.svg" title="G,V,35,34"><BR>PortD</TD> <TD></TD> <TD></TD> <TD colspan="2"></TD> </TR> <TR align="center"> <TD>PortE</TD> <TD><IMG src="docs/img/pin_def_core_porte.svg" title="G,V,13,5" ><BR>PortE</TD> <TD><IMG src="docs/img/pin_def_core2_porte.svg" title="G,V,19,27"><BR>PortE / 485<BR>TOUGH485:12V</TD> <TD></TD> <TD></TD> <TD colspan="2"></TD> </TR> </TABLE> <TABLE> <TR> <TH></TH> <TH width="11%">M5Stick<BR>C</TH> <TH width="11%">M5Stick<BR>C Plus</TH> <TH width="18%">M5Stack<BR>CoreInk</TH> <TH width="18%">M5Stamp<BR>PICO</TH> <TH width="18%">M5Stamp<BR>C3</TH> <TH width="18%">M5Stamp<BR>C3U</TH> </TR> <TR align="center"> <TD>PortA</TD> <TD colspan="4"><IMG src="docs/img/pin_def_stickc_porta.svg" title="G,V,32,33"></TD> <TD></TD> <TD></TD> </TR> <TR align="center"> <TD>HAT</TD> <TD><IMG src="docs/img/pin_def_stickc_hat.svg" title="G,5Vout,26,36,0,BAT,3V,5Vin"></TD> <TD><IMG src="docs/img/pin_def_stickcplus_hat.svg" title="G,5Vout,26,25/36,0,BAT,3V,5Vin"></TD> <TD><IMG src="docs/img/pin_def_coreink_hat.svg" title="G,5Vout,26,36,25,BAT,3V,5Vin"></TD> <TD></TD> <TD></TD> <TD></TD> </TR> <TR align="center"> <TD>Bus</TD> <TD></TD> <TD></TD> <TD><IMG src="docs/img/pin_def_coreink_bus.svg"><BR>MI-Bus</TD> <TD><IMG src="docs/img/pin_def_stamppico_bus.svg"></TD> <TD><IMG src="docs/img/pin_def_stampc3_bus.svg"></TD> <TD><IMG src="docs/img/pin_def_stampc3u_bus.svg"></TD> </TR> </TABLE> <TABLE> <TR> <TH></TH> <TH width="20%">ATOM<BR>Lite</TH> <TH width="20%">ATOM<BR>Matrix</TH> <TH width="20%">ATOM<BR>ECHO</TH> <TH width="20%">ATOM<BR>PSRAM</TH> <TH width="16%">ATOM<BR>U</TH> </TR> <TR align="center"> <TD>PortA</TD> <TD colspan="5"><IMG src="docs/img/pin_def_atom_porta.svg" title="G,V,26,32"></TD> </TR> <TR align="center"> <TD>Bus</TD> <TD><IMG src="docs/img/pin_def_atom_lite.svg"></TD> <TD><IMG src="docs/img/pin_def_atom_matrix.svg"></TD> <TD><IMG src="docs/img/pin_def_atom_echo.svg"></TD> <TD><IMG src="docs/img/pin_def_atom_psram.svg"></TD> <TD><IMG src="docs/img/pin_def_atom_u.svg"></TD> </TR> </TABLE> <TABLE> <TR> <TH></TH> <TH>ATOMS3<BR>/S3Lite</TH> <TH>NanoC6/Cardputer</TH> </TR> <TR align="center"> <TD>PortA</TD> <TD colspan="2"><IMG src="docs/img/pin_def_atom_s3_porta.svg" title="G,V,2,1"></TD> </TR> <TR align="center"> <TD>Bus</TD> <TD><IMG src="docs/img/pin_def_atom_s3.svg"></TD> <TD></TD> </TR> </TABLE>

SPI device

M5Stack<BR>BASIC<BR>GRAY<BR>GO/FIREM5Stack<BR>Core2<BR>ToughM5Stick<BR>CM5Stick<BR>CPlusM5Stack<BR>CoreInkM5Paper
DisplayILI9342C<BR>320×240<BR>CS:G14ILI9342C<BR>320×240<BR>CS:G5ST7735S<BR>80×160<BR>CS:G5ST7789V2<BR>135×240<BR>CS:G5GDEW0154M09<BR>200×200<BR>CS:G9IT8951<BR>960×540<BR>CS:G15Display
TF CardCS:4CS:4---------CS:4TF Card

I2C device

M5Stack<BR>BASIC/GRAY<BR>GO/FIREM5Stack<BR>Core2M5Stack<BR>ToughM5Stack<BR>CoreS3M5Stick<BR>C<BR>CPlusM5Stack<BR>CoreInkM5PaperATOM<BR>MatrixM5Station
Touch<BR>Panel---FT6336U<BR>38hCHSC6540<BR>2EhFT5xxx<BR>38h------GT911<BR>14h or 5Dh------Touch<BR>Panel
RTC---BM8563<BR>51hBM8563<BR>51hBM8563<BR>51hBM8563<BR>51hBM8563<BR>51hBM8563<BR>51h---BM8563<BR>51hRTC
Power<BR>ManageIP5306<BR>75hAXP192<BR>34hAXP192<BR>34hAXP2101<BR>34hAXP192<BR>34h---------AXP192<BR>34hPower<BR>Manage
IMUMPU6886<BR>68hMPU6886<BR>68h (Ext)---BMI270<BR>69hMPU6886<BR>68h------MPU6886<BR>68hMPU6886<BR>68h (opt)IMU
IMU<BR>(old lot)SH200Q<BR>6Ch---------SH200Q<BR>6Ch------------IMU<BR>(old lot)
ENV---------LTR553ALS<BR>23h------SHT30<BR>44h------ENV
EEPROM------------------FM24C02<BR>50h------EEPROM
Camera---------GC0308<BR>21h---------------Camera
Speaker---------AW88298<BR>36h---------------Speaker
Microphone---------ES7210<BR>40h---------------Microphone
GPIO Expander---------AW9523B<BR>58h---------------GPIO Expander
Current<BR>Voltage<BR>Monitor------------------------INA3221<BR>40h/41h<BR>(opt)Current<BR>Voltage<BR>Monitor