The power of Machine Learning (ML) inside you microcontroller! This sample is a remake of the standard HelloWorld example from TensorFlowLite for Arduino. It demonstrated how a ML “model” can be used inside an ESP8266 mircocontroller with the help of Sming.

If you are not familiar with TensorFlow take a look at their documentation.


This sample can be compiled and run on a ESP8266 microcontroller or on the Host architecture. In order to compile it for ESP8266 you must use ESP Quick Toolchain. The ESP Quick Toolchain is more feature-complete and allows the compilation to run without many modifications to the original library.


SoC support

  • esp32

  • esp32c2

  • esp32c3

  • esp32s2

  • esp32s3

  • esp8266

  • host

  • rp2040