Skip to content

Arduino IDE

UNIHIKER K10 with Arduino IDEยถ

The Arduino IDE is a software tool used for programming, compiling, and uploading code to microcontroller boards. It provides a simple and user-friendly interface that allows developers to write, edit, and debug code using the Arduino programming language (based on C/C++). In this tutorial, we will guide you through the process of downloading Arduino IDE and installing UNIHIKER K10 BSP on your computer.
Arduinnoide

Download Arduino IDEยถ

Download
Download from Arduino Download

Note

UNIHIKER K10 now fully supports all versions of Arduino IDE since BSP version 0.0.2

Install Arduino IDE BSPยถ

Note

When installing BSP in Arduino IDE V2.3.x, you may encounter the following error:
Failed to install platformUNIHIKER:0.0.x
4 DEADLINE EXCEEDED net/http:request cancelled
(Client timeout or contect cancellation while reading body)

You can refer to this Arduino Forum Topic for a solution.

  • UNIHIKER K10 will appear in your Arduino IDE
    image.png

Note

The Arduino IDE BSP for UNIHIKER K10 is still in beta (development), there may be some bugs. If you find a bug, you can send an email to the UNIHIKER team and we will fix it as soon as possible.
Email: unihiker@dfrobot.com

Serial Setupยถ

Like any other ESP32-S3 based dev board. The serial of Unihiker K10 is not automatically mapped to the USB-C port by default.
Enable Tools->USB CDC on Boot before uploading Arduino code. Then you can view data in the Serial Monitor. image.png

Voice Recgonition Model Setupยถ

The UNIHIKER K10โ€™s voice recognition feature relies on the deviceโ€™s built-in voice recognition model. Due to the large size of the model, only one language model can be flashed to the K10 at a timeโ€”the English and Chinese models cannot be flashed simultaneously. You can select the model to flash via Arduino IDE โ†’ Tools โ†’ Model. When you choose either the English (EN) or Chinese (CN) model and upload your program, the selected model will be flashed to the K10 together with your main program.

UNIHIKER K10 units sold in mainland China come with the Chinese recognition model pre-installed, while units sold in other regions come with the English recognition model pre-installed. If you do not need to change the pre-installed model, simply select "None" for the Model option. image.png

Arduino Exampleยถ

Click to the Arduino Example.