Edit: This same problem is being discussed in "Question About Debugging a Serial RX Issue"
This topic can be closed.
Hello,
The latest couple of days I've been trying to get my arduino working with BT.
To test things i first wanted to get my led13 burning (which sounded simple), now I'm up to the point that I'm thinking this is a HW problem.
Let me explain:
I've got an Arduino uno R3 and a HC-05 BT module.
Connected as follows :
TX BT -> RX uno
RX BT -> TX uno
3.3v to 3.3v and GND to GND
After not succeeding to get the led burning with android appinventor, I've tried to troubleshoot everything.
My setup now:
Arduino code:
byte byteRead;
void setup()
{
Serial.begin(9600);
Serial.println("OK then, you first, say something, homo.....");
Serial.println("Go on, type something in the space above and hit Send,");
Serial.println("or just hit the Enter key, then I will repeat it!");
Serial.println("");
}
void loop() {
// check if data has been sent from the computer:
if (Serial.available()) {
/* read the most recent byte */
byteRead = Serial.read();
/*ECHO the value that was read, back to the serial port. */
Serial.write(byteRead);
}
}
When I use the serial monitor, I get the lines of text from Arduino .
I can also send data, and it echoes back the data
When I connect trough BT (and for example putty) It sends me the first lines of text, but I can't input data.
Baud rates are the same.
I've tried connecting through android(couple of apps&appinventor and my pc with putty).
They all receive from arduino, but can't send although on the serial monitor it works.
Anybody any more ideas?
Thank you,
Tom