Step 10: Build and Program the Application
In case of compilation errors, recheck the steps and build the project again.
You can repeat the different digits (between 0 to 9) drawing on the display to verify the digit recognition.
You successfully created a Digit Recognition Artificial AI/ML application on a SAM E51 Integrated Graphics and Touch Curiosity Evaluation Kit. Also, you observed that the application recognized handwritten digits (numbers 0 to 9) drawn on the display of the SAM E51 IGAT Curiosity Evaluation kit, and the result was displayed on the same display screen.
You have successfully created your first AI/ML application using MPLAB® Harmony v3 on the SAM E51 microcontroller. Your application used the TensorFlow model for convolutional neural network problems, Touch Libraries, Legato Graphic Libraries, System Services, and all the fundamental elements like PLIBs and drivers that go into building a real-time application. Your application successfully recognized handwritten digits (numbers 0 to 9), and the result was displayed on the display screen.
In this application, you used MPLAB Harmony Configurator (MCC) and the MPLAB Harmony v3 Framework to configure the SAM E51. You verified the clock configurator to set up the CPU clock and peripheral clocks. You configured several peripherals, drivers, and the Timer System Service. You also configured the Touch Library and designed Display Graphics on the Legato Graphics Composer. You used the Pin Configurator to set up the pins for Touch Display and several peripheral pins.
This tutorial provided you with the training of training a TensorFlow Machine Learning model and deploying it on an MCU for an AI/ML real-time application on a SAM E51 microcontroller with MPLAB Harmony v3 Framework. As a next step, you may customize this application and reconfigure some of the components used in this tutorial. You could also add new components (train a different model for another problem, MPLAB Harmony services, middleware components, drivers, etc.) to enhance this application to realize your end application.