9600 serial not running!

Hi everyone.

I've been working on a Bluetooth car controlled with my smartphone lately and I had a strange problem with the serial. It is set to 9600 but it doesn't run in the serial monitor, there's always a new 0 value every ten seconds or more and it doesn't receive any data from my smartphone! In using this app https://play.google.com/store/apps/details?id=braulio.calle.bluetoothRCcontroller It's supposed to send key letters that I program in the arduino to make a function but the serial won't work.

Any answer really appreciated.

Any answer really appreciated.

Without seeing your code and knowing what hardware you are using, answers seem unlikely.

Lack of power?

Mark

Very simple serial echo code that sends back to the serial monitor what is sent from the serial monitor.

//zoomkat 6-29-14 Simple serial echo test
//type or paste text in serial monitor and send

String readString;

void setup() {
  Serial.begin(9600);
  Serial.println("Simple serial echo test"); // so I can keep track of what is loaded
}

void loop() {

  while (Serial.available()) {
    char c = Serial.read();  //gets one byte from serial buffer
    readString += c; //makes the String readString
    delay(2);  //slow looping to allow buffer to fill with next character
  }

  if (readString.length() >0) {
    Serial.println(readString);  //so you can see the captured String 
    readString="";
  } 
}