Communicating with robot with bluetoothDesktop doesn't work
in
Contributed Library Questions
•
5 months ago
Hello,
I'm making a robot, and I want to control it wirelessly over a short distance. I decided to use make a processing program on my windows vista netbook that would control it over Bluetooth. Unfortunately, the robot didn't appear to receive any data at all. I had the same problem on my windows XP desktop, even though both computers could successfully connect to my mdfly Bluetooth module that is plugged into to my Arduino uno. I even found a website where someone who, like me, was on a windows xp computer, controlling an Arduino uno with a processing program, using a Toshiba Bluetooth stack and basically the same mdfly module. We seem to have done everything identically, but mine doesn't work.
Someone told me about another person who had the same problem, and solved it with the bluetoothDesktop library. I tried it out, and immediately got the error "No supported stack installed or no dongle available." After a little Googling I found this topic, and discovered that I had to delete avetanaBT.jar. I deleted it (and libavetanaBT.so and avetanaBT_readme.txt), but got the error "BluetoothStack not detected." After a little more Googling I thought that I had to have a stack that supports bluecove: WIDCOMM, Winsock, or BlueSoleil. My AZiO bluetooth adapter, however, was not supported by Winsock. Next I tried WIDCOMM, but during installation it said "Please plug in or turn on bluetooth device." I think the problem is that WIDCOMM also doesn't support my bluetooth adapter. Next I hesitantly (because of bluecove's warning: "We don't recommend the use of this stack for the begginers in JSR-82. There are too many limitations that may be very confusing. Also our experience show that you may need to frequently reboot your Windows.") tried BlueSoleil, but, as well as the product being temporarily unavailable for download, It appeared that I would have to buy a BlueSoleil product to be able to buy their Bluetooth stack. ,':-|
That is as far as I've gotten in figuring out how to wirelessly control my robot. If you know of any (preferably inexpensive) way to get the communication working, whether by solving a problem stated here or telling me about a new way to communicate between the computer and the Arduino, I would appreciate it.
To recap, I have...
I'm making a robot, and I want to control it wirelessly over a short distance. I decided to use make a processing program on my windows vista netbook that would control it over Bluetooth. Unfortunately, the robot didn't appear to receive any data at all. I had the same problem on my windows XP desktop, even though both computers could successfully connect to my mdfly Bluetooth module that is plugged into to my Arduino uno. I even found a website where someone who, like me, was on a windows xp computer, controlling an Arduino uno with a processing program, using a Toshiba Bluetooth stack and basically the same mdfly module. We seem to have done everything identically, but mine doesn't work.
Someone told me about another person who had the same problem, and solved it with the bluetoothDesktop library. I tried it out, and immediately got the error "No supported stack installed or no dongle available." After a little Googling I found this topic, and discovered that I had to delete avetanaBT.jar. I deleted it (and libavetanaBT.so and avetanaBT_readme.txt), but got the error "BluetoothStack not detected." After a little more Googling I thought that I had to have a stack that supports bluecove: WIDCOMM, Winsock, or BlueSoleil. My AZiO bluetooth adapter, however, was not supported by Winsock. Next I tried WIDCOMM, but during installation it said "Please plug in or turn on bluetooth device." I think the problem is that WIDCOMM also doesn't support my bluetooth adapter. Next I hesitantly (because of bluecove's warning: "We don't recommend the use of this stack for the begginers in JSR-82. There are too many limitations that may be very confusing. Also our experience show that you may need to frequently reboot your Windows.") tried BlueSoleil, but, as well as the product being temporarily unavailable for download, It appeared that I would have to buy a BlueSoleil product to be able to buy their Bluetooth stack. ,':-|
That is as far as I've gotten in figuring out how to wirelessly control my robot. If you know of any (preferably inexpensive) way to get the communication working, whether by solving a problem stated here or telling me about a new way to communicate between the computer and the Arduino, I would appreciate it.
To recap, I have...
- a Windows Vista netbook
- processing 2.0b6
- bluetoothDesktop v2
- Toshiba Bluetooth Stack v7.10.12
- an AZiO Bluetooth adapter
- an MDFLY Bluetooth TTL Transceiver Module
- an Arduino Uno
Thank you,
EDIT: I saw here that bluetoothDesktop "doesn't work with processing 1.x anymore." Would this be the problem?
EDIT: I saw here that bluetoothDesktop "doesn't work with processing 1.x anymore." Would this be the problem?
1