Arduino IDE with Bluetooth (bluesoleil)

HI,
Im trying to connect my atmega328P pu over bluetooth(hc06) with the arduino IDE, to upload sketches wireless.

if i try it with putty, it works and connects, but if i try it with the arduino ide, as soon as i open serial monitor, the IDE crashes.

any ideas how i can upload my sketch over HC06 successfully?

Thanks.

Jonas

What PC operating system are you using?

Can you describe in detail what works with puTTY?

...R

im using Windows 8.1 Enterprise
all works with putty, i can send and receive bytes.

CodingGhost:
all works with putty, i can send and receive bytes.

Sorry, I should have asked you to describe in detail the steps you take to get puTTY to work.

...R

i open putty, select Serial, select COM12 and connect, then bluesoleil connects to the HC06 and i can read and write..

CodingGhost:
i open putty, select Serial, select COM12 and connect, then bluesoleil connects to the HC06 and i can read and write..

When you use puTTY how do you get the bluetooth devices to pair?

I presume you are also trying to use COM12 with the Arduino IDE?
Perhaps the IDE has no means to go through the pairing process?

You don't actually need the IDE to upload sketches. If you select the verbose output you will see all the commands it uses to upload a sketch and there is nothing to prevent you writing your own PC program to go through that process. Having said that I have no idea whether it is actually possible to upload code using bluetooth. I think it would be essential for the bluetooth device connected to the Arduino to be able to assert and de-assert the RTS line to cause the Arduino to reset. Or maybe you could manually reset it at the right instant - but that can be tricky to time.

...R

oh shit i forgot about the reset... then the whole project has to be redesigned.. well f***

but thank you anyway

CodingGhost:
oh shit i forgot about ...

Welcome to the club :slight_smile:

...R

CodingGhost:
oh shit i forgot about the reset... then the whole project has to be redesigned.. well f***

Maybe not, there are a few tutorials on how to setup HC-05 BT modules to allow programming over BT.

I am working my way through but have not tested this tutorial. I have the hardware configured but the old BT/USB adaptor I'm trying to use does not seem to work on x64 windows so am waiting for another (newer) adaptor to try pairing.