Controlling an RGB LED through Intel Edison using Android smartphone gesture (Tilt) and collects the app usage statistics (Ex: how many times the user checks the list of Bluetooth devices, number of successful connections, etc..) and posts it to Google Analytics
The idea is to introduce smartphone with Intel Edison to trigger/control an event using sensors on smartphone. Most Android-powered devices have built-in sensors that measure motion, orientation, and various environmental conditions. These sensors are capable of providing raw data with high precision and accuracy.
By tilting the phone around Y-axis (Roll), control the color variations of an RGB LED which is connected to Edison.
- Android Studio
- Intel Edison
- RGB LED
- Android Smartphone (Should contain Accelerometer and Magnetometer)
- 220 Ohm Resistor - 3
-
On Android:
Build the above project (BTRGBControl) using Android Studio and upload the generated apk to your smartphone
-
On Edison:
- Bluetooth-SPP Python wrapper
- PyBluez
The above two application packages are Edison specific. To install and run the program, please follow this link.
On Edison, the program was written by Kiran Hegde (Email: [email protected])