You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please refer to [Get Started](https://docs.espressif.com/projects/esp-adf/en/latest/get-started/index.html#get-started) for toolchain setup.
26
+
## Setup software environment
27
+
28
+
Please refer to [Get Started](https://docs.espressif.com/projects/esp-adf/en/latest/get-started/index.html#get-started).
29
+
30
+
## Authentication code
31
+
32
+
Please refer to [度家 AIOT 快速入门](https://cloud.baidu.com/doc/SHC/s/wk7bl9g8i) and apply for factory code (fc), product Key (pk), access key (ak) and secret key (sk) that should be then saved in `profiles/profile.bin`
33
+
34
+
## Jumpstart the example
35
+
No need to compile the project, just use the firmware in this example.
36
+
37
+
The firmware downloading flash address refer to follow table.
-**step 1:**[Download the firmware download tool](https://www.espressif.com/sites/default/files/tools/flash_download_tool_v3.8.5_0.zip) and unzip the compressed package, then run the executable file with ".exe" suffix.
**Note: The tone bin is in `$ADF_PATH/example/korvo_du1906/tone/audio_tone.bin` and profile.bin is in `$ADF_PATH/example/korvo_du1906/profile/profile.bin`**
81
+
82
+
-**step 5:** Click `START` button on the graphical interface to download the firmware
83
+
84
+
After download firmware, press `[RST]` button, and then there will be some logs print on the serial port.
85
+
86
+
### Network configuration
87
+
88
+
-**step 1:** Download and install Blufi app on cell phone, [App for Andriod](https://github.com/EspressifApp/EspBlufiForAndroid/releases), [App for IOS](https://github.com/EspressifApp/EspBlufiForiOS/releases)
89
+
-**step 2:** Open bluetooth and open blufi app on mobilephone, scan the device.
90
+
-**step 3:** Press `[FUNC]` button on device for 4s, the device will enter wifi-setting mode, and play a tone music "请点击确认开始配网".
91
+
-**step 4:** Fresh the scan list, there will be a device named "BLUFI_DEVICE", click it and choose `[连接]` on phone.
-**step 5:** After connect to device, click `[配网]`, input wifi ssid and password that to connect.
96
+
-**step 6:** Click `[确认]`, the device will acquire the wifi information and connect to network. If conenct to wifi successfully, the app will receive a string "hello world" and the device will play a tone music "网络连接成功".
**Note: If configurate fails, check the above process and try again. Be careful and patient!**
101
+
102
+
### Features experience
103
+
104
+
**Note that, please make sure that there is a speaker inserts to the board at least.**
105
+
106
+
#### Voice interaction
107
+
108
+
After configurate wifi information and connect to network, you can start a conversation with a voice wake-up word "xiaodu xiaodu", such as below supported command:
109
+
- "小度小度" "在呢" "讲个笑话"
110
+
- "小度小度" "在呢" "上海天气怎么样?"
111
+
- "小度小度" "在呢" "播放一首歌"
112
+
- "小度小度" "在呢" "百度百科乐鑫信息科技"
113
+
114
+
If you need more instructions, you can define them in the background of Baidu.
115
+
116
+
#### bluetooth music
117
+
118
+
Press `[MUTE]` button for 3-5s enter BT mode, open bluetooth on your phone and connect to device named "ESP_BT_COEX_DEV", and then you can play bt music on the device.
119
+
120
+
#### Buttons usage
121
+
Name of Button | Short press | Long press
122
+
:-:|:-:|:-:
123
+
VOL + | Volume up | NA
124
+
VOL - | Volume down| NA
125
+
MUTE | Enter mute mode |Enter/Exit BT mode
126
+
FUNC | NA |Setting Wi-Fi
127
+
128
+
## Build and flash
129
+
130
+
After the experience, it's time to build the example now! you can also add some features by yourself and then build it.
Please refer to [度家 AIOT 快速入门](https://cloud.baidu.com/doc/SHC/s/wk7bl9g8i) and apply for factory code (fc), product Key (pk), access key (ak) and secret key (sk) that should be then saved in `profiles/profile.bin`
38
139
39
140
### Menuconfig
40
141
@@ -44,9 +145,8 @@ Select the default sdkconfig for build
44
145
cp sdkconfig.defaults sdkconfig
45
146
```
46
147
47
-
## Build and Flash
48
-
49
148
### Build
149
+
50
150
You can use `GNU make` or `cmake` to build the project.
0 commit comments