The paper discusses the features of solving a class of problems for pattern recognition using the STM-32 microcontroller. The problem of pattern recognition can be solved on neural networks of different architectures, the main attention is paid to the Hamming neural network model. The features of the implementation of the Hamming network based on the STM-32 microcontroller for the recognition of images entered via the touch screen are analyzed. It is experimentally shown that the network cannot always correctly process the input value and compare it with the reference value of the class for digital test images. This is due to the high degree of similarity of some images and the presence of noise. In conclusion, recommendations on the implementation of neural network algorithms for image processing on microcontrollers are given.