Getting Started JC1060P470C I W
Getting Started JC1060P470C I W
••••••••••••••••Table of contents••••••••••••••••
一、Introduction••••••••••••••••••••••••••••••••••••••2
http://www.jczn1688.com/ 第 1 ⻚ 共 12 ⻚
Getting Started
Introduction
The objective of this post is to explain how to upload an Arduino program to the JC1060P470 module,
from JCZN .
http://www.jczn1688.com/zlxz
The ESP32-P4 is powered by a dual-core RISC-V CPU featuring AI instruction extensions, an advanced
memory subsystem, and integrated high-speed peripherals.
Powered by a dual-core RISC-V CPU running at speeds up to 400 MHz, the ESP32-P4 also boasts
support for single-precision FPU and AI extensions, providing essential
ESP32-P4 itself does not have WiFi and Bluetooth functions. Use ESP-Hosted to connect to the
ESP32-C6 wireless SOC through the SDIO/SPI/UART interface.
http://www.jczn1688.com/ 第 2 ⻚ 共 12 ⻚
2,This is the way to install Arduino-ESP32 directly from the Arduino IDE.
http://www.jczn1688.com/ 第 3 ⻚ 共 12 ⻚
(4)You should be on the Settings tab in the Preferences dialog box by default.
(5)Look for the textbox labeled “Additional Boards Manager URLs”.
(6)If there is already text in this box add a coma at the end of it, then follow the next step.
(7)Paste the following link into the text box :
Stable release link:
https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
(8)Click the OK button to save the setting.
The textbox with the JSON link in it is illustrated here:
http://www.jczn1688.com/ 第 4 ⻚ 共 12 ⻚
(9) In the Arduino IDE click on the Tools menu on the top menu bar.
(10) Scroll down to the Board: entry
(11) A submenu will open when you highlight the Board: entry.
(12) At the top of the submenu is Boards Manager. Click on it to open the Boards Manager dialog box.
(13)I n the search box in the Boards Manager enter “esp32”.
(14) You should see an entry for “esp32 by Espressif Systems”. Highlight this entry and click on the
Install button.
This will install the ESP32 boards into your Arduino IDE
http://www.jczn1688.com/ 第 5 ⻚ 共 12 ⻚
Once the installation completes, we need to select the correct board options for the "ESP32 Arduino"
board. In the board type, in the tools tab, we choose “ESP32P4 Dev Module”.
Set and In the programmer entry of the same tab, we choose “esptool”.
http://www.jczn1688.com/ 第 6 ⻚ 共 12 ⻚
It’s important to note that after the code is uploaded, the device will start to run it. So, if we
want to upload a new program, wee need to reset the power of the device, in order to
guarantee that it enters flashing mode again.
First program
Since this platform is based on Arduino, we can use many of the usual functions. As an example for the
first program, the code bellow starts the Serial port and prints “hello from ESP32” every second.
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("hello from ESP32");
delay(1000);
}
If everything is working fine, we will see the output in the serial console shown.
http://www.jczn1688.com/ 第 7 ⻚ 共 12 ⻚
Again thank you for so much concern.. Hopefully, it's the beginning of a wonderful relationship!
Open the library manager in Arduino, search for lvgl, and click instal .
http://www.jczn1688.com/ 第 8 ⻚ 共 12 ⻚
Find the data center 1_1_Lvgl_v8
As shown:
Lvgl,> v8.3.0
http://www.jczn1688.com/ 第 9 ⻚ 共 12 ⻚
Copy the lv_conf.h of the data center .
As shown:
Put this file under the arduino library file, it must be in the same root directory as the library lvgl .
As shown:
http://www.jczn1688.com/ 第 10 ⻚ 共 12 ⻚
Three-Lvgl demos The file is copied to the SRC folder
As shown:
http://www.jczn1688.com/ 第 11 ⻚ 共 12 ⻚
After compiling, you can run LVGL and touch normally.
http://www.jczn1688.com/ 第 12 ⻚ 共 12 ⻚