Sunday, January 31, 2016

Raspberry PI Temperature Module

Reusing a Raspberry PI Model 1 and a sensor DHT 22, with a breadboard, I have implemented a simple Temperature Module that, through Ethernet Connectivity , can connect to my IOT Gateway and send temperature readings via MQTT messages.

The code, written in Python, is not so difficult.

In this video you can see the "HW". It is still in prototyping stage, next step is soldering and removing breadboard, to reduce the size.

https://youtu.be/r3S_ag_zRDw

Nice.

Tuesday, December 29, 2015

IoT Gateway

An important component in an IoT Architecture is an IoT Gateway.

A Gateway is an important link between the world of Things and Sensors (and actuators) and the world of Enterprise Applications.

Normally connected things don't have the computing capabilities to run complex computation. Very often they don't have too much networking capabilities, but they are the best components to link to the physical world.
To avoid to put too much burden on the Things, in terms of computational capabilities and in term of networking we need something in between. This is an IoT Gateway.

As a part of my IoT training, I'm investigating what kind of software you can run on a "Open Source" IoT gateway.
For now, I have decided that the best platform to run a gateway is Raspberry Pi 2.

This is the liste of the software that I have successfully run on it:
  • Mosquitto (MQTT) broker;
  • Node.js;
  • Node-Red;
  • MySQL;
  • Redis;
  • Python;
  • Oracle Edge Analytics
I think that the best messaging solution, to connect sensor nodes with the Gateway is MQTT, and Mosquitto broker seems to work perfectly.

Sunday, October 4, 2015

Friday, October 2, 2015

Learning Internet of Things

Well, in this fast-changing world learning new things (IoT things) is necessary.

IoT is always on my Radar for many reasons:
  • It is in the eye of many people and most probably it is there to stay;
  • It is a combination of Electronics and Programming, and I have always been interested in Electronics
  • It is "physical", not only software: something that once built you can touch;
I have started an interesting specialization on Coursera, and the first course have beeen completed. If everything goes well the Capstone is in the way for the beginning of new year.

 https://www.coursera.org/account/accomplishments/records/H3LX5AXNJ9

stay tuned.

Sunday, June 7, 2015

Openhab

Just a short post, to begin.

IoT is one of my favourite subject, even if it is rare that I have plenty of time, for playing with it.

This week-end I have started working with OpenHAB.
It is a nice project for Home Automation, with many many bindings for differnet products and technologies.

OpenHAB runtime works on almost any platfor where Java 8 is available and it is based on OSGI (cool).

I have tried it on my Macbook. I have treid MQTT binding, using Mosquitto as a broker. Works really well and in half an hour you can have it up&running.

But, I have problems with ther integration with my Sansung AirConditioner.
I have opened an issue on Openhab issue tracker... let's see hot i will proceed.

bye

Thursday, April 30, 2015

Learning How To Learn: my final work

One of the most interesting courses I have followed on Coursera is Learning How To Learn.
Really great and challenging.

At the end, as final assignement, I have prepared a presentation, with some exploration of the Learning Techniques that I have found most useful.

I have decided to share the presentation here... maybe someone is interested too.

Good (and not so good) habits for learning.


Monday, April 6, 2015

First Running Program

I have decided to return to train to run, seriously.
The goal is to return under 50' for a 10K run.

It won't be easy, especially because I have to manage my problems to the knee of my right leg.
I have decided to adopt the FIRST running method.
I'm reading a book, on my Kindle, and I'm taking all the relevant information from this book.

The First method focus more on quality than quantity.
  • Three quality run workouts per week
  • Two cross training sessions per week
  • Strength and stretching sessions to improve strength and flexibility

It won't be easy. From what I have read the rithm is high. I hope to be able to avoid problems to my knee. The key things to succeed should be:
  • Regular strength training (squat, etc)
  • Cross training sessions (I plan to use my Kettler Rowing Machine)
  • Stretching
I'll post my updates and progress.