• 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 5 PCIe to M.2 NVMe SSD Adapter Board HAT Pi5-PCIe-MPS2242-2230-Board XIAO RA4M1 Tiny SuperMini Board For Arduino Uno IDE For SeeedStudio R7FA4M1 Raspberry Pi 5 PCIe to USB3 HUB Double 2.5G ETH RJ45 and M.2 NVMe SSD PI5 Expansion board HAT+ Raspberry Pi 5inch Display 1024x600 HDMI Capacitive TouchScreen 5 inch LCD B Wide-Cover For Mini PC Raspberry Pi 5 PCIe TO Gigabit RJ45 ETH Adapter Board (C) Driver-Free RTL8111H For Pi5 MPS2.5G Raspberry Pi 5 PCIe to NVME SSD And 2.5G Ethernet RJ45 HAT RTL8125 2280 2242 2230 Raspberry Pi 3.5 inch e-Paper link (G) RYBW 384x184 For Arduino / Jetson Nano / STM32 ESP32-S3N8R8 7inch LCD Display TouchScreen 800×480 WiFi Bluetooth CAN RS485 Sensor 64MP Camera Raspberry Pi RTC WatchDog HAT (B) Real time clock Onboard DS3231SN High Precision RTC Chip Raspberry Pi 5 Power Raspberry Pi 5 1.54inch OLED user guide Raspberry Pi 4B/5 Industrial UART 2CH RS485 RS232 CAN FD HAT With Case For Installation of guide rails and hanging Jetson Raspberry Pi CM5 Compute Module 5 Dual Gigabit Ethernet RJ45 Expansion IO Base Board X1005 Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2230/2242/2260/2280 Tang Nano FPGA Demo Code Magnetic Encoder Servo Motor 120KG.CM 24V 360° RS485 High Precision And Large Torque Electronic EYE 0.71inch Round LCD Display Screen For Arduino Raspberry Pi ESP32 Pico STM32