2158 views|1 replies

155

Posts

1

Resources
The OP
 

【Beetle ESP32-C3】1. Unpacking materials and lighting (Arduino) [Copy link]

I received the development board on August 3, which includes a core board, an expansion board and two sets of pin headers. I just felt that it was difficult to connect the core board and the expansion board without a header. Of course, it would be the same if I found a header and soldered it on myself.

Figure 1-1 Development board accessories

The information link of DFROBOT official website is as follows: https://wiki.dfrobot.com.cn/_SKU_DFR0868_Beetle_ESP32_C3#target_0 .

1. Configure the Arduino environment

I used Arduino to test it, and found that the ESP32-Arduino on the machine was installed with version 1.6, and there was no C3 development board option. I was going to follow the official website method to configure "Preferences" and add the development board manager URL. However, after testing, I found that the URL given on the DFROBOT official website was invalid, so I used the URL given by Espressif: https://www.arduino.cn/package_esp32_index.json . The original 1.6 was installed through this address. I remember that the download speed was really slow at that time. This time, the experience of downloading 2.0 was still the same. After downloading for a night, it was still in the build tool, so I simply stopped the online installation and used the offline package method.

The offline package uses this link: https://cloud.codess-nas.top:5213/s/2Ocn?path=%2F . The version is 2.0.4, a self-extracting exe file, which can be installed by double-clicking it.

Figure 1-2 C3 option in Arduino IDE

2. Lighting Case

I was in a hurry to do the test, so I didn't solder the pin headers on the board yet. Fortunately, there is a user light on the board, connected to IO10, which can be used for lighting test.

Figure 1-3 Onboard LED

Create a new project, the code is very simple, it is all Arduino API.

int led = 10;
void setup() {
  pinMode(led, OUTPUT);
}

void loop() {
  digitalWrite(led, HIGH);
  delay(1000);
  digitalWrite(led, LOW);
  delay(1000);
}

After connecting to the development board, the machine kept making a prompt sound for inserting the USB flash drive (it really kept ringing). The official website explained: "If the serial port keeps appearing and then disappearing, please connect pin 9 to GND and power on again."

Because I haven't done welding yet, I thought I would try downloading it first, and the result was very smooth. If other friends fail to download, they can try the above method.

You need to select USB mode for downloading, and then select COM port. Note: My test result is "There are constant prompt sounds for the first time, but it can be burned successfully. Once other cases are burned, the COM port cannot be seen, and the 9th pin needs to be grounded before it can work."

Figure 1-4 Select USB and COM port

This post is from RF/Wirelessly

Latest reply

Very good, learned!   Details Published on 2022-8-6 11:02
 

1452

Posts

1

Resources
2
 

Very good, learned!

This post is from RF/Wirelessly
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

快速回复 返回顶部 Return list