• 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: CAN FD SpotPear ESP32 2 inch Capacitive TouchScreen LCD Display ST7789 CST816D 240x320 For Arduino/Raspberry Pi/Pico EC200U C4-P01 Development Board QuecPython LTE Cat-1 Bluetooth GNSS Positioning 3.5 inch LCD Computer CPU GPU RAM Monitor PC USB Secondary Display Screen AURORA AI Laser Radar And Dual Eye Camera IMU Integrated Positioning Map For Android/ROS+RoboStudio Raspberry Pi Pico 2 RP2350A 1.54inch TouchScreen 1.54 inch ePaper Display Development Board 200×200 Raspberry Pi 5 8 inch DSI LCD Captive TouchScreen MIPI Display 1280x800 Industrial One-Body Tablet PC With 5MP Front Camera Raspberry Pi 7inch DSI Raspberry Pi 5 Argon-NEO-M.2-NVME-PCIE-Expansion-Board Only For Argon NEO 5 Case (Not include) Raspberry Pi CM5 IO BASE A Mini Board a Base Development Platform Compute Module 5 IO Board 14 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS Raspberry Pi CM4 RS232 to RS485 ESP32-S3 Industrial 8-Channel Controller with WiFi Bluetooth CAN IoT RS485 and RJ45 ETH POE Raspberry Pi DSI Computer AI Deepseek Mechanical Voice Keyboard Linux 10x0.85inch LCD Screen Customize keys + 2.01 inch Secondary Display 4.2 inch e-Paper Display G Red/Yellow/Black/White 4.2inch E-link Screen For Arduino /Raspberry Pi /Jetson Nano /STM32 ESP32-C3-Ornament-Trinket-LVGL-Astronaut-Clock-Watch-MINI-TV-1.69inch-Round-LCD-TouchScreen-ST7789-240x280 Raspberry Pi 5 Fan