📜 ⬆️ ⬇️

Welcome to the IoT hackaton from Mail.Ru Group and Intel July 30–31



Intel and Mail.Ru Group invite everyone to take part in the hackathon dedicated to the Internet of things. Hackathon will be held at the Mail.Ru Group office in Moscow on July 30–31, 2016.

The Internet of Things not only brings new opportunities, but also sets new challenges. Today we are used to answering questions on how to store data, which protocol is better to choose, etc. But tomorrow these questions will be added to others: what data to collect, how to read, display, synchronize, how to remotely control the device, how to make a fault-tolerant solution from a cluster of IoT devices.
')
We kindly invite you to think about such issues at the hackathon: find unique ways to solve industrial, business and everyday problems using Intel Edison and Tarantool platforms. And we will provide all the conditions and opportunities to create something new!

What do you need to participate?


The main thing is the idea of ​​an IoT solution that you are ready to implement, or a prototype that can be modified. You do not need to know how to cook Intel Edison or Tarantool - we will teach this.

Each team will be provided with the Intel IoT Dev Kit Developer Kit, including the Intel Edison Board and the Grove Starter Kit Plus Sensor Kit . The main development language is Lua , launched from under Tarantool .

To register, fill out the form . Two weeks before the event, teams with the most interesting projects will receive an invitation by email.

Prizes


The teams that presented the best ideas and implementation will receive a Visa gift card from Intel:


Each team that won a prize will also receive an Intel Edison board and a set of Grove Starter Kit Plus sensors.

O tarantool


Tarantool is a universal IoT platform, which is a general purpose DBMS with an application server inside. Tarantool is designed to work both on IoT devices and in the cloud, ensuring reliable synchronization between them in both directions. The main distinctive feature of Tarantool is that it is very undemanding of resources. It can work on a single processor core, even very slow. It can work from a few megabytes of memory. It can store data on a slow and unreliable flush, without killing it with constant overwrites (because Tarantool does not do it at all). At the same time, it securely saves each transaction to disk or flash. Tarantool Fibers ideally fit the logic of working with PIN, UART, etc.

To simplify life, we made a MRAA binding in Lua - at the time of the announcement pull request is being prepared. Lua binding is in my repository , the documentation is in the process of creation, any questions on the MRAA ask here, in a personal, on GH.

In addition, Tarantool can replicate all transactions both between IoT devices and into the cloud (to a remote Tarantool running on servers in the data center). And this is master - master replication in both directions. If necessary, you can send data from the local Tarantool - right from the device - anywhere, including on Twitter, bypassing the cloud.

By developing using Tarantool as a local platform on IoT devices, you get the same system status on all devices and on the central server. Moreover, each device works independently with the current copy of data, even when Internet access is blinking or not working (when access is restored, all data is instantly replicated in both directions). In addition, if you are not connected to the Internet, you can replicate data between devices via Bluetooth via Tarantool.

Just imagine: your devices are always synchronous with the data, even if there is no access to the Internet. Having moved away from each other, they become out of sync for a while, but when they approach each other they synchronize again.
And the cherry on the cake: having written a function on Lua, you can instantly turn it into a service inside Tarantool. You do not need to install any application servers locally. Well and the most remarkable thing: since Tarantool is an application server, you can put any of the available models directly on the device, for example http, pg, etc., - and all this can be done in one action. And if you install nginx with a Tarantool module into the cloud, you will also receive a REST API over Tarantool, which means you can automatically receive data from devices immediately.

Thus, Tarantool is a real powerful IoT platform for developing full-fledged and fast-running local applications with full synchronization between devices and the central server and with almost complete independence from access to the Internet.

Ob edison


Intel Edison is a powerful module in a compact design. CPU - Intel Atom 500 MHz dual core, MCU - Intel Quark 100 MHz, 4 GB of flash memory, 1 GB of RAM, can be powered by batteries or rechargeable batteries, equipped with wireless interfaces (Wi-Fi and Bluetooth 4.0). Many articles have been written about working with this board and projects based on it. To begin with, we advise you to familiarize yourself with these materials:


Tarantool + edison


Powerful Edison and undemanding resources Tarantool create an ideal bundle for developers, and, most importantly, a bunch of Edison + Tarantool allows you to develop quickly.

For example, my colleague and I decided to go all the way themselves, so to speak, to make our own “Hello, world”. And that's what happened: a prototype of the security system . As it was: with the help of Tarantool, we decided to combine the device (s) and the cloud or other devices into a cluster. After an hour of discussion, the idea was born itself: create a distributed security system. Briefly about the project. We collect the light level, noise level, etc. from N devices. All these indicators are delivered to the cloud. If any indicator is greater than X, then the device starts beeping and blinking. X must be configured dynamically via WebGUI. All data exchange takes place using asynchronous master-master replication. It took about six hours. And yes, this is a prototype, not calibrated, etc.

Closer to the date, all participants will receive additional technical instructions to be fully prepared for the hackathon. We will also regularly publish educational videos and materials on Intel Edison, Yocto Linux and Tarantool in the Mail.Ru Group blog on Habrahabr , Google Tarantool group and Tarantool group on Facebook .

Follow the news and prepare interesting ideas!

Source: https://habr.com/ru/post/304280/


All Articles