getting good transfer speed with bluetooth

Hi,

I'm trying to transfer data from a small arduino-like board to a cellphone over bluetooth, but not matter what I do the speed is rather unsatisfactory. I'm not particularly experienced and this is my first such project, so I might easily be doing something wrong ...

The board I'm using is Bluno Beetle (I needed something small with integrated bluetooth), I've attached an accelerometer to it and I'm sending messages (perhaps 20-40B each) with data from the accelerometer. But no matter what I do I only get to send ~10 messages per second, so 200-400B/s. That seems rather unsatisfactory, and it's perhaps 1/10 of what I'd need.

The rate is set to 115200 on both sides, so that's not it.

The code is really simple - essentially

void loop() {

    ... read data from accelerometer ...

    Serial.print(ax + " " + ay + " " + az);
    Serial.read();
 }

And that's it. Without the read() it's obviously faster, but I then get corrupted messages - I presume because of limited buffer for the serial link. So this way the other side confirms it received the whole message, before the next one is sent.

Is this an expected behavior of bluetooth on arduino, or is it just what this particular board does? Or am I doing something fundamentally wrong? I don't mind trying another board, but the Beetle BLE seemed quite nice.

Hi @petern, maybe the below post can help you.

By the way off-topic also I had the Bluno Beetle V1. and could scan the BLE device from my Android phone (Huawei P2o Lite). One of the solder pads came offand I ordered a new one which is Bluno Beetle v1.1, but can't seem to scan and find it with any of the firmware updates as the same I did with the old Bluno Beetle. Any advice?

petern:
The code is really simple - essentially

You need to post the complete program if anyone is to be able to help you.

It would also be a good idea to describe the project you are trying to create - that way someone might be able to suggest a different approach that would be more effective.

I am wondering why you don't do more of the work on the Arduino to reduce the frequency at which data needs to be transmitter.

...R

I can't see how baud rate has any bearing on Blue tooth data throughput. You might get some help here Blue tooth speed.

Paul