Processing and USB Bluetooth dongles - Request info

Hi Processing peeps.

I have recently gotten into the Arduino game and have been building a simple bluetooth controlled RC Car as so many others have done.

I have successfully had a connection between my USB Bluetooth dongle to the Arduino Bluetooth module and have also been able to send commands from a terminal via bluetooth to the Arduino. I also did this in processing using Serial.write() but with Native errors when I ran the code.

I read several threads that these Native errors mostly was due to the driver’s of the USB Dongle that was poorly written.

Was using Windows Native Bluetooth stack, and tried with BlueSoleil’s also. The BlueSoleil stack didn’t work.

The dongle which I have now smashed was a cheap one and I am currently looking to buy a new one that hopefully will work better with Processing and the Serial library.

My request / question is this.

If I understand all the stuff correctly, I have two options.

One:

Buy this USB Dongle

http://www.sparkfun.com/products/9434

Two:

Buy an Arduino FTDI Basic 3.3 and combine that with a Bluetooth Module.

http://www.sparkfun.com/products/9893

http://www.sparkfun.com/products/10253

Does any of you guys have any experience with either of the two options or can direct me to information that will enlighten me a bit on the matter.

Regards

WallyBot

Option two would work well and would be more fun.

Only thing that nags the hell out of me is that using PuTTy or another terminal software I can easily send lines, characters and bytes. But as soon as I’m using the RXTX (Serial) library in Processing it gives me Native drain errors.

Will admit that I’m starting to lean towards the second option too… Just to get the shite working.

Only bummer about that solution is that you need to have the FTDI + Bluetooth module connected and with you all the time instead of just having the robot and a laptop with Bluetooth :stuck_out_tongue:

I think I’ll acquire an FTDI 5 and the Bluetooth module later today.

Am currently playing around with the BlueSMiRF for a school project.

Allright, I finally got something working.

Yesterday I was playing around with the BlueSMiRF and succesfully connected it to both my Android and Processing.

I was able to send data from Android and Processing to the BlueSMiRF.

The Serial library in Processing didn’t work, so I found the bluetoothDesktop library which I had played around with a bit before, but got it working for the first time yesterday.

Now I just need to make it work with my bluetooth module, which ain’t a BlueSMiRF but a cheap one (Bluetooth Bee) with only SPP profile :S

I’m considering doing a tutorial to get it working in Processing as it’s the obvious choice in many occasions relating to Arduino (Wiring)