Microcontrollers are not suitable to develop and train machine learning models. The resources are just not sufficient for this, but it is possible to use and deploy pre-trained models!

I have added a simplified Tensorflow hallo world example where the model has been trained on the sin function, to my Pico-Arduino framework.

The solution consists of only 3 implementation files:

  • tf_hallo_world.cpp contains the Arduino sketch
  • tf_hallo_world_model.h contains the (binary) trained model.
  • CMakeLists.txt is used to download Tensorflow with the help of FetchContent and build the source file

Further information can be found in the official documentation…

Categories: ArduinoPico


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *