We invite you to the IoT hackathon from Mail.Ru Group and Intel July 30–31
Intel and Mail.Ru Group invite everyone to take part in the Internet of Things hackathon. The hackathon will be held in the Moscow office of Mail.Ru Group on July 30–31, 2016.
The Internet of things not only presents new opportunities, but also poses new challenges. Today we are used to answering questions about how to store data, which protocol is better to choose, etc. But tomorrow, others will be added to these questions: 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 invite you to think over such issues at the hackathon: find unique ways to solve the problems of industry, business and everyday life using the Intel Edison and Tarantool platforms. And we will provide all the conditions and opportunities for creating 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 you can refine. You do not need to know how to cook Intel Edison or Tarantool - we will teach you this.
Each team will be provided with an Intel IoT Dev Kit, including an Intel Edison board and Grove Starter Kit Plus . 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 email invitation.
Teams that present the best ideas and implementation will receive Visa gift cards from Intel :
- 1st place - 100 thousand rubles.
- 2nd place - 50 thousand rubles.
- 3rd place - 30 thousand rubles.
Each winning team will also receive an Intel Edison board and Grove Starter Kit Plus sensor suite .
Tarantool is a universal IoT platform that is a general-purpose DBMS with an application server inside. Tarantool is designed to work both on IoT devices and in the cloud, providing reliable synchronization between them in both directions. The main distinguishing feature of Tarantool is that it is very undemanding to resources. It can run on a single processor core, even very slow. It can work starting with a few megabytes of memory. It can store data on a slow and unreliable flash without killing it with constant overwrites (because Tarantool does not do it at all). At the same time, it reliably saves each transaction to disk or flash. Tarantool Fibers ideally fit the logic of working with PIN, UART, etc.
To simplify life, we made MRAA bindingin Lua - at the time of the announcement, a pull request is being prepared. Lua binding lies in my repository , documentation is in the process of creation, ask any questions about MRAA here, in PM, on GH.
In addition, Tarantool can replicate all transactions between IoT devices and 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 - directly from the device - anywhere, including on Twitter, bypassing the cloud.
When developing using Tarantool as a local platform on IoT devices, you get the same system state on all devices and on the central server. Moreover, each device works independently with the current copy of the data even with blinking or idle access to the Internet (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 using Tarantool.
Just imagine: your devices are always synchronous according to data, even if there is no access to the Internet. Moving away from each other, they are out of sync for a while, but when approaching, they are again synchronized.
And the cherry on the cake: by writing a function in Lua, you can instantly turn it into a service inside Tarantool. You do not need to install any application servers locally. Well, 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 also install nginx with the Tarantool-module in the cloud, you will also receive a REST API on top of Tarantool, which means you can instantly automatically receive data from devices.
Thus, Tarantool is a real powerful IoT platform for developing full-fledged and fast-running local applications with full synchronization between devices and a central server and with almost complete independence from Internet access.
Intel Edison is a powerful module in a compact design. CPU - dual-core Intel Atom 500 MHz, MCU - Intel Quark 100 MHz, 4 GB flash memory, 1 GB of RAM, can be powered by batteries or rechargeable batteries, equipped with wireless interfaces (Wi-Fi and Bluetooth 4.0). A lot of articles have been written about working with this board and projects based on it. To get started, we recommend that you familiarize yourself with these materials:
- Workshop "Intel IoT". Edison - the mighty “baby”
- We use the built-in microcontroller in Intel Edison
- MRAA Library for Intel Edison and Intel Galileo Boards
- Eat served, sit down please connect
Tarantool + edison
Powerful Edison and undemanding Tarantool resources create an ideal bundle for developers, and, most importantly, the Edison + Tarantool bundle allows you to develop quickly.
For example, my colleague and I decided to go all the way myself, so to speak, to make our own “Hello, world”. And here's what happened: a security prototype. How it was: using Tarantool, we decided to combine the device (s) and the cloud or other devices in a cluster. After an hour of discussion, the idea was born on its own: 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 some indicator is greater than X, then the device starts to squeak and blink. X must be configured dynamically through WebGUI. All data exchange occurs using asynchronous master - master replication. Six hours were spent on this. 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 training videos and materials on Intel Edison, Yocto Linux and Tarantool on the Mail.Ru Group blog on Habrahabr , the Google Tarantool group and the Tarantool group on Facebook .
Follow the news and prepare interesting ideas!