• sales

    +86-0755-88291180

esp32-C3-1.3 User Guide

【Hardware】

Schematic download
】Screen resolution: 240*240
】Screen driver IC: ST7789

Pin definition

[] SPI interface definition

    CS          ==> GPIO2

    DC         ==> GPIO3

    MOSI    ==> GPIO7

    SCLK     ==> GPIO4

    RESET   ==> GPIO8


[] MPU6050

    SDA    ==> GPIO6

    SCL     ==> GPIO1



【Demo-Code】

MPU6050 Download

QMI8658 Download

Lib Download


【Environment+Library】

[] Download and install Arduino IDE: https://www.arduino.cc/en/software


[] Import ESP32 series chips and motherboard libraries in Arduino IDE
Please download the ESP32 version 2.0.13, other versions may have problems


[] Import ESP32C3-1.3inch-MPU6050 display library
Open the downloaded program, enter the ESP32C3-1.3inch-MPU6050\lib folder, and copy all the files under lib to the library storage path
C:\Documents\Arduino\libraries (click to confirm how to view your own path)
Note: If you have installed the LVGL library before, please delete the previous LVGL and copy the files in lib to the libraries folder


【Code Test】

【Astronaut/weather/Clock/MINITV】

[] Upload clock dial/digital dial/rotating astronaut clock weather ornament

--》Clock_display
After opening the downloaded program package, enter the
ESP32C3-1.3inch-MPU6050\examples\Clock_display
Folder and open ESP32C3-1.3inch.ino



--》Clock_display-3D-Prism
After opening the downloaded program package, enter the
ESP32C3-1.3inch-MPU6050\examples\Clock_display-3D-Prism
Folder and open ESP32C3-1.3inch.ino


[] After entering the Arduino IDE, configure ESP32C3 according to the figure below



[] In the ESP32C3-1.3inch.ino file, you can configure the WIFI hotspot information



[] Click upload, upload successful



[] The phone turns on the hotspot, and the hotspot information is set to the hotspot information configured in the ESP32C3-1.3inch.ino file. Here the hotspot information is configured as

Name: spotpear Password: 12345678


[] You will see: A butterfly will appear, please wait and then turn on the mobile hotspot


Version comparison

Note: The version on the left is MPU6050, and the version on the right is QMI8658

【Game2048-QMI8658-Effective Version

[] Upload Game2048-QMI8658

--》Game2048-QMI8658

Enter ESP32C3-1.3inch-QMI8658\game2048-demo folder, open main.ino project

Shake left and right to operate


【Game2048-MPU6050】-Off Production

[] Upload Game2048-MPU6050

--》Game2048-MPU6050

Enter ESP32C3-1.3inch-MPU6050\examples\Game2048-MPU6050 folder, open main.ino project

Shake left and right to operate


【After-sales】

Monday-Friday (9:30-6:30) Saturday (9:30-5:30) -China time
Email: services01@spotpear.com


TAG: X1300 X1300-A2 Raspberry Pi 5 HDMI to CSI-2 Shield 1080P@60fps & Audio & Video Also Package Kit Raspberry Pi CM4S08032 And Compute Module PoE IO Board Raspberry Pi Camera 12MP Sony IMX708 autofocus HDR Module 3 Sensor Assembly Spotpear RS485 to RJ45 ESP32-S3 ST7789 Raspberry Pi 11.6 inch LCD HDMI /Type C Display In-Cell Capacitive TouchScreen 1768x828 For Jetson Nano/mini Computer PC RS485 to CAN RV1103 ESP32 MLX90641 Raspberry Pi Pico 2 RP2350 1.28 inch Round LCD Development Board 240x240 Display Screen QMI8658 6-Axis Raspberry Pi Robot Dog Wavego Pro 12 quadruped ESP32 ESP-NOW color recognition and self-balancing control SC09 Serial UART Bus Servo Motor Switchable 2.3kg 300Angle Raspberry pi Pico development board RP2040 Core A Based On Official RP2040 Dual Core Processor ESP32 S3 ESP32 C3 LCD Development Board 1.3 inch Display Screen ST7789 240x240 3D Transparent Refractive Prism Mini TV For Arduino ESP32-C6 2.16inch AMOLED Display AI Development Board 480×480 2.16 inch TouchScreen Deepseek Core2021 LoRa LR2021 HF LF SPI LoRaWAN For Sub-GHz and 2.4GHz ESP32-S3 DeepSeek AI Box Robot Development Board N16R8 Toy Doll Option 0.71 inch Electronic Eyes Raspberry Pi Pico 2 RP2350-Tiny/Tiny-Kit Super Mini Board RP2350A