Digit Recognition AI/ML Application on SAM E51 IGAT Curiosity Evaluation Kit Using MPLAB® Harmony v3: Step 10
Build and Program the Application
Clean and build your application by clicking on the Clean and Build icon.
The scores for the corresponding 10 digits (indexes) will be displayed on the Tera-Term as shown.
You can repeat the different digits (between 0 to 9) drawing on the display to verify the digit recognition.
Results
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.
Analysis
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.
Conclusions
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.