How to control Pin 13 LED using Smartphone via Bluetooth

About This Tutorial
In this tutorial you will be turning on and off led Pin-13 of evive via smartphone.
Tutorial Info
Programming Platform:
Difficulty:
Estimated Time (hrs):
1

Components Required

ImageComponentQuantityAvailable in Kit
evive1
HC05 Bluetooth Module1
USB A-B Cable1

Introduction

In this tutorial you will be turning on and off the led Pin-13 on evive via smartphone. For this smartphone will be connected to bluetooth module Hc-05 plugged on evive. Commands for controlling led will be sent by smartphone via app named “Serial Bluetooth Terminal” for Android. This app transmits the command entered in it to Hc-05 via bluetooth of smartphone. The app can be downloaded from google play store. Before using app at first pair the bluetooth with your smartphone. Further instruction for using app can be seen by clicking on video

The password for HC-05/HM-10/AT-09 Bluetooth module is either 1234 or 0000 or 123456 or 00000 by default.

Working of Code

  • Whatever data is received by Hc-05 is stored at first.
  • This stored value is compared with character ‘H’ and ‘L’.
  • If stored value is ‘H’ led turns on.
  • If stored value is ‘L’ led turns off.

Arduino IDE Sketch

Below is the Arduino IDE sketch:

This Helped
This didn't help
Share this Tutorial
Facebook
Twitter
Google+
Pinterest
Reddit
Print
Related Tutorials
Featured Projects

Leave a Reply

Close Menu
×

Cart