Arduino/Android BLUETOOTH Serial Monitor APP for Arduino Using the HC-06 and ANDROID

28,128

20

26

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I ma...

Hello world! Today i made a Android app that simply reads values or text that are printed to the arduino serial using the bluetooth module HC-06/05 or any other modules. You don't need to set anything in the arduino code. Just simply Serial.println(); will display the value or text in the android app. You can use it for many things.

Follow the next step for the schematic, example code parts list.

Go to GOOGLE PLAY to download my APP. If you want the source of the app you can contact me.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Schematic, Example Code & Parts List.


make sure not to have the bluetooth connected when uploading the code!

Parts list.

  1. Arduino uno, or any copy will do. i used the RobotDyn Uno.
  2. Set of jumper wires. MM/FF/MF
  3. HC-06 Bluetooth module.
  4. Android Phone.

Good luck.

Follow the next step to find out how to rename your Bluetooth moduleand change baud rate (Optional)

Step 2: How to Change the Name of Your HC-06

What is needed?

1 x USB to TTL microcontroller programmer to connect to your HC-06

How to connect the Programmer?

VCC to VCC

GND to GND

RXD to TX

TXD to RX

Lets get started...

  1. connect the USB TTL programmer to the HC-06
  2. Plug in the USB and open up The Arduino IDE
  3. Open the serial monitor.
  4. Type "AT" without quotes. You should see a respond in the Serial monitor saying "OK"
  5. Type "AT+NAMExyz" Sets the module name to “xyz” (Replace xyz with the name you want.) response should be OKsetname.
  6. Type "AT+PIN1234" Sets the pin to 1234 (replace 1234 with your desired pin) respond should be OKsetPIN For more info on changing baudrate etc. i included a PDF file. Good luck!

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    26 Discussions

    0
    None
    ibrahim97

    2 years ago

    Hello...
    Can you send me the codes plz...
    ibrahim4ever97@hotmail.com

    1 reply
    0
    None
    SumitabhaB

    2 years ago

    Hello. I want to make the app as well. I have so far been able to establish the bluetooth connection between Arduino and HC-05 using the app. But I can't read values from the Serial Moniter. Can I get the source code of the app plz? My email is banerjeesumitabha18@gmail.com

    1 reply
    0
    None
    WaliurR1

    1 year ago

    can you please send me the source code of that app? my email id rafie.freaky@gmail.com

    1 reply
    0
    None
    dheerajkoshti

    10 months ago

    Could you please tell me what should be the baud rate should I set, while sending the data to your app, so that your app can show me the putput ?

    1 reply
    0
    None
    IgorO20

    7 months ago on Step 2

    Can you send me android source code? My email:
    igor.ordecha@gmail.com
    Or maybe upload it to GitHub? I see that many people asked for the code.

    0
    None
    JéssicaE101

    10 months ago

    Olá, poderia me enviar o código fonte? Obrigada! jessicaaraujobio@gmail