Tagmicroml

How to train a IRIS classification Machine learning classifier directly on your Arduino board

In this hands-on guide about on-board SVM training we're going to see a classifier in action, training it on the Iris dataset and evaluating its performance.

Continue reading

So you want to train an ML classifier directly on an Arduino board?

As of now, we know it is possible to run Machine learning inference on tiny microcontrollers thanks to Tensorflow for Micro and my very own library MicroML. What if you could train a classifier directly on the microcontroller, too?

Onboard IRIS dataset training time

Continue reading

Handwritten digit classification with Arduino and MicroML

We continue exploring the endless possibilities on the MicroML (Machine Learning for Microcontrollers) framework on Arduino and ESP32 boards: in this post we're back to image classification. In particular, we'll distinguish handwritten digits using an ESP32 camera.

Arduino handwritten digit classification

Continue reading

Apple or Orange? Image recognition with ESP32 and Arduino

Do you have an ESP32 camera?

Want to do image recognition directly on your ESP32, without a PC?

In this post we'll look into a very basic image recognition task: distinguish apples from oranges with machine learning.

Apple vs Orange

Continue reading

Embedded Machine learning on Attiny85

You won't believe it, but you can run Machine learning on embedded systems like an Attiny85 (and many others Attiny)!

ri-elaborated from https://cyaninfinite.com/miniaturize-projects-with-attiny85/

Continue reading

Word classification using Arduino and MicroML

In this Arduno Machine learning tutorial we're going to use a microphone to identify the word you speak.
This is going to run on an Arduino Nano (old generation), equipped with 32 kb of flash and only 2 kb of RAM.

from https://www.udemy.com/course/learn-audio-processing-complete-engineers-course/

Continue reading

Wifi indoor positioning using Arduino and Machine Learning in 4 steps

In this Arduno Machine learning project we're going to use the nearby WiFi access points to locate where we are. For this project to work you will need a Wifi equipped board, such as ESP8266 or ESP32.

Wifi indoor positioning @ ri-elaborated from https://www.accuware.com/blog/ambient-signals-plus-video-images/

Continue reading

How to do Gesture identification through machine learning on Arduino

In this Arduno Machine learning project we're going to use an accelerometer sensor to identify the gestures you play.
This is a remake of the project found on the Tensorflow blog. We're going to use a lot less powerful chip in this tutorial, tough: an Arduino Nano (old generation), equipped with 32 kb of flash and only 2 kb of RAM.

Decision boundaries, 99% accuracy

Continue reading

Morse alphabet identification on Arduino with Machine learning

In this Arduno Machine learning project we're going to identify the letters from the Morse alphabet.
In practice, we'll translate dots (•) and dashes (‒) "typed" with a push button into meaningful characters.
In this tutorial we're going to target an Arduino Nano board (old generation), equipped with 32 kb of flash and only 2 kb of RAM.

Continue reading

How to do color identification through machine learning on Arduino

In this Arduno Machine learning project we're going to use an RGB sensor to identify objects based on their color.
This is a remake of the project found on the Tensorflow blog. We're going to use a lot less powerful chip in this tutorial, tough: an Arduino Nano (old generation), equipped with 32 kb of flash and only 2 kb of RAM.

Continue reading