Ronny vdb
Ronny vdb

Reputation: 2474

Arduino Bluetooth Connections

I am trying to send a string from my arduino to the serial monitor. I am using the sparkfun bluesmirf chip with an arduino UNO.

my code is really simple:

void setup() {
    Serial.begin(115200); // begin serial communication at 115200 baud rate
}
void loop() {
    Serial.println("hello world"); // write hello world
    delay(1000); // delay one second
}

When I open the monitor I recieve gibberish. When I connect to the arduino with a usb cable everything works fine.

Can anyone please put me in the right direction?

Upvotes: 0

Views: 1017

Answers (1)

jdh
jdh

Reputation: 1655

Depending on the version of your bluesmirf, the default baud rate is either 9600 or 115k. Here's another project that mentions how to set the baud rate for different versions.

Alternatively, just test by setting the arudiono code and serial monitor to 9600.

Upvotes: 0

Related Questions