Empezando a trabajar con NB-IoT

Dentro del proyecto Sensoriza desde el grupo B105 hemos empezado a trabajar por primera vez con la tecnología Narrowband-IoT (NB-IoT).

NB-IoT es un estándar promovido por 3GPP que reutiliza una pequeña parte del espectro LTE. Por tanto, con un pequeño cambio en las estaciones base, proporciona el mismo alcance geográfico que la tecnología móvil 4G actual. La conectividad que proporciona es de muy bajo ancho de banda y baja tasa de datos, a la vez que ofrece una cobertura muy profunda llegando a lugares subterráneos o zonas rurales remotas. Por lo tanto está especialmente diseñada para dispositivos autónomos del mundo del internet de las cosas, como contadores inteligentes, alarmas, agricultura conectada, etc.

nbiotbands

Nuestro objetivo es dotar a las máquinas de conservación y mantenimiento de carreteras de un módulo NB-IoT mediante el que puedan transmitir la información recogida por sus sensores ambientales a un centro de control. Utilizando esta tecnología tendremos conectividad desde las carreteras de montaña remotas donde se realizan la mayor parte de actuaciones de vialidad invernal, lo que hasta ahora no era posible.

bc95

Como pasos iniciales estamos trabajando con dos módulos de dos fabricantes diferentes. En primer lugar tenemos un módulo BC95 de Quectel, que nos ha facilitado su distribuidor en España Monolitic. Por otro lado estamos utilizando una plataforma basada en Arduino que incorpora un módulo SARA-N211 de u-blox. Vodafone, que es la principal compañía telefónica que está implantando la tecnología NB-IoT en España, nos ha proporcionado dos tarjetas SIM para hacer pruebas de conexión con su red.

sara-n2

TFM: Implementation and integration of a chart engine oriented to Big Data and it’s application in domotics

IoT (Internet of Things) and Big Data are very relevant today, and they tend to appear together. This happens because the most accepted definition of of IoT is having a lot of wireless sensors generating data continuously. This requires having the infrastructure to be able to save all the data that is generated in databases. However, this presents a problem when doing queries, since queries in big databases (millions of samples) take a long time to finish. Reducing this time is the objective of the following project.

This project consists of a Web application (making it cross-platform) that allows management of a database using a simple user interface. It is also able to select a small sample of data (independently of the amount of data in the database) and plotting it. Finally, it can also be used to monitor live data. These last two functions are extremely useful in domotics, since the data that’s used in those applications (temperature, pressure) are very easy to interpret when plotted.

Captura representación gráfica
Screenshot of the webpage used to chart data

In order to carry out this project we used MongoDB, a NoSQL database. This type of databases have big advantages over traditional SQL databases when taking into account the type of data we are going to store, mainly faster speed and more flexibility. For the web server we used NodeJS, this way all the code written for this project is Javascript, both server-side, using ExpressJS to simplify the development, and client-side, using the native API calls for web manipulation present in most modern web browsers.

Lastly, one of the biggest advantages of our project is the ability to add data to the database sending a HTTP request to a certain URL. With this we can save any type of data from any sensor easily, the only requirement is having a node that supports IP in order to send the HTTP request, which is something very common nowadays.