# \#microcontroller

**URL:** https://discuss.ai.google.dev/tag/microcontroller/255.md

[Latest](https://discuss.ai.google.dev/latest.md) · [Categories](https://discuss.ai.google.dev/categories.md) · [Tags](https://discuss.ai.google.dev/tags.md)

---

## [Allways getting the same model output from a tflite micro model, regardless of the input?](https://discuss.ai.google.dev/t/allways-getting-the-same-model-output-from-a-tflite-micro-model-regardless-of-the-input/27302)

<div class="topic-metadata">

**Author:** [@Palettenbrett](https://discuss.ai.google.dev/u/Palettenbrett)\
**Replies:** 1\
**Last updated:** [June 20, 2025, 3:28pm UTC](https://discuss.ai.google.dev/t/allways-getting-the-same-model-output-from-a-tflite-micro-model-regardless-of-the-input/27302 "2025-06-20T15:28:09Z")

</div>

Hey there, i’m trying to run a CNN on an ESP32-S2 microcontroller, programming it trough the Arduino IDE. This model is quite simple. The input shape is (1,256,256,1) and the images are either filled with 0s or 1s. When…

---

## [Tensorflow lite for microcontroller in windows 10](https://discuss.ai.google.dev/t/tensorflow-lite-for-microcontroller-in-windows-10/31251)

<div class="topic-metadata">

**Author:** [@kang\_31](https://discuss.ai.google.dev/u/kang_31)\
**Replies:** 1\
**Last updated:** [October 4, 2024, 12:52pm UTC](https://discuss.ai.google.dev/t/tensorflow-lite-for-microcontroller-in-windows-10/31251 "2024-10-04T12:52:43Z")

</div>

Hi everyone :grin:, I want to use the Tensorflow Lite for Microcontrollers (TFLM) libraries on the Segger Embedded Studio (SES) IDE with a Nordic nrF5 board. I am forced to be on windows 10. Python, Tensorflow are ins…

---

## [Of "yamnet.tflite", microcontrollers and meows](https://discuss.ai.google.dev/t/of-yamnet-tflite-microcontrollers-and-meows/29689)

<div class="topic-metadata">

**Author:** [@gamename](https://discuss.ai.google.dev/u/gamename)\
**Replies:** 1\
**Last updated:** [August 9, 2024, 6:51am UTC](https://discuss.ai.google.dev/t/of-yamnet-tflite-microcontrollers-and-meows/29689 "2024-08-09T06:51:15Z")

</div>

Hi, I’m not sure where in this forum to ask my question, so bear with me. I have a python app that uses the “yamnet.tflite” file to identify cat sounds. Now I would like to migrate that functionality to a microcontrol…

---

## [Can the Arduino Nano Ble 33 Sense microcontroller run 2 machine learning models?](https://discuss.ai.google.dev/t/can-the-arduino-nano-ble-33-sense-microcontroller-run-2-machine-learning-models/24973)

<div class="topic-metadata">

**Author:** [@JUSUF\_JULIANTO](https://discuss.ai.google.dev/u/JUSUF_JULIANTO)\
**Replies:** 1\
**Last updated:** [June 24, 2024, 9:56am UTC](https://discuss.ai.google.dev/t/can-the-arduino-nano-ble-33-sense-microcontroller-run-2-machine-learning-models/24973 "2024-06-24T09:56:30Z")

</div>

hello everyone, I’m still new to this project. I have a project that requires making 2 machine learning models on 1 Arduino Nano Ble 33 Sense. What I am asking is whether it is possible to run 2 machine learning models …

---

## [Multiclass Classification Model on Arduino rev sense2](https://discuss.ai.google.dev/t/multiclass-classification-model-on-arduino-rev-sense2/28167)

<div class="topic-metadata">

**Author:** [@Arshdeep\_Singh\_1](https://discuss.ai.google.dev/u/Arshdeep_Singh_1)\
**Replies:** 0\
**Last updated:** [March 18, 2024, 2:17am UTC](https://discuss.ai.google.dev/t/multiclass-classification-model-on-arduino-rev-sense2/28167 "2024-03-18T02:17:35Z")

</div>

Hi, I am trying to run a multiclass classification model on my arduino ble rev sense 2 but dring inference I am getting nan or some times it overflows sometimes its the largest possible float value(overflow) again. So …

---

## [How do i input a 2D-matrix into a quantified Tensorflow Lite model on microcontrollers?](https://discuss.ai.google.dev/t/how-do-i-input-a-2d-matrix-into-a-quantified-tensorflow-lite-model-on-microcontrollers/27349)

<div class="topic-metadata">

**Author:** [@Palettenbrett](https://discuss.ai.google.dev/u/Palettenbrett)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 7:04am UTC](https://discuss.ai.google.dev/t/how-do-i-input-a-2d-matrix-into-a-quantified-tensorflow-lite-model-on-microcontrollers/27349 "2024-02-20T07:04:22Z")

</div>

Hello Tensorflow Team, i want to put acceleration and gyroscope sensordata into a full int8 quantified neural network. All this should run on an ESP32 microcontroller and i use the Arduino IDE 2.0.2. The data the sensor…

---

## [Tensorflow inference in pure python](https://discuss.ai.google.dev/t/tensorflow-inference-in-pure-python/28969)

<div class="topic-metadata">

**Author:** [@Theo\_Benge](https://discuss.ai.google.dev/u/Theo_Benge)\
**Replies:** 1\
**Last updated:** [December 21, 2023, 9:42am UTC](https://discuss.ai.google.dev/t/tensorflow-inference-in-pure-python/28969 "2023-12-21T09:42:44Z")

</div>

Hello! I am trying to recreate the inference part of my model-the quantized math- to recreate on an microcontroller. I can’t use normal methods. Any tips for figuring out which implementation I gotta use? Also, I am …

---

## [Using tensorflow runtime on raspberry pi 4B](https://discuss.ai.google.dev/t/using-tensorflow-runtime-on-raspberry-pi-4b/27878)

<div class="topic-metadata">

**Author:** [@Constantin\_Cedillo\_V](https://discuss.ai.google.dev/u/Constantin_Cedillo_V)\
**Replies:** 1\
**Last updated:** [November 22, 2023, 11:48am UTC](https://discuss.ai.google.dev/t/using-tensorflow-runtime-on-raspberry-pi-4b/27878 "2023-11-22T11:48:52Z")

</div>

Hi everyone. I am trying to build an image classification AI that classifies the different types of trash. For this I am using a Raspberry pi 4 B and a Raspberry Pi camera model 3. I have trained my AI model on Google cl…

---

## [Can we run TFLite Micro models on Nicla Sense ME board?](https://discuss.ai.google.dev/t/can-we-run-tflite-micro-models-on-nicla-sense-me-board/29485)

<div class="topic-metadata">

**Author:** [@hkayan](https://discuss.ai.google.dev/u/hkayan)\
**Replies:** 1\
**Last updated:** [August 3, 2023, 6:52pm UTC](https://discuss.ai.google.dev/t/can-we-run-tflite-micro-models-on-nicla-sense-me-board/29485 "2023-08-03T18:52:15Z")

</div>

Nicla Sense ME has an ARM CPU but not in the list of supported microcontrollers? So, I am curious if we can run TinyML examples on it.

---

## [Generate tensorflow lite c library in macos m2](https://discuss.ai.google.dev/t/generate-tensorflow-lite-c-library-in-macos-m2/31448)

<div class="topic-metadata">

**Author:** [@GiaHuy\_Nguyen](https://discuss.ai.google.dev/u/GiaHuy_Nguyen)\
**Replies:** 0\
**Last updated:** [July 21, 2023, 4:36am UTC](https://discuss.ai.google.dev/t/generate-tensorflow-lite-c-library-in-macos-m2/31448 "2023-07-21T04:36:00Z")

</div>

Hello, I want to generate tensorflow lite c libarary for cross-compiling on esp32. I following this instruction: Build TensorFlow Lite with CMake. When come to cmake --build . My mac run to 94% and freezed and restar…

---

## [Port of TensorFlow Lite Micro (TFLM) to the MSP430 FR5994](https://discuss.ai.google.dev/t/port-of-tensorflow-lite-micro-tflm-to-the-msp430-fr5994/30538)

<div class="topic-metadata">

**Author:** [@ahmed\_abdelmouleh](https://discuss.ai.google.dev/u/ahmed_abdelmouleh)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 12:21pm UTC](https://discuss.ai.google.dev/t/port-of-tensorflow-lite-micro-tflm-to-the-msp430-fr5994/30538 "2023-07-18T12:21:58Z")

</div>

I have a model with 12 kbyte size as .tflite model , how is it possible to deploy it in the microcontroller MSP430 FR5994

---

## [Input\_tensor very is a very large int](https://discuss.ai.google.dev/t/input-tensor-very-is-a-very-large-int/31562)

<div class="topic-metadata">

**Author:** [@WelshWiz](https://discuss.ai.google.dev/u/WelshWiz)\
**Replies:** 0\
**Last updated:** [July 17, 2023, 4:54am UTC](https://discuss.ai.google.dev/t/input-tensor-very-is-a-very-large-int/31562 "2023-07-17T04:54:30Z")

</div>

Hello Community! This post may be similar to this post, but there was no solution to this post. I created a Keras model using the transfer learning tutorial. I then used the quantization and converter from the TinyML B…

---

## [Is there a case of applying tensorflow-lite for microcontrollers to atmega128?](https://discuss.ai.google.dev/t/is-there-a-case-of-applying-tensorflow-lite-for-microcontrollers-to-atmega128/26061)

<div class="topic-metadata">

**Author:** [@sclee98](https://discuss.ai.google.dev/u/sclee98)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 9:30am UTC](https://discuss.ai.google.dev/t/is-there-a-case-of-applying-tensorflow-lite-for-microcontrollers-to-atmega128/26061 "2023-05-02T09:30:27Z")

</div>

Hi, I’m seokchae, student in korea. Is there a case of applying tensorflow-lite for microcontrollers to Atmega128??

---

## [Tensorflow lite for microcontroller in C project](https://discuss.ai.google.dev/t/tensorflow-lite-for-microcontroller-in-c-project/32219)

<div class="topic-metadata">

**Author:** [@kang\_31](https://discuss.ai.google.dev/u/kang_31)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 1:49pm UTC](https://discuss.ai.google.dev/t/tensorflow-lite-for-microcontroller-in-c-project/32219 "2023-04-06T13:49:23Z")

</div>

Hi everyone, I would like to use the tensorflow lite for microcontroler library on a mcu nordic. I already have a c project. So I compiled tflite\_micro\_main\\tensorflow\\lite\\micr\\tools\\makefile. I got the library in a …

---

## [Interpreter output returns NAN on arduino](https://discuss.ai.google.dev/t/interpreter-output-returns-nan-on-arduino/31341)

<div class="topic-metadata">

**Author:** [@Mawadda](https://discuss.ai.google.dev/u/Mawadda)\
**Replies:** 0\
**Last updated:** [April 10, 2023, 2:32am UTC](https://discuss.ai.google.dev/t/interpreter-output-returns-nan-on-arduino/31341 "2023-04-10T02:32:05Z")

</div>

we have tried invoking the interpreter in python and it works fine, however, deploying the model in arduino nano 33 ble returns all NAN without an error message here’s the code i’ve tried different data array but didn’t…

---

## [Microcontroller\_tflite](https://discuss.ai.google.dev/t/microcontroller-tflite/28547)

<div class="topic-metadata">

**Author:** [@Rishab\_Kulkarni](https://discuss.ai.google.dev/u/Rishab_Kulkarni)\
**Replies:** 1\
**Last updated:** [March 7, 2023, 3:42pm UTC](https://discuss.ai.google.dev/t/microcontroller-tflite/28547 "2023-03-07T15:42:18Z")

</div>

How to build a complete file structure for deploying it to micro controller?

---

## [Tensorflolite for microcontrollers](https://discuss.ai.google.dev/t/tensorflolite-for-microcontrollers/28742)

<div class="topic-metadata">

**Author:** [@Rishab\_Kulkarni](https://discuss.ai.google.dev/u/Rishab_Kulkarni)\
**Replies:** 3\
**Last updated:** [February 20, 2023, 11:31am UTC](https://discuss.ai.google.dev/t/tensorflolite-for-microcontrollers/28742 "2023-02-20T11:31:17Z")

</div>

How to deploy tensorflowlite model on micro controller?

---

## [Quantization i n c r e a s e a s size of the file](https://discuss.ai.google.dev/t/quantization-i-n-c-r-e-a-s-e-a-s-size-of-the-file/28688)

<div class="topic-metadata">

**Author:** [@Franciszek\_Nowak](https://discuss.ai.google.dev/u/Franciszek_Nowak)\
**Replies:** 0\
**Last updated:** [December 7, 2022, 4:45pm UTC](https://discuss.ai.google.dev/t/quantization-i-n-c-r-e-a-s-e-a-s-size-of-the-file/28688 "2022-12-07T16:45:52Z")

</div>

Hello there, I am now learning TFLite (using a book ,TinyML: Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers") and I have a problem with quantization. It increases the size of my f…

---

## [TF Lite for Cortex M7/M55](https://discuss.ai.google.dev/t/tf-lite-for-cortex-m7-m55/29650)

<div class="topic-metadata">

**Author:** [@Jack\_Daniels](https://discuss.ai.google.dev/u/Jack_Daniels)\
**Replies:** 4\
**Last updated:** [September 29, 2022, 7:20pm UTC](https://discuss.ai.google.dev/t/tf-lite-for-cortex-m7-m55/29650 "2022-09-29T19:20:11Z")

</div>

Hello guys, I’d like to ask if there is TF Lite available for microcontrollers (aka ARM Cortex M7, ARM Cortex M55). If not, what does not-allow to have TF-Lite even for Cortex M7, ARM Cortex M55 fast-clocked cores in G…

---

## [On-Device Training with TensorFlow Lite for Microcontrollers](https://discuss.ai.google.dev/t/on-device-training-with-tensorflow-lite-for-microcontrollers/32101)

<div class="topic-metadata">

**Author:** [@Jack\_Daniels](https://discuss.ai.google.dev/u/Jack_Daniels)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 10:58am UTC](https://discuss.ai.google.dev/t/on-device-training-with-tensorflow-lite-for-microcontrollers/32101 "2022-09-22T10:58:46Z")

</div>

There is a colab example (code snippet) about On-Device Training with TensorFlow Lite so I wonder if there is such example for TensorFlow Lite Micro as well. Is it possible to use this feature On-Device Training within …

---

## [Tinyml on which microconroller?](https://discuss.ai.google.dev/t/tinyml-on-which-microconroller/27933)

<div class="topic-metadata">

**Author:** [@Ho3ein\_H\_K](https://discuss.ai.google.dev/u/Ho3ein_H_K)\
**Replies:** 1\
**Last updated:** [February 14, 2022, 5:36am UTC](https://discuss.ai.google.dev/t/tinyml-on-which-microconroller/27933 "2022-02-14T05:36:59Z")

</div>

Hi all I have become acquainted recently with tinyml and i see most project done with Assembled boards like arduino sparkfun esp ,… that based on microcontroller . so my question is that is it possible to do…

---

## [Scaling sensor data on the device](https://discuss.ai.google.dev/t/scaling-sensor-data-on-the-device/21469)

<div class="topic-metadata">

**Author:** [@Adrian\_Chapman](https://discuss.ai.google.dev/u/Adrian_Chapman)\
**Replies:** 1\
**Last updated:** [June 1, 2021, 1:04pm UTC](https://discuss.ai.google.dev/t/scaling-sensor-data-on-the-device/21469 "2021-06-01T13:04:28Z")

</div>

I’m working on running ML models from TF on microcontrollers. For scaling the data: Is there a way getting the calculated values for ‘mean’ and ‘std’ from the StandardScaler? Or is there an easy way of scaling my sensor …
