Maker Pro
NXP FRDM

Automatic Control System Using FRDM-i.MX93 and TensorFlow LiteOverview

JE
October 15, 2025 by Jonathan Eivar
 
Share
banner

This project presents an automatic fruit classification and movement control system based on the NXP FRDM-i.MX93 development board. The system uses TensorFlow Lite to classify fruits in real time through a USB camera connected to the board’s Linux environment. Once a fruit is recognized, the platform automatically rotates a stepper motor (28BYJ-48)

Content goes hereNXP FRDM-i.MX93 development board


  • Dual-core Arm® Cortex®-A55 + Cortex®-M33 architecture


  • NPU (Neural Processing Unit) for accelerating machine learning inference


  • HDMI output for video monitoring


  • USB host port for camera connection


USB Camera


ULN2003 driver board


28BYJ-48 stepper motor


12 V power supply

materials


  • TensorFlow / TensorFlow Lite
  • OpenCV (Python 3.10)
  • Jupyter or Terminal (for testing)
  • Linux environment on FRDM-i.MX93

System Operation

  1. The user first trains a Convolutional Neural Network (CNN) model in TensorFlow using a fruit dataset.
  2. The trained model is converted to TensorFlow Lite (.tflite) format for deployment on the FRDM-i.MX93.
  3. The Python script runs on the board, activating the USB camera to capture frames in real time.
  4. The model performs inference to identify the fruit type (e.g., apple, banana, orange, strawberry, etc.).
  5. The system repeats the process automatically.
  6. The system repeats the process automatically.
  7. The results are displayed in real time through HDMI output on an external monitor.


folder structure

  • TensorFlow / TensorFlow Lite
  • OpenCV (Python 3.10)
  • Jupyter or Terminal (for testing)
  • Linux environment on FRDM-i.MX93

Connections

FRDM-i.MX93 Pin

ULN2003 Input

Function

GPIO_17

IN1

Step 1

GPIO_27

IN2

Step 2

GPIO_22

IN3

Step 3

GPIO_23

IN4

Step 4

5v

VCC

Power for ULN2003

GND

GND

Common ground

Test

Possible Improvements

  • Content goes Replace the USB camera with a higher-performance MIPI or NXP camera, such as the NXP eIQ Camera Module, for faster frame capture and better image quality.
  • Implement a GUI-based control using PyQt or Tkinter for manual override or calibration.
  • Integrate the system with a conveyor belt for industrial fruit sorting.
  • Add cloud connectivity via MQTT or Edge Impulse integration for data storage and analytics.

Conclusion

The FRDM-i.MX93 development board is ideal for this project thanks to its dual-core heterogeneous architecture (A55 + M33), integrated NPU and advanced multimedia interfaces, connectivity, GPIO pins and compatibility with HDMI, USB, with all these features you will avoid using multiple development boards since this one has everything you need.

Related Content

Comments


You May Also Like