Beginners guide for the science of intelligent machines

Intelligence is the ability to adapt to change.

Intelligent machines are everywhere.
We are living in an era where cars move autonomously around our cities, intelligent home speakers help us with housework, vacuum robots clean our rooms, and so on.
But, what do all these machines have in common?
They emulate human thought and actions.

What is Machine Learning?

Machine Learning (ML) is a discipline that studies how to build computer systems able to do predictions based on experience.

Let’s suppose that you want to create a vacuum cleaner robot that cleans your home and it is able to recognize your pet so it…


A survival guide in the modern “jungle” of electric mobility

Talent is like electricity. We do not understand electricity. We use it.

In 2020 sales of electric vehicles represented 4.2% of the global car market and it is estimated that in 2021 the EV market will double.

But are these vehicles all the same? No!
There are different types of electric vehicles which differ for degrees of “electrification”.

Car manufacturers use terms such as hybrid, plug-in, full hybrid, etc. to advertise their electric vehicles.

But, what do all these terms mean?
In this article we will clarify this “chaos”.

…Let’s start with some basic concepts.

What is an Electric Vehicle (EV)?

An Electric Vehicle (EV) is…


Cloud — Getting started with MQTT

IOT is like teenage sex: everyone talks about it, nobody really knows how to do it.

In the Part II of this series, I’ve explained how to build an Android app that uses BLE (Bluetooth Low Energy) to communicate with a Smart Thermostat.

Smart Thermostat is an IOT device based on Arduino hardware platform. Read Part I for more details about it.

In this article, I will describe how to send temperature data to a Cloud system and display them in an intuitive way on a web dashboard.

This project will be finished after having integrated (within the Android app…


How to develop an MQTT Client with Android

Simplicity is the keynote of all true elegance

MQTT stands for Message Queuing Telemetry Transport and it is a powerful messaging transport protocol mostly used in Machine to Machine (M2M) and Internet of Things (IoT) communication contexts.
MQTT is preferred in these contexts, because it’s easy to implement and it’s a perfect fit for devices with limited resources.

But, why not taking advantage of these pros and using it also in smartphones?

In this article, we’ll develop an Android mobile application that uses MQTT protocol.


Mobile Application — Getting started with Android

IOT is like teenage sex: everyone talks about it, nobody really knows how to do it.

In my previous article, I’ve talked about how to build an IOT gadget using Arduino.
Now, it’s time to let the gadget communicate with the smart devices world (Smartphone, Tablet, etc.). I chose the BLE (Bluetooth Low Energy) as communication channel.

Read Part I of this mini-series to know more about Bluetooth Low Energy fundamentals.

BLE is the best way to communicate few data in a short range with a Smartphone. For this reason, most common IOT devices (e.g., Smartwatch) use Bluetooth.

In this…


What is Digital Contact Tracing and how it works

Every day we give our data to big tech companies, why not giving it now for a good cause?

Contact tracing is a process used by health system to identify how many people have gotten in contact with an infected person in a specific period of time.

In short, when you feel sick and you go to a hospital, if doctor’s diagnosis says that you’re infected by an epidemic disease, hospital informs the government about it and the hospital asks you to fill a ‘’survey’’. This ‘’survey’’ is a list of people you have met recently. …


Hardware — Getting started with Arduino Nano 33 BLE Sense

IOT is like teenage sex: everyone talks about it, nobody really knows how to do it.

IOT = Internet Of Things
In short, giving telecommunication capabilities to things that in the past didn’t have it. For example: watches, thermostats…
But don’t get confused! Internet, in this context, stands for capability to interact with other devices using a telecommunication channel, not surfing the web.

In this mini-series, we’ll develop a simple IOT gadget: a Smart Thermostat.
This smart “Thing” will comunicate over Bluetooth connection (the “Internet”) with an Android mobile application.

Let’s start!

What is Bluetooth Low Energy (aka BLE)?

Bluetooth is a wireless short-range technology, widely used…

Leonardo Cavagnis

Passionate Embedded System Engineer, IOT Enthusiast and Smart Mobility addicted.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store