Saturday, October 15, 2016

Arduino MKR1000 and IoT

Arduino is the most used prototyping board (well, actually it is a family of boards) in the world, and I have to tell you that I’m proud that it has been designed in Italy.
Recently, Arduino has entered at great speed in the IoT world. One board that is really interesting is Arduino MKR1000 (MKR stands for Makers!). A very small board, with built-in WIFI, enough cheap.

I have bought one at Maker Faire 2016 (in Rome, obviously) and this evening, after some soldering, I have decided to give it a quick try.

Obviously, my first choice was to test if it is easy to send an MQTT message from MKR1000.

Well, I have to tell you that it has been really easy.

1. Use WIFI101 library
2. Use PubSubClient Library (by Knolleary) for Arduino (C/C++)
3. Use one example sketch from PubSubClient Library, slightly adapted
4. To make it simple, the MQTT broker used is Mosquitto, running on my MacBook.

Et Voila, it has worked.
I can go to eat something. I’m happy.
See you soon.

No comments:

Post a Comment