Introduction: Arduino/Android - Bluetooth HC-06 Module - DHT11 Temp Meter & ANDROID APP

Hello world! Today i made a app to read any text or value from the serial monitor to your android phone, You can use any sensor that displays values or text.

YOU CAN ADD ANY CODE! NO NEED TO CHANGE THE CODE OF APP!

The app simple reads the text written to the arduino serial monitor and displays it using the HC-06 Bluetooth module. You don't need to setup anything in the arduino code to connect to the APP, you simply connect the Bluetooth module to the TX & RX pins on arduino, upload any code and the app should display the value/text that is written to the serial monitor.

I simply used a example code from The DHT library.YOU NEED THE DHT Library!

Step 1: Schematic, Code, Parts List & APP

Connect everything like the schematic and it should work. Make sure to connect the HC-06 Bluetooth module to 3v

and make sure you add RXD from the HC-06 to TX on arduino, and TXD from the HC-06 to RX on the arduino.

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

I included the .apk android file.

  • Simply download it.
  • Then put the .apk file in a folder on your phone, open it and it will install, make sure you have "Install from unknown sources enabled".

Parts List.

  1. Arduino Uno. Any copy will do! I use the RobotDyn Uno.
  2. HC-06 Bluetooth Module
  3. DHT11 Temp & Humidity Sensor.
  4. Jumper wires Set MM/FF/MF
  5. Android Phone, and of course the app!

Good luck!

Get the app on GOOGLE PLAY

Follow the next step on how to rename your HC-06. This is 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" Set 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!

Comments

author
gfworx (author)2017-03-27

Sorry, bloody auto correct.
vandenbrande

author
gfworx (author)2017-03-27

Hello Vandenbrade,
Thank you. Nice tutorial.
Same question as sahasreddy.
Your reply will be appreciated.

author
sahasreddy (author)2017-03-26

hey vandenbrande!!

does the code work for hc-05 bluetooth module ?

author
CJARP (author)2017-02-06

Estimado te comparto una plataforma llamada CJAR para telemetría y telecontrol usando equipos Android, que te puede ser de utilidad para remotizar, para mayor información puedes visitar www.cjarperu.com o buscar las app como CJAR en Goggle Play Store , te dejo un video: https://www.youtube.com/watch?v=ttXMSWJ2Nfk

author
vandenbrande (author)2016-04-11

Follow me for more!

About This Instructable

7,883views

10favorites

License:

Bio: 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 ... More »
More by vandenbrande:Arduino & C# - RGB LED / LED STRIP CONTROL C# Application Arduino & C# - LM35 Temperature Sensor C# Application Arduino (OPEN SOURCE) Arduino & C# - HC SR04 Distance Meter C# App for Arduino
Add instructable to: