3176 views|20 replies

3386

Posts

0

Resources
The OP
 

[Hua Diao Experience] 12 Building the Arduino development environment for ESP32C3 [Copy link]

 

1. Connect ESP32-C3 and PC and install the driver (CH343)
(1) Download the driver from WCH official website
https://www.wch.cn/downloads/CH343SER_EXE.html

This post is from DIY/Open Source Hardware

Latest reply

It would be much more fun if ESP-32 supported Arduino.   Details Published on 2022-6-27 09:04
 

3386

Posts

0

Resources
2
 

(2) Run the installation

This post is from DIY/Open Source Hardware
 
 

3386

Posts

0

Resources
3
 

(3) Check the ports (COM and LPT)
Connect the ESP32-C3 development board to the PC via a USB cable
This computer - right click - Manage - Device Manager - Port

Tips:
There are many reasons for the failure to recognize the board. First, you can change different USB ports on the computer. Second, you should also pay attention to replacing the USB cable of the Type-C port, because there may be poor contact between the port or poor quality of the USB cable. Try more until the development board is effectively recognized.

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
4
 

2. Verify the development board through the serial port debugging assistant

(1) Search for Serial Port Debugging Assistant in the Microsoft App Store and install it (you can also use other debugging assistants)

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
5
 

(2) Open the serial port debugging assistant, set the baud rate to 921600, the character encoding to GB2312 GBK, and the voice to Simplified Chinese

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
6
 
This post was last edited by eagler8 on 2022-6-26 06:19

(3) Open the serial port to view some basic information of the ESP32-C3 development board

I discovered by chance that each ESP32-C3 has its own Mac code, this one is 6055f9774244

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
7
 

(4) Send OK and you can enter the Luatos homepage

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
8
 

(5) Send 2.2, enter [PWM output]

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
9
 

3. Download and install Arduino IDE (skip if already installed)
https://www.arduino.cc/en/software

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
10
 

4. Add the ESP32C3 development board
(1) Open the Arduino IDE, click "File >> Preferences" in the upper left corner, and fill in the "Additional Development Board Manager URL" field:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
11
 

(2) Open the development board manager, search for "ESP32", and select version "2.0.2" for update (ESP32 has been installed before, and it seems to be 1.0.6)

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
12
 

(3) Select the development board. Here, we select "RISC-V ESP32-C3"

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
13
 

(4) Select “DIO” for Flash Mode

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
14
 

(5) The final configuration is shown in the figure

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
15
 

5. Burn test program
(1) Test program: Quickly flash the dual LED lights, and the serial port outputs "Hezhou ESP32-C3 development board"

/*【花雕体验】12 搭建ESP32C3之Arduino开发环境
  测试程序:快速闪烁双LED灯,串口输出“合宙ESP32-C3开发板”
*/

#define     LED_D4     12
#define     LED_D5     13

void setup() {
  Serial.begin(115200);
  pinMode(LED_D4, OUTPUT);
  pinMode(LED_D5, OUTPUT);
}

void loop() {
  Serial.println("Hello world!");
  Serial.println("合宙ESP32-C3开发板");
  Serial.println("");

  digitalWrite(LED_D4, LOW);
  digitalWrite(LED_D5, HIGH);
  delay(100);
  digitalWrite(LED_D4, HIGH);
  digitalWrite(LED_D5, LOW);
  delay(100);
}

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
16
 

(2) Upload successful (relevant progress and other information)

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
17
 

(3) Experimental serial port return status

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
18
 

(4) Experimental scene diagram

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
19
 
 
 

2939

Posts

0

Resources
20
 

It would be much more fun if ESP-32 supported Arduino.

This post is from DIY/Open Source Hardware

Comments

Yes, you need to build the Arduino development environment first  Details Published on 2022-6-27 09:37
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
Featured Posts
Application skills/Software and hardware implementation of serial communication between PIC16 series microcontroller and PC

Abstract: This paper introduces a method of using PIC16F84 microcontroller to realize serial communication with PC, ...

Could you please help me see how to filter this switching power supply circuit?

As the title says, the ACDC switching power supply outputs 5V voltage through LDO. How to filter it next? Below is the ...

Commonly used techniques in PCB design

Commonly used techniques in PCB design In the current mainstream market, the most commonly used circuit diagram drawing ...

34 "Ten Thousand Miles" Raspberry Pi Car——Installation of ROS Noetic on Ubuntu System

This post was last edited by lb8820265 on 2022-4-16 00:54 Ubuntu is installed for the purpose of installing ROS. The of ...

OTL circuit analysis problems

As shown in the figure, the OTL circuit Why can resistors R5, R6 and diode D1 ensure that transistors V2 and V3 are in ...

[Image recognition classification & motion detection & analog signal processing system based on Raspberry Pi 400, fifth post] Project conclusion & documentation - 11.0...

This post was last edited by donatello1996 on 2022-11-3 14:06 Project Summary & Documentation - 11.03 Update 653944 ...

Book activity award: "RT-Thread Device Driver Development Guide"

First of all, we would like to thank the netizens for participating in the reading activity of "RT-Thread Device Driver ...

Complain about it

I’m currently working in a company doing hardware design, but the company is too remote to recruit experienced software ...

Python Programming Quick Start - Python Software Installation

I plan to follow the book introduction and gradually get started with Python. This time I will share how to install Pyth ...

Building an Xx431?

Building an Xx431? Hey uu guys! How do you feel after finishing a six-day work week? My condition is OK. I can always fi ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list