[Holiday Notice] Please be informed that our office will be closed on September 16 in observance of a public holiday. Kindly note that all orders placed after 12:00 PM (GMT +8) on September 13 will be processed on September 17. Thank you for your understanding, and we apologize for any inconvenience caused.
Edge Impulse with Mobile Phone Application Using Accelerometer

Edge Impulse with Mobile Phone Application Using Accelerometer

Introduction

As the mobile phone is compatible with Edge Impulse, it serves as the primary device for this project. The project utilizes an accelerometer, a device that measures motion or acceleration in a structure, as it is widely available on mobile phones. The goal is to measure the phone's motion and create a model that can identify these movements.

 

Hardware Requirement

  • Mobile phone

 

Project Development

To create the project on Edge Impulse using a mobile phone device, it is crucial to consider seven necessary stages: 

 

1. Device

  • Set up the mobile device by scanning the QR code to connect to the phone.

 

  • Scan the QR code, and the website will guide you to the designated page. Ensure the message "Connected as..." is shown, confirming successful linkage between the mobile device and Edge Impulse.

 

2. Data Acquisition

  • The sensor type of accelerometer is chosen from the list and the sample length can be adjusted on the same page.  

 

  • When the “Start sampling” is clicked, the data for the motion of the mobile phone is recorded. For example, the motions of “up&down, shake, flip” are considered in this case.

 

  • Modify the data type by changing its "label". Then, the data collected is uploaded and saved to the same data acquisition page.

 

3. Impulse Design

  • The data can be graphically represented, whether in a chart or a table, but the impulse or feature must be produced and set up first by selecting them from the recommended list. For example, two block models must be set up: the processing block and the learning block. (The number of each block model relies on your requirements)

Note:  Remember to save the created impulse

 

  • Each created impulse must be accessed and trained independently.

  

 

 

 

 

4. Retrain Model

  • The model can undergo retraining with known parameters using the retrain model feature.

 

5. Live Classification

  • The live classification category, also referred to as the test data stage, enables users to move the phone for collecting and classifying test data by clicking "Start sampling". Ensure to label each test data with the expected outcome.

 

6. Model Testing 

  • Model testing helps represent the test data using graphical charts. After the testing, you can observe the output using the provided chart.

 

7. Deployment

  • Scan the QR code to launch your building model on the mobile phone device.

 

  • Move your mobile phone actively while sampling, and the result will be displayed on the same page.

 

Tutorial Video

This tutorial video clearly shows the entire project development.


Related Posts

TinyML on Arduino using Edge Impulse

TinyML on Arduino using Edge Impulse

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.....
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 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...