Bluetooth low energy is an area with a wide variety of applications. In this class we learnt how to integrate the BLEPeripheral library with hardware like the BLENano and RFduino to make applications.
I set out to make a bluetooth controlled LED matrix. Where you can enter the pattern which you wish to see on your phone and it will be displayed on a LED matrix. I used an RFduino to run this.
This was made with 64 LEDs (although only half are being controlled by the phone currently). They are controlled using SN74HC595 shift registers. This enables us to pass bytes through bluetooth and the chip will convert it into highs and lows for each LED.
The circuit diagram for a single byte is as follows
The circuit for 2 bytes is below
The completed board
PhoneGap was used to develop the phone app that controls the matrix. It creates a local server through which it is possible to communicate between the phone and the BLE device (RFduino in this case)
The code for the same is here
The matrix was controlled by the RFduino.
The codes for the initial circuit which took 2 bytes of data is here. This was tested using nrfMaster on the android.
The code to control the complete matrix is here.