Greetings! I got one of those Christmas trains you see going around the tree, oddly for Christmas. But I wanted to mod it, so i took an Arduino uno r3 I had and a bt-05 and tried to connect the module to my phone. Didnt work, I tried 1234 but it didnt pair, it just kept the pairing screen on, until it timed out. So, I tried using at mode to change the pin. I tried setting the baud rate to 38400 and test it by entering AT, it was suppose to return OK, but instead, (note I cant copy the serial text, so ill recreate it with brackets) it put
[]x[][][][]x[][]x[][][][][]xx[][][]
Heres my pin to pin wiring, Module ==> Arduino
VCC ==> 5V
GND ==> GND
TXD ==> 10
RXD ==> 11
and heres the code
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
Serial.begin(9600);
pinMode(9,OUTPUT); digitalWrite(9,HIGH);
Serial.println("Enter AT commands:");
delay(200);
mySerial.begin(38400);
}
void loop() {
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
1 I cant connect to my module
2 I tried changing the pin so I could know for sure what the pin is, unfortunately see 3
3 I cant enter AT cmds to change the pin
ok, new problem. Im using an app to communicate with the bt-05, but cmds dont go through. im using Bluetooth Serial Monitor on android and when i type AT, nothing