• 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: Raspberry Pi 7inch DSI X1007 Raspberry Pi 5 PCIe to Dual 2.5" SATA HDD/SSD Double-SATA (NOT BOOT From SATA/SSD ESP32-P4 DEV-KIT C6 WiFi6 MIPI DSI 7/10.1 inch Display/CSI Camera/Audio Speaker For AI Deepseek Core3566004000 ESP32 S3 Development Board 2.1 inch Round Rotary Knob LCD Smart Screen 2.1inch Display 480x480 LVGL for Arduino Industrial Isolated RS485 TO ETH (C) RJ45 Converter Wall/Rail-Mount For Modbus ESP32 S3 3.5 inch LCD Development Board 480x320 Display Capacitive TouchScreen Tablet /MP3 Video /Weather Clock LVGL For Arduino Tuya AI Voice Robot T5-E1 1.75 inch Round AMOLED TouchScreen GPS For XiaoZhi Development Board 2.8inch Capacitive TouchScreen LCD Display ST7789 CST328 240x320 For Arduino/Raspberry Pi/ESP32/Pico Development Board Raspberry Pi 5 RTC EPS32S3 1.8inch Round LCD Display WIFI-AIDA64-Secondary-TouchScreen/Wireless-Power/Video-Player LVGL Raspberry Pi UGV Rover ROS2 PT AI OpenCV Robot Car MediaPipe Accelerometer UNO Minima RA4M1 ZERO Tiny SuperMini R7FA4M1 Board Compatible With R4 For Arduino Industrial grade isolated USB to RS232/485 converter supports USB to 2-way RS232 + 2-way RS232/485 original FT4232HL Raspberry Pi 5 DSI display Raspberry Pi Industrial 10.1 inch DSI LCD HMI TouchScreen MIPI Display 1280x800 10.1inch One-Body PC With Front Camera For Pi 4/5 Raspberry Pi 5 PCIe to M.2 Raspberry Pi 5 POE + PCIe to M.2 NVMe SSD Board HAT+ Pi5 2242/2230 Power over Ethernet