Natural Interface Based on MARG-sensor Orientir-1

In this demo-project we implemented the concept of control of any device using a cube. You can paint buttons or any other signs on faces of a cube, and assign the spatial positions of the faces to be functions of a given device. For example, you can use the cube to manage a music player. Standard buttons are painted on the faces of the cube. You turn the cube so that face with play button is upside to start playing, you have to shake the cube in order to turn on a random playing etc. In this particular case each face of the cube refers to a certain color of RGB LED-stripe. So you can manage backlight of your room using a cube.

Components needed:

Source code for the cube:

Source code for control of the LED-stripe: