HM-10 returns Euro symbol Need Help :-(
i working hm-10 copy cc4a-1 module. connected arduino uno r3 after struggling lot got connected. performed @ commands using arduino serial monitor stops working after executing at+renew command. tried perform at+baud command returned error before executing at+renew.
this output of arduino serial monitor while sending data hmble terminal android application
#include <softwareserial.h>
softwareserial btserial(2, 3); //rx|tx
void setup(){
serial.begin(9600);
btserial.begin(9600); // default baud rate
while(!serial); //if arduino micro
serial.println("at commands: ");
}
void loop(){
//read hm-10 , print in serial
if(btserial.available())
serial.write(btserial.read());
//read serial , print hm-10
if(serial.available())
btserial.write(serial.read());
}
this sent android application
this output of arduino serial monitor while sending data hmble terminal android application
#include <softwareserial.h>
softwareserial btserial(2, 3); //rx|tx
void setup(){
serial.begin(9600);
btserial.begin(9600); // default baud rate
while(!serial); //if arduino micro
serial.println("at commands: ");
}
void loop(){
//read hm-10 , print in serial
if(btserial.available())
serial.write(btserial.read());
//read serial , print hm-10
if(serial.available())
btserial.write(serial.read());
}
this sent android application
Arduino Forum > Using Arduino > General Electronics > HM-10 returns Euro symbol Need Help :-(
arduino
Comments
Post a Comment