You can also try other experiments related to Smart Phone and Bluetooth.FOLLOW THIS LINK.

In the given link, we can see how we use HEF4794 as a LED driver for controlling endless amount of LEDs with only 4 pins. Here, we would use CD4094BC in place of 4794 from Philips. CD4094BC is also 8-Bit Shift Register and Latch with 3-STATE Outputs.

In case of HEF4794, you connect all the anodes of LEDs to 5V and cathodes to the output pins and in case of CD4094, you connect all the anodes to output pins and cathodes to GND.

HEF4794 circuit configuration, adopted from arduino.cc.

In this particular example, we control the 8 LEDs using Android Smart Phone interface and CD4094. You can also control it(using Bluetooth) from the serial monitor of Arduino programming interface.

The code example takes a value and stores in the variable dato and shows it as a decoded binary number. For example, if you enter 1, only the first LED will light up; if you enter 255, all the LEDs will light up.

Follow the following circuit layout for this experiment. I have used BlueSMiRF Bluetooth adaptor(From Sparkfun.com) for bluetooth connection. The baud rate of Bluesmirf modem has been set to 57600. HOW TO CHANGE BAUD RATE OF BLUETOOTH ADAPTOR?

SMART PHONE APPLICATION: For this experiment you can download any kind of Android Emulator.