Skip to content

kiranmadansar/RGB-LED-control-using-Android-Smartphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RGB-LED-control-using-Android-Smartphone

Change the colors of RGB LED connected to Intel Edison using Android Smartphone

We use Android Smartphone sensors to change the color of RGB-LED connected to Intel Edison. Sensor data is sent from Smartphone to Intel Edison via Bluetooth protocol.

Smartphone code to get sensor data and transfer it to Intel Edison is written by Sarweshkumar CR. You can follow it here.

##Hardware

  • Intel Edison
  • Android Smartphone ( which has accelerometer and magnetometer )
  • 3 resistors each of 220 Ohm.
  • RGB LED

##Pin Configuration

  • Connect Red LED pin to pin 3 of Intel Edison via 220 Ohm resistor
  • Connect Blue LED pin to pin 5 of Intel Edison via 220 Ohm resistor
  • Connect Green LED pin to pin 6 of Intel Edison via 220 Ohm resistor
  • Connect Anode LED pin to 5 V supply of Intel Edison

For bluetooth configuration on the Intel Edison, run the file rgbled_setup.sh using the command

  ./rgbled_setup.sh

##Execute the program You can use following command to execute the specific program

  python simple_rgb.py

or

  python rgb_colors.py

##Reference

About

Change the colors of RGB LED connected to Intel Edison using Android smartphone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published