I have been banging my head against this, so any help is greatly appreciated. I added an HC-05 to my arduino R3 to send data to my PC or better yet my phone, and log it. The Hc-05 pairs with either platform, but refuses to send data to PC. It will send data to the phone, but the very few BT receiver apps are kinda crappy, and don't allow the baud rate to be selected. Also, I've tried a bunch of code to send it, but none works for the PC.
Kai Morich's BT serial terminal is very good, likewise mightyIT's (bluetooth terminal hc-05 pro)
1 Like
So I got this to work on the PC at 9600 baud, but the DSD Tech HC-05 says it can be used at 9600 or 38400. At 38400 it produces weird characters only.
int pressure;
void setup()
{
Serial.begin(38400);
pinMode(0,INPUT);
analogReference(DEFAULT);
}
void loop()
{
pressure = analogRead(0);
Serial.flush();
Serial.println(pressure);
}
How did you set the module to use 38400 baud and did you confirm that setting with a report from the module?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.