GithubHelp home page GithubHelp logo

hc-06_bluetooth's Introduction

HC-06_Bluetooth

Android app to communicate comfortably with the HC-06.

To change the name of your HC-06

Changing the name of your HC-06 device is a fairly simple process and can be done with whatever board you are using to manage your device in the first place. For this tutorial, we will be using an Arduino, however the same method is possible across any platform.

First off, plug in the board like you normally would (NOTE: do NOT use pins 0 or 1 on the Arduino for this step).

Next, we need to set up a SoftwareSerial connection with the device using the resources found in "SofwareSerial.h". If you require additional help to do this, a snippet of code can be found in the tutorial folder on this git page.

From here we can use the Arduino IDE's "Serial Monitor" to communicate with the board. Start by sending the board the string "AT" to enter command mode. Once you recieve a positive reply of "OK", you can proceed to change the name or any other attribute of the board.

Full list of AT commands: AT : check the connection AT+NAME: Change name. No space between name and command. AT+BAUD: change baud rate, x is baud rate code, no space between command and code. 1 set to 1200bps 2 set to 2400bps 3 set to 4800bps 4 set to 9600bps (Default) 5 set to 19200bps 6 set to 38400bps 7 set to 57600bps 8 set to 115200bps AT+PIN: change pin, xxxx is the pin, again, no space. AT+VERSION

hc-06_bluetooth's People

Contributors

spenserw avatar

Watchers

 avatar

Forkers

favarete

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.