Good day everyone! A newbie here. i have a problem with my Arduino Leonardo and JY-MCU Bluetooth Module
I can't receive data / info from BlueTerm or Android App Using My Cellphone - Samsung Galaxy s4
i connect Rt and Tx good ... 0 - 1 port... // I've also tried to connect Tx and Rx to 2 - 3 pins And nothing happend //
Change the speed (9600 / 57600) and nothing...
Try.. Serial... Serial1 <SoftwareSerial.h> and nothing...
The only progress is that now i Can send info From a Humidity sensor way BlueTerm
look the code:
const int ledPin = 13; //LED conectado al pin13
void setup()
{
Serial.begin(9600); //Inicializamos la consola serie
pinMode(ledPin, OUTPUT);Â // declaro el pin13 como salida
}
void loop()
{
int a = analogRead(A0); // Tomo la lectura del pin A0 ( este no se declara pq automaticamente Lo hace Arduino)
/*El arduino leonardo, y la mayoria de arduinos (sino todos), disponen de otro puerto serie por el que podemos
emitir mas información. En este caso, enviaremos la temperatura a ese puerto serie extra, al cual estara conectado
el emisor BT y que la emitirá al mundo*/
Serial1.begin(9600);Â
 Serial1.println(a); //enviamos la cadena por el puerto serie 1, que es el conectado al emisor/receptor BT.
 Serial1.end(); Â
 delay(1000);
}
Hoping for your help! Thank you! XD