Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



The „M2M Translator is a work that was done within the two-week-long project „Johnny-five-is-alive“. The task was to build an prototype of an IoT object that communicates with a website using Johnny Five.

The idea

In a world that gets more and more connected, we are surrounded by machines talking to each other. Mostly, for us it is not possible to know what they are actually communicating. That this fact could get really disturbing or even terrifying is shown by the little scenario of Paula and her smart home on the following pictures:

![Solution]( solution.jpg)

The setting


To prototype the translator in a smart home environment, I decided to built an demonstrator consisting of representatives of an alarm clock, a lamp and a coffee machine. Both the alarm clock and the lamp have a physical button to switch it on or off and a led. The coffee maker has three led’s that turn on and off one after the other to give the impression of coffee dripping into the pot.



The demonstrator is connected to an Arduino board. Using the Johnny Five library to control the Arduino pins, the code runs from a node server. The node server works like a mediator, communicating with the Arduino board using Johnny Five and communicating with the website using Doing this it builds the connection between the Arduino in- and output and the in- and output given by the website.

The App prototype


On the website, a prototype of the M2M translator is shown. It tells the user what is actually going on at the smart home demonstrator and reacts to input. If for example the alarm clock is switched off and lights go on, you can follow the devices’ communication translated to understandable language on the screen. If the user wants to stop an action he can do that using the little cross displayed after each action.

If an action is stopped via the app, this information is sent to the server and from there to the Arduino board, where the specific action gets stopped.


Demo on Vimeo


No description, website, or topics provided.




No releases published


No packages published