Coder Social home page Coder Social logo

mayoogh / arduino-bluetooth-basic Goto Github PK

View Code? Open in Web Editor NEW
166.0 21.0 137.0 15.69 MB

Control a LED using your smartphone via Bluetooth (Does not support BLE)

Home Page: http://mgprojecthub.com/arduino-bluetooth-basic-tutorial/

C++ 10.74% Java 89.26%
ardunio bluetooth-arduino android androidstudio arduino-bluetooth smartphone hc-05

arduino-bluetooth-basic's Introduction

Arduino-Bluetooth-Basic

Control a LED using your smartphone via bluetooth Download the app from here : http://goo.gl/PSXVoF

Project Documentation can be found here

NOTE : This Application does not support Bluetooth Low Energy (BLE). Only works with SPP

arduino-bluetooth-basic's People

Contributors

imgbotapp avatar mayoogh avatar vishesh-dd4723 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduino-bluetooth-basic's Issues

Can't connect BLE bluetooth

This app can't connect ble bluetooth. It failed when I clicked the device in devicelist , it just showed " Is it a SPP device? , try again" . How can I fix it , please help me.

Connection Issue

I can find the paired devices on paireddevice-list , but I can't connect one of them. Does the app only fit bluetooth 2.0 (HC-05) not 4.0 devices (HC-08 or android phones). How to solve it ?

Bluetooth connected but led pins does not light up

I am trying to create a simple bluetooth circuit with led lights where it can connect to a mobile application and turn the led lights on/off remotely. i am using arduino mega 2560 and bluetooth HC-05 with led light in pin 13. i have followed most tutorials online for the schematic. (5v - 5v), (GND - GND), (RX - TX1 18), (TX - RX1 19).
image

i have tried few different codes which were also gotten online.

int ledPin = 13;
int state = 0;
int flag = 0;

void setup() {
  pinMode(ledPin, OUTPUT);
  digitalWrite(ledPin, LOW);

  Serial.begin(9600); // Default connection rate for my BT module
}

void loop() {

  if (Serial.available() > 0) {
    state = Serial.read();
    flag = 0;
  }

  if (state == '0') {
    digitalWrite(ledPin, LOW);
    if (flag == 0) {
      Serial.println("LED: off");
      flag = 1;
    }
  }

  else if (state == '1') {
    digitalWrite(ledPin, HIGH);
    if (flag == 0) {
      Serial.println("LED: on");
      flag = 1;
    }
  }
}

Few applications that i have tried are ArduDroid by TechBitar, LED, Arduino Bluetooth app by HowtoMeChatronics and even tried making my own simple application by MIT app developer. all of them i am able to be connected to HC05 and disconnect them. however, the LED lights does not light up. I am not sure how to test if the bluetooth module can send/receive data from the phone application.

Do let me know where is the error as i am getting the sources online and they seem to work with their set up.

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.