Hello everyone,
At present, I'm working on a project, which involves interfacing of Neurosky mindwave mobile with Arduino UNO and I have been using Sparkfun's Bluetooth module - Bluesmirf Silver for this purpose.
Before getting into the project, I did an experiment of communicating Arduino with Android phone via Bluesmirf silver.
Connections:
Vcc ---> 3.3V
Gnd ---> Gnd
RX ---> pin 11
TX ---> pin 10
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
Serial.begin(9600);
mySerial.begin(115200);
Serial.println("Ready...");
mySerial.println("Ready....");
}
void loop()
{
if (mySerial.available()) {
Serial.write(mySerial.read());
}
if (Serial.available()) {
mySerial.write(Serial.read());
}
}
Android App: Bluetooth Terminal
Unfortunately, I met with a problem, which I couldn't troubleshoot.
Problem: The data I typed in the Serial Monitor had been received successfully in the android app but the data I typed in the android app were not displayed in the Serial monitor. Does anyone know the possible fix for this?
FYI : I tried the same procedure using HC-05 Bluetooth module with a baud rate set to 38400. The result was successful and no problem had been encountered.