CategoryArduino Machine learning

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

How to do Iris classification through machine learning on Arduino

In this first tutorial from the series Arduino Machine learning we're going to implement the "Hello world" of Machine learning projects: classifying the Iris dataset on an Arduino board. The Iris dataset is a well known one in the Machine learning world and is often used in introductory tutorials about classification.
In this tutorial we're going to run the classification directly on a Arduino Nano board (old generation), equipped with 32 kb of flash and only 2 kb of RAM: that's the only thing you will need!

Continue reading

How to deploy an Arduino Machine learning classifier in 4 easy steps

Are you getting started with Machine learning on Arduino boards? Do you want to run the model you trained in Python into any C++ project, be it Arduino, STM32, ESP32?

In this tutorial I'll show you how easy it is: we'll go from start to end in just 4 easy steps!

Continue reading

You can run Machine learning on Arduino. And any other MCU out there too!

A lot of forum threads ask about the possibility to run Machine learning on Arduino.
The answers mostly follow in one of these 3 categories:

  1. Arduino is too resource-constrained to handle Machine learning
  2. Come up with a naive implementation of a Multi Layer Perceptron
  3. (recently) Sure! You can use Tensorflow Lite for Microcontrollers

No single answer I read talked about the other 100s alghoritms that fall under the Machine learning umbrella. No. Single. One. Let me explain what I think is wrong with this.

Continue reading