TinyML on Arduino using Edge Impulse

TinyML on Arduino using Edge Impulse

Introduction

Edge Impulse is a platform that allows us to build projects related to machine learning on microcontrollers. This tutorial will be divided into a few parts, and we will update accordingly.

Part 1 - Link the board to Edge Impulse

Hardware Preparation

This is the list of items used in the video.

Part 2 - Data acquisition

 

*Note: I'm having a problem where the microphone on the Arduino board doesn't seem to record after more than 2 attempts. If you are having the same problem, try to reset the Arduino board, and reconnecting to the Edge Impulse.

Part 3 – Train ML Model

In part 3, we will train the ML model based on the data that we collected before. Later we will deploy on the Arduino board.

 

Part 4 – Control LED color with voice

In part 4, we will program the Arduino board based on the trained ML model. Then we will edit the program to control the LED color using voice.

 

Sample Program

This is the sample program for Arduino to control LED color using voice.

 

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."

Related Products


Related Posts

Introduction to Edge Impulse

Introduction to Edge Impulse

Edge Impulse guides embedded machine learning, helping developers optimize solutions with real-world data. It speeds up deployment, benefiting various industries...
Voice Recognition with Edge Impulse Using Computer Application

Voice Recognition with Edge Impulse Using Computer Application

Edge Impulse empowers computer devices to function in their surroundings. In this setup, the computer serves as the primary tool for gathering data and deploying machine learning models...
Object Classification with Edge Impulse Using Raspberry Pi 4 and Camera Module

Object Classification with Edge Impulse Using Raspberry Pi 4 and Camera Module

Raspberry Pi 4 seamlessly integrates with Edge Impulse, a versatile Linux board supporting the easy addition of a microphone or camera for efficient object classification projects...
Edge Impulse with Mobile Phone Application Using Accelerometer

Edge Impulse with Mobile Phone Application Using Accelerometer

Edge Impulse supports mobile devices, allowing the implementation of machine learning models directly on phones. This project emphasizes using the built-in accelerometer sensor in the phone...
Edge Impulse with Raspberry Pi Pico Application Using ADC Light Sensor

Edge Impulse with Raspberry Pi Pico Application Using ADC Light Sensor

Edge Impulse has the ability to interface with the Raspberry Pi Pico device, equipped with the RP2040 chip. In this project, data is gathered using the light sensor to measure light intensity...
Edge Impulse with Raspberry Pi Pico Application Using Ultrasonic Sensor

Edge Impulse with Raspberry Pi Pico Application Using Ultrasonic Sensor

Edge Impulse now supports devices with the RP2040 chip. The project uses the Raspberry Pi Pico with the RP2040 chip to create an ultrasonic ranger for distance measurement...
Object Detection with Edge Impulse Using Mobile Phone

Object Detection with Edge Impulse Using Mobile Phone

Edge Impulse enables the creation of an object detection project on a mobile device. Utilising the smartphone's camera, this project gathers data and constructs a machine learning model...