1900 views|11 replies

106

Posts

0

Resources
The OP
 

【ESP32-Korvo Review】 04 Development Environment Construction [Copy link]

 
 

The previous review article described a smart atmosphere light example based on the Blinker component written in the Arduino environment . Unfortunately, it can only be used for basic program development of the ESP32-WROVER module, and this development board is a voice application, which does not seem to be supported by Arduino . I can only honestly install the official development environment of Espressif.

Log in to Espressif's official website and find the development board page: Development Board Overview | Espressif Technology (espressif.com)

Click "User Guide" to view the user instructions for the development board:

链接已隐藏,如需查看请登录或者注册

The user guide mainly includes an introduction to the development board, environment construction, sample codes, etc.

The user guide explains how to use the default firmware for the development board, which is a simple voice control program that can control the on/off and color of the light.

To develop ESP32-Korvo voice function programs, you need to install ESP-IDF and ESP-Skainet . ESP-IDF is the basic tool for developing ESP32 , while ESP-Skainet is a voice assistant tool specially developed by Espressif.

1. Install ESP-IDF

As we can see, to use ESP-IDF, you need to install git and python . There are two ways to install them: one-click installation through the official installation assistant or download and install the three software separately. Since I have already installed python when I installed the Arduino development environment , I chose the second installation method and downloaded and installed them separately.

Download Git Windows version and install:

链接已隐藏,如需查看请登录或者注册

Download the ESP-IDF installation package. The user guide recommends using version V3.3.1 . OK , let’s use this version.

Download address:

链接已隐藏,如需查看请登录或者注册

I refreshed the git page many times before entering it. The download was also very slow, only a few KB in speed, and often became 0KB . Git is becoming less and less friendly to Chinese users. I decisively gave up this method and downloaded the esp-idf-tools tool directly from the official website : https://dl.espressif.com/dl/esp-idf-tools-setup-2.3.exe

After downloading, run esp-idf-tools . Since git and python are already installed on your computer , the installer will automatically identify the installation path. Just click Next to come to the ESP-IDF version selection interface.

The development board user guide recommends using version V3.3.1 , so I chose version V3.3 for installation here, and then entered a long download wait. The speed is really unparalleled ... I was in tears ... I strongly recommend that Espressif put the relevant information and tool software on a local server or on China's gitee .

After waiting for more than an hour, a failure message still popped up.

I'm speechless. What's wrong? It's my network problem, but my broadband is 100M . The speed of browsing other web pages and downloading resources is very fast.

Ok, let's skip to the next step.

(II) Install ESP-Skainet

Go to the ESP-Skainet page from the User Guide:

链接已隐藏,如需查看请登录或者注册

Judging from the introduction on the website, ESP-Skainet's offline function is still very powerful. It can recognize up to 100 offline speech words, and also integrates echo cancellation AEC (Acoustic Echo Cancellation), automatic gain adjustment AGC (automatic_gain_control), noise suppression NS (Noise Suppression), voice activity detection VAD (Voice Activity Detection) and microphone array algorithm (Mic Array Speech Enhancement).

Use the git command to clone ESP-Skainet locally:

git clone --recursive

链接已隐藏,如需查看请登录或者注册

The result is another long wait...

Continue to the next step

(III) Install the Flash download tool

Go to the official website of Espressif to download a PC -side Flash download tool, download link:

https://www.espressif.com/zh-hans/support/download/other-tools

If you have a useful tool, you should definitely use it. It’s so time-consuming to type in commands, haha.

At the end of the article: When I finished writing this review report, ESP-IDF and ESP-Skainet had not been successfully downloaded. How can I develop application code later? I was in tears and decided to go to bed first.

This post is from Domestic Chip Exchange

Latest reply

You need to change the IP in the hosts file yourself, don't copy it from the Internet. Different operators have different effects. I don't understand why GitHub's IP changes every once in a while.   Details Published on 2021-3-12 09:03

赞赏

1

查看全部赞赏

 
 

1942

Posts

2

Resources
2
 

Thanks for sharing, the process is very clear! Like it!

This post is from Domestic Chip Exchange
 
 
 

1w

Posts

204

Resources
3
 

Have you downloaded it successfully? Can you ask @cruelfox @数码小叶 @yangjiaxu where they downloaded it, or if they have downloaded it, please send it to you.

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Not yet. I read the posts of several other review partners and they also downloaded it through git. I can only go back and try again in the evening. Oh, I am speechless. As a domestic chip company, Espressif has actually uploaded most of its resources to the Internet. It is too unfriendly. Moreover, a lot of the information is also in English.  Details Published on 2021-3-11 13:49
Not yet. I read the posts of several other review partners and they also downloaded it through git. I can only go back and try again in the evening. Oh, I am speechless. As a domestic chip company, Espressif has actually uploaded most of its resources to the Internet. It is too unfriendly. Moreover, a lot of the information is also in English.  Details Published on 2021-3-11 09:38
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 
 

106

Posts

0

Resources
4
 
okhxyyo posted on 2021-3-11 09:27 Have you downloaded it successfully now? ? You can ask @cruelfox @数码小叶 @yangjiaxu where they downloaded it, or if they already have...

Not yet. I read the posts of several other review partners and they also downloaded it through git. I can only go back and try again in the evening. Oh, I am speechless. As a domestic chip company, Espressif has actually uploaded most of its resources to the Internet. It is too unfriendly. Moreover, a lot of the information is also in English.

This post is from Domestic Chip Exchange
 
 
 

1370

Posts

2

Resources
5
 

I downloaded esp-skainet from git. All other tools were downloaded directly from the Espressif website.

This post is from Domestic Chip Exchange
 
 
 

1370

Posts

2

Resources
6
 
This post was last edited by cruelfox on 2021-3-11 12:07

I uploaded an esp-skainet package file to EE's download center, and you can download it and use it.

https://download.eeworld.com.cn/detail/cruelfox/617965

This post is from Domestic Chip Exchange

Comments

Like~ Really awesome  Details Published on 2021-3-12 08:46
Like~ Really awesome  Details Published on 2021-3-11 13:10
 
 
 

1w

Posts

204

Resources
7
 
cruelfox posted on 2021-3-11 11:50 I uploaded an esp-skainet package file to EE's download center, which can be downloaded and used. http://download.eeworld.com.c ...

Like~ Really awesome

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 
 

2549

Posts

0

Resources
8
 
okhxyyo posted on 2021-3-11 09:27 Have you downloaded it successfully now? ? You can ask @cruelfox @数码小叶 @yangjiaxu where they downloaded it, or if they already have...

If you want to use the idf.py tool and some submodules, you must clone it completely with the parameter --recursive. It will take more than ten hours on a slow network and tens of minutes on a fast network. A complete clone of idf+skainet is 2G in size. If you use your Flash download tool to download the program to 32, you may not need a complete clone. I haven't tried it.

This post is from Domestic Chip Exchange

Comments

Well, I also discovered a problem. During the day, Github's webpage often cannot be opened. Even changing the hosts file does not work. On the contrary, browsing GitHub is slightly normal after 10 o'clock in the evening. I don't know if it is because it is daytime in the United States. Haha, so embarrassing.  Details Published on 2021-3-12 08:46
 
 
 

106

Posts

0

Resources
9
 
Digital Leaf published on 2021-3-11 13:49 If you want to use the idf.py tool and some submodules, you must clone it completely with the parameter --recursive. If your network speed is slow, it will be very...

Well, I also discovered a problem. During the day, Github's webpage often cannot be opened. Even changing the hosts file does not work. On the contrary, browsing GitHub is slightly normal after 10 o'clock in the evening. I don't know if it is because it is daytime in the United States. Haha, so embarrassing.

This post is from Domestic Chip Exchange

Comments

You need to change the IP in the hosts file yourself, don't copy it from the Internet. Different operators have different effects. I don't understand why GitHub's IP changes every once in a while.  Details Published on 2021-3-12 09:03
 
 
 

106

Posts

0

Resources
10
 
cruelfox posted on 2021-3-11 11:50 I uploaded an esp-skainet package file to EE's download center, which can be downloaded and used. http://download.eeworld.com.c ...

Well, thank you. I'll try it again after get off work tonight.

This post is from Domestic Chip Exchange
 
 
 

2549

Posts

0

Resources
11
 
天意无罪 posted on 2021-3-12 08:46 Well, I found a problem. During the day, Github's webpage often cannot be opened. Even after changing the hosts file, it doesn't work. Instead, browsing GitHub after 10 pm...

You need to change the IP in the hosts file yourself, don't copy it from the Internet. Different operators have different effects. I don't understand why GitHub's IP changes every once in a while.

This post is from Domestic Chip Exchange

Comments

Well, I just relocated GitHub's IP address in ipaddress and filled in the hosts file instead of using the one on the website. But the effect was not good and there was no improvement.  Details Published on 2021-3-12 16:02
 
 
 

106

Posts

0

Resources
12
 
Digital Leaf published on 2021-3-12 09:03 You need to change the IP in the hosts file yourself, don't copy it online, different operators have different effects. I don't understand why github's IP changes every once in a while...

Well, I just relocated GitHub's IP address in ipaddress and filled in the hosts file instead of using the one on the website. But the effect was not good and there was no improvement.

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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