so, i figured a few people here may have experience using wireless bluetooth keyboards, and was wondering if anyone knows what a typical response time would be for keystroke data to be received by the OS.
why do i ask? i'm working on a musical instrument design that involves a wireless pedal/button interface. i need a solution that is very cheap and suitable for use in a stage environment at a distance of about 5-7 meters. i also need one that has a fast response time to minimise "latency". ideally i would like keystroke data to have a maximum 1ms transmission time.
is this possible with a bluetooth interface? i seems quite easy to find relatively cheap wireless BT keyboards these days, so i thought i'd give it a go.
Typically, bluetooth operates at 115200 baud. That allows you to transmit 11,500 characters per second. I think your requirement is covered.
Also for a musician to use the repeatability of latency is probably more important that actual latency - for instance the latency of a piano keyboard is probably a lot more than 1ms...
i need a solution that is very cheap and suitable for use in a stage environment at a distance of about 5-7 meters
Is there a clear line of sight? Even though BT is RF, anything between the devices will significantly reduce the range. Also, 5-7 meters feels like a long range for a keyboard, a device typically less than 1 meter away from the host.
now this is a bit old (http://"http://www.pentest.co.uk/documents/bt_dongle_mod/bt_dongle_mod.html"), but how about slapping an external antenna on the bluetooth module?
great... thanks for the ideas guys.
the link for the BT dongle external antenna (thanks bigphish) is slightly corrupt - correct address is:
i'm using my laptop's internal BT receiver so not sure i can do that - but actually i think 5-7 meters is an absolute maximum distance for me - normally it should be round 1-2meters...
think i'll have a go hacking a BT keyboard and hopefully post findings here...
I am trying to do something similar, i want to build a piezo drum sending signals from arduino to android, and playing samples on android.
It works, but i am facing a latency problem.
Here is my post:
Did you solve the problem?
After many attempts I am about to discard the bluetooth option.
Instead i'm thinking about connecting arduino straight with OTG cable by using this firmware:
Have you tried the option of bluetooth antenna?
From my experience, cheap wireless keyboards and mice have just enough range to get from the PC under the desk to the desktop and not any further.