GithubHelp home page GithubHelp logo

nileshnmahajan / android-bluetooth-control-arduino-led Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chelvanlab/android-bluetooth-control-arduino-led

0.0 0.0 0.0 140 KB

This is Arduino Bluetooth Control from Android device Application (switch on led off led)

Java 100.00%

android-bluetooth-control-arduino-led's Introduction

Android-Bluetooth-Control-Arduino-LED

This project Desigened for Arduino Bluetooth control HC-05 module from Android.

Arduino code for Hc-05 module


char data = 0;               
void setup() 
{
  Serial.begin(9600);         //Sets the data rate in bits per second (baud) for serial data transmission
  pinMode(13, OUTPUT);        //Sets digital pin 13 as output pin
}
void loop()
{
  if(Serial.available() > 0)  // Send data only when you receive data:
  {
    data = Serial.read();             
          
    if(data == 1)            
      digitalWrite(13, HIGH);  
    else
      digitalWrite(13, LOW);   
  }                           
 
}

Coneection Method Arduino to HC-05 module

set pin HC-05 module Rx - Arduino Tx

set pin HC-05 module TX - Arduino RX

set GCC-GCC and 5v-5V

android-bluetooth-control-arduino-led's People

Contributors

chelvanlab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.