Content area

Abstract

This paper describes a real-time system for recognizing voice commands for resource-constrained embedded devices, specifically a PIC microcontroller. While most existing speech ordering support solutions rely on high-performance processing platforms or cloud computation, the system described here performs fully embedded low-power processing locally on the device. Sound is captured through a low-cost MEMS microphone, segmented into short audio frames, and time domain features are extracted (i.e., Zero-Crossing Rate (ZCR) and Short-Time Energy (STE)). These features were chosen for low power and computational efficiency and the ability to be processed in real time on a microcontroller. For the purposes of this experimental system, a small vocabulary of four command words (i.e., “ON”, “OFF”, “LEFT”, and “RIGHT”) were used to simulate real sound-ordering interfaces. The main contribution is demonstrated in the clever combination of low-complex, lightweight signal-processing techniques with embedded neural network inference, completing a classification cycle in real time (under 50 ms). It was demonstrated that the classification accuracy was over 90% using confusion matrices and timing analysis of the classifier’s performance across vocabularies with varying levels of complexity. This method is very applicable to IoT and portable embedded applications, offering a low-latency classification alternative to more complex and resource intensive classification architectures.

Details

1009240
Title
Embedded Implementation of Real-Time Voice Command Recognition on PIC Microcontroller
Author
Shili Mohamed 1   VIAFID ORCID Logo  ; Hammedi Salah 2   VIAFID ORCID Logo  ; Gawanmeh Amjad 3   VIAFID ORCID Logo  ; Nouri Khaled 4 

 Innov’COM Laboratory, National Engineering School of Cartahage, Ariana 2035, Tunisia; [email protected] 
 Networked Objects, Control, and Communication Systems (NOCCS), ENISo, University of Sousse, Sousse 4011, Tunisia; [email protected], Electrical Engineering Department, National School of Engineers of Monastir, Monastir 5000, Tunisia 
 College of Engineering and IT, University of Dubai, Dubai 14143, United Arab Emirates 
 Laboratory of Advanced Systems (LSA), Polytechnic School of Tunis, Al Marsa 2078, Tunisia; [email protected] 
Publication title
Automation; Basel
Volume
6
Issue
4
First page
79
Number of pages
23
Publication year
2025
Publication date
2025
Publisher
MDPI AG
Place of publication
Basel
Country of publication
Switzerland
Publication subject
e-ISSN
26734052
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-11-28
Milestone dates
2025-07-26 (Received); 2025-10-24 (Accepted)
Publication history
 
 
   First posting date
28 Nov 2025
ProQuest document ID
3286259160
Document URL
https://www.proquest.com/scholarly-journals/embedded-implementation-real-time-voice-command/docview/3286259160/se-2?accountid=208611
Copyright
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-12-24
Database
ProQuest One Academic