Wireless Programming Your Iteaduino BT

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:

1. 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:

2. 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:

3. 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.

4. 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 (The 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” :

5. 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.

6. Set the Iteaduino BT into Data mode and connect with ATMega328:

7. When the Iteaduino BT power on,  use your laptop or PC with Bluetooth Adaptor to source the Iteaduino BT.

8. Enter the pin code , default “1234” .

9. 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.

10. 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)”.

11. 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 : )

 

Responses to “Wireless Programming Your Iteaduino BT

  1. Tested on OSX Mountain Lion, works flawlessly :)
    Same configs, just the access to the serial port differs (/dev/blablabla), but works.

    It is a bit lazy for real, even with baud rate on 115200 it takes about 1 minuto do flash, but it’s OK.
    Regards,
    VIctor.

    • Hi Victor:

      I also tried with OSX Mountain Lion, but I can only get it work at baud rate 38400. Is there any stop bit and parity bit you used for baud rate 115200?

      Thanks!

      Best Regards,

      Lee

  2. How did you guys made it work in OSX? Part of the procedure is replacing the rxtxserial.dll right? That’s a windows file. Is there an equivalent for mac osx?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>