this  paper  described  the  methodology  followed  to 
deploy a computational model for a microcontroller 
from  Matlab
®
 to C++. The experimentation was 
carried  out  considering  a  one-class  SVM  classifier 
with  two  pattern  analysis  strategies  based  on  I/Q 
signals and RAW data from a RADAR  sensor. The 
tests over 81 scenes and 4050 chunks of data labelled 
achieved an AUC of 0.937 with an acceptable RAM 
consumption of 500 KB, processing time of  31-124 
milliseconds,  and  power  consumption  of  534-847 
mW for a Teensy 4.1 microcontroller. To this end, the 
experimentation compared the results considering an 
I7-3770K processor, Raspberry Pi Zero and a Teensy 
3.6 microcontroller.  
Regarding future works, the efforts are aimed  at 
improving the AUC of the PDAT strategy compared 
to the STFT (i.e., fix the overfitting with more scenes) 
due  to  the  advantage  of  the  lower  processing  time 
obtained with RAW data. We also consider applying 
automatic learning techniques to optimize/reduce the 
number of features of the targets utilized currently to 
classify. In addition, we plan the use of open-source 
tools (e.g., EmbML) as an alternative to Matlab
®
 to 
develop  different  machine  learning  classifiers  for 
resource-constrained hardware. 
ACKNOWLEDGEMENTS 
This paper was financed by the project “Improving 
Road  Safety  Through  Photoluminescent  Signaling 
and  Fog  Computing”  (ref.  P20_00113)  awarded  by 
the General Secretariat of Universities, Research and 
Technology  of  the  Andalusian  Plan  for  Research, 
Development and Innovation (PAIDI 2020). 
REFERENCES 
Aliev,  R.A.  (2013).  Fuzzy  sets  and  fuzzy  logic.  In 
Fundamentals of the Fuzzy Logic-Based Generalized 
Theory of Decisions. Springer, Berlin, Heidelberg, pp. 
1-64. 
Alowaidi, M. (2022). Fuzzy  efficient energy algorithm in 
smart home environment  using Internet  of  Things for 
renewable energy resources. Energy Reports, 8, 2462-
2471.  
Al Shalabi, L., Shaanban, Z., & Kasasbeh, B. (2006). Data 
Mining: A preprocessing engine. Journal of Computer 
Science, 2(9), 735-739. 
Amassmir, S., Tkatek, S., Abdoun, O., & Abouchabaka, J. 
(2022).  An  intelligent  irrigation  system  based  on 
Internet of thigns to minimize water loss. Indonesian 
Journal of Electrical Engineering and Computer 
Science, 25(1), 504-510.  
Balfaqih, M., Alharbi, S. A., Alzain, M., Alqurashi, F., & 
Almilad,  S.  (2022).  An  Accident  Detection  and 
Classification  System  Using  Internet  of  Things  and 
Machine Learning towards Smart City. Sustainability, 
14(1), 210.  
Buckley,  J.J.,  &  Hayashi,  Y.  (1994).  Can  approximate 
reasoning be consistent?. Fuzzy sets and systems, 65(1), 
13-18. 
Domínguez, J.M., Sanguino, T.J., Véliz, D.M., & de Viana 
González,  I.J.  (2020).  Multi-Objective  Decision 
Support System for Intelligent Road Signaling. In 15th 
Iberian Conference on Information Systems and 
Technologies, pp. 1-6. 
Gopinath,  S.,  Ghanathe,  N.,  Seshadri,  V.,  &  Sharma,  R. 
(2019). Compiling KB-sized machine learning models 
to tiny IoT devices. In 40th ACM SIGPLAN Conference 
on Programming Language Design and 
Implementation, pp. 79-95.  
Ibrahim, A.M. (2004). Embedded fuzzy applications. Fuzzy 
Logic for Embedded System Applications, 69-98.  
Lozano  Domínguez,  J.M.,  Al-Tam,  F.,  Mateo  Sanguino, 
T.J., & Correia, N.  (2021).  Vehicle Detection System 
for  Smart  Crosswalks  Using  Sensors  and  Machine 
Learning.  18th International Multi-Conference 
Systems, Signals & Devices, pp. 984-991.  
Lozano Domínguez, J.M., & Mateo Sanguino, T.J. (2018). 
Desing,  Modelling  and  Implementation  of  a  Fuzzy 
Controller  for  an  Intelligent  Road  Signaling  System. 
Complexity, article ID 1849527. 
Mamdani, E.H. (1977). Applications of fuzzy set theory to 
control  systems:  a  survey.  In  Fuzzy automata and 
decision processes.  Amsterdam:  North-Holland,  pp. 
77-88. 
Rahman,  H.,  Faruq,  M.O.,  Hai,  T.B.A.,  Rahman,  W., 
Hossain, M.M., Hasan, M., Islam, S., Moinuddin, M., 
Islam,  M.T.,  &  Azad,  M.M.  (2022).  IoT  enabled 
mushroom farm automation with Machine Learning to 
classify  toxic  mushrooms  in  Bangladesh.   Journal of 
Agriculture and Food Research, 100267. 
Raj, S. (2020). An efficient IoT-based platform for remote 
real-time  cardiac  activity  monitoring.  IEEE 
Transactions on Consumer Electronics,  66(2),  106-
114. 
Sankaranarayanan, S., & Mookherji, S. (2021). SVM-based 
traffic  data  classification  for  secured  IoT-based  road 
signaling  system. 
International Journal of Intelligent 
Information Technologies, 15(1), 22-50.  
Singla, M., & Shukla, K. K. (2020). Robust statistics-based 
support  vector  machine  and  its  variants:  a  survey. 
Natural Computing and Applications,  32(15),  11173-
11194. 
Sugamar  S.J.,  Sahana,  R.,  Phadke,  S.,  Prasad,  S.,  & 
Srilakshmi,  G.R.  (2021).  Real  Time  Water Treatment 
Plant  Monitoring  System  using  IoT  and  Machine 
Learning  Approach.  In  International Conference on 
Design Innovations for 3Cs Compute Communicative 
Control (ICDI3C), pp. 286-289. 
Zanella, A., Bui, N., Castellani, A., Vangelista, L., & Zorzi, 
M.  (2014).  Internet  of  things  for  smart  cities.  IEEE 
Internet of Things journal, 1(1), 22-32.