My last setup as seen on previous post has been abandoned for a while. A bit busy with another work and holiday. About holiday I'll tell you in my upcoming post. Interesting place to visit and beautiful too. You probably will be interested too.
I have been doing some research and learning to build mobile app for my last project with RGB led and Bluetooth LE. So i end up learning Ionic 2. The reasons are it has beautiful UI and has plugin for BLE. I have done small work using Ionic 1 in the past, but with Ionic 2 it completely different. I also need to learn Angular 2 and typescript.
Below is the wiring for the project. It's combination from my previous projects. The wiring for bluetooth module are below.
TXD (ble) <--> Pin 7 digital-->
RXD (ble) <--> Pin 8 digital-->
Pin 6 digital used for DIN (RGB Led data in)
To test it, you can follow below steps.
- Download Arduino sketch from my github
- Upload sketch to arduino.
- Download my compiled apk on my github
- Enable smartphone bluetooth
- Run the app and enjoy
Here is video demo:
So it's time to move on from RGB led project. I have purchased 2 small servo and pan/tilt servo bracket. It could be interesting project. Controlled by smartphone ? Why not.
Resources and links
- Ionic 2 : http://ionicframework.com/docs/v2/
- BLE cordova plugin : https://github.com/don/cordova-plugin-ble-central
Comments