Skip to main content

Arduino : Controlling RGB led using smartphone and HM-10 Bluetooth 4.0 LE

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.
  1. Download Arduino sketch from my github 
  2. Upload sketch to arduino.
  3. Download my compiled apk on my github
  4. Enable smartphone bluetooth
  5. 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


Comments

Popular posts from this blog

Read temperature and barometric pressure from GY BMP 280 using Arduino

This sensor based on BMP 280 digital pressure sensor made by Bosch. You can find the complete datasheet here . This small sensor is quite impressive with it's accuracy. It claimed to be ±1 hPa in measuring barometric pressure, ±1.0°C in temperature measurement and ±1 meter in altitude accuracy. Pretty impressive right ?

Using LCD 2004a I2C on project with Arduino

On previous post measurement sensor results displayed on serial monitor. This is good when we are on development stage. When we want something more independent we need external display. I have purchased a few type of display. For now we will use LCD 2004 for external display.

RDA5807M FM radio module for Arduino

I was surprised with it's ability to receive FM radio broadcast without any problem in such a small module. The size is not bigger than a coin, really small. It may a bit difficult for wiring but it can be done. You can also add small power audio amplifier and use small speaker directly. Here is the module chip, small power amplifier in prototyping pcb.