HC-06 Bluetooth

Hi I have the HC-06 Bluetooth.
I have the problem that I can not connect with my Arduino Uno
The module I think it goes well, I downloaded https://play.google.com/store/apps/details?id=eu.jahnestacado.arduinorc and can connect to the device.

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup()  

  Serial.println("Goodnight moon!");
  mySerial.println("Hello, world?");

void loop()
  if (mySerial.available())
  if (Serial.available())

And nothing, somo me appears “Goodnight moon” in console.
Any solution?
Thank you

Serial.println("Goodnight moon!");

uses your hardware serial


SoftwareSerial mySerial(10, 11); // RX, TX

is your software serial

why are you using software serial?

how is the HC-06 connected?

I used the code in this Instructables for my first try of my HC06 and it worked straight off.

I tried mine on a Mega using one the other Hardware Serial ports but I have no reason to think it won't work with Software Serial.


I used internet code.
Do you have a code that works?

Do you have a code that works?

See my previous reply.


did you check to make sure your BT module is set to the same baud rate ?