Hey dear community,
I am a futur embeded enginneer and I was working on an arduino project with hc05 bluetooth module when I had a serious issue with it.
I am using on one hand, an arduino UNO board with a HC05 bluetooth module connected to it and on another hand I am using HC05 Bluetooth Terminal APP,
In fact, the problem is that when I want to print a character sent by the Bluetooth terminal on arduino's serial monitor, I get garbage characters that don't even belong to the ASCII table.
Here is my code:
//Declaration of variables:
SoftwareSerial Bluetooth(2,3);//the bluetooth object
char c =' ';
No it isn't, 38400 in software serial should be fine. It is, after all, the standard baud rate for AT mode and, if that was a problem, everybody would know about it.. Your real problem may simply be that you failed to properly configure HC-05 to run at that rate.
Having said that, if you've got it all working OK, there is surely no point in changing the rate, but you shouldn't be deterred if you come across a device that requires you to use 38400.