We got many mails that ask if the Iteaduino BT support wireless programming with Arduino IDE via Bluetooth, the answer is “NO”. But there are so many query about wireless programming, so there should be a actual demand of this function, so we will not just answer you – “NO”, we reply that the original Iteaduino BT is not support wireless programming, we can guide you to hack it, and make it support the Bluetooth programming function.
Here is the hack introduction, just follow us step by step:
You need a Iteaduino BT, the hardware version is V1.0 or V1.1. Add a 1uF capacitor between Pin32 of HC-05 module and the Rest pin of Iteaduino BT (Pin29 of ATmega328P). As shown below:
Set the jumpers to A side, to connect the HC-05 to FT232 chip. Set the switch of operation mode to CMD side. Use the USB cable to connect the Iteaduino BT with PC, we need to make it work in command mode and communicate with PC:
Press the "BT_RST" button to make sure the module work at "CMD" mode. We need to use the serial port management software to send AT command to the module, here we use the “AccessPort” software. Choose the right COM port number, and the baud rate should be 38400.
Send the AT command to change some configurations of the HC-05 module:
AT+ORGL ?Restore the default state? AT+ROLE=0 ?Configure the HC-05 as slave? AT+POLAR=1,0 ?LEDThe LED will on when the output of PIO8 is high. And it indicates connecting successfully when the output of PIO9 is low.? AT+UART=57600,0,0 ?Set baud rate to 57600, one stop bit and no parity bit? AT+INIT ?Initializing SPP library? Remember to add the "Enter" of each command when you send the commands. If the module get the command and accept it, it will return OK" :
Download Arduino IDE 1.5. Yes, the latest version, don’t use the Arduino 0022 or Arduino 1.0. Download the “rxtxserial.dll” file here, and replace the one in your Arduino IDE 1.5 Folder.
Set the Iteaduino BT into Data mode and connect with ATMega328:
When the Iteaduino BT power on, use your laptop or PC with Bluetooth Adaptor to source the Iteaduino BT.
Enter the pin code , default “1234” .
When they are connected, open Bluetooth device and choose the device. Click the right key of the mouse and select "properties". In the “Hardware” label, you can see the COM port number of Iteaduino BT wireless port.
Open Arduino IDE 1.5. You should select "Tools->Board->Arduino Duemilanove w/ATmega 328". And select "Tools->Serial Port->COMX (the serial port of the Bluetooth device)".
Now write the code, and press the “Upload” button, you can upload your program via Bluetooth to Iteaduino BT and say goodbye to the USB cable now. Now we just test this way in Windows 7, and if you use the iOS or Linux, you need to try and hack it yourself , if you get it work in your Mac, please let us know : )