Difference between revisions of "Bluetooth wirelessly download for DUE Pro"

From Geeetech Wiki
Jump to: navigation, search
(Created page with " == Overview == Wireless programming and data transmission can be achieved simply from the BLuetooth.Now ,I will show my test. Hardware needed * [http://www.geeetech.com/...")
 
Line 18: Line 18:
 
2.Connect the USB serial FT232RL and bluetooth
 
2.Connect the USB serial FT232RL and bluetooth
  
      GND------GND
+
GND------GND
 
            
 
            
 
        
 
        
      VCC------VCC
+
VCC------VCC
  
  
      TX-------TX
+
TX-------TX
  
  
      RX-------RX
+
RX-------RX
  
  
Line 34: Line 34:
 
3.Open Serial Monitor and  set the bluetooth .
 
3.Open Serial Monitor and  set the bluetooth .
  
You input command " AT+DEFAULT", then input  " AT +BAUD8". As the Iduino DUE download baud is 115200.
+
You input command " AT+DEFAULT", then input  " AT +BAUD8". As the Iduino DUE download baud is 115200,if you want to transmit data ,
 +
 
 +
you would set same baud for the software.
 +
 
  
 
Two bluetooths to do the same action.
 
Two bluetooths to do the same action.
  
Of course ,there are a lot of ways to communicate two bluetooths ,you can       to
+
Of course ,there are a lot of ways to communicate between two bluetooths ,you can reference    to build commnnication ,we use most easy way and don't anything.
  
 
4.Follow step 2 to connect master bluetooth and the USB serial FT232RL , and connect slave bluetooth to Iduino DUE like as:
 
4.Follow step 2 to connect master bluetooth and the USB serial FT232RL , and connect slave bluetooth to Iduino DUE like as:
  
  
      GND------GND
+
GND------GND
 
            
 
            
 
        
 
        
      VCC------3.3V
+
VCC------3.3V
  
  
      TX-------RX
+
TX-------RX
  
  
      RX-------TX
+
RX-------TX
  
  
 
5.Power up for the Iduino DUE from battery,  programming would fail if you power up from USB port .
 
5.Power up for the Iduino DUE from battery,  programming would fail if you power up from USB port .
  
first,press the ERASS button 2 seconds
+
If the bule LED of buletooth is light mean two buletooths communicate , blink is connecting.
 +
 
 +
 
 +
Press the ERASS button 2 seconds ,then press the reset button.
 +
 
 +
Now you can wirelessly program for Iduino DUE Pro
 +
 
 +
Please open Aduino IDE 1.5 and selct Aduino DUE(programming port) in board.
 +
 
 +
 
 +
We also wirelessly program and transmit data for other boards ,such as UNO,LilyPad,Arduino Pro Mini and so on. But you must set right baud for buletooth.
 +
 
 +
You can reference
 +
 
 +
 
 +
 
 +
DUE            115200
 +
 
 +
 
 +
ATMEGA328        57600
 +
 
 +
 
 +
ATMEGA168        19200
 +
 
 +
 
 +
DUEMILANOVE328  57600

Revision as of 08:24, 3 July 2013

Overview

Wireless programming and data transmission can be achieved simply from the BLuetooth.Now ,I will show my test.


Hardware needed

Step

1.A Bluetooth module's key turns to "M" as master ,other's key turns to "S" as slave.

2.Connect the USB serial FT232RL and bluetooth

GND------GND


VCC------VCC


TX-------TX


RX-------RX


Some FT232 shields,you would connct TX to RX,and RX to TX.

3.Open Serial Monitor and set the bluetooth .

You input command " AT+DEFAULT", then input " AT +BAUD8". As the Iduino DUE download baud is 115200,if you want to transmit data ,

you would set same baud for the software.


Two bluetooths to do the same action.

Of course ,there are a lot of ways to communicate between two bluetooths ,you can reference to build commnnication ,we use most easy way and don't anything.

4.Follow step 2 to connect master bluetooth and the USB serial FT232RL , and connect slave bluetooth to Iduino DUE like as:


GND------GND


VCC------3.3V


TX-------RX


RX-------TX


5.Power up for the Iduino DUE from battery, programming would fail if you power up from USB port .

If the bule LED of buletooth is light mean two buletooths communicate , blink is connecting.


Press the ERASS button 2 seconds ,then press the reset button.

Now you can wirelessly program for Iduino DUE Pro

Please open Aduino IDE 1.5 and selct Aduino DUE(programming port) in board.


We also wirelessly program and transmit data for other boards ,such as UNO,LilyPad,Arduino Pro Mini and so on. But you must set right baud for buletooth.

You can reference


DUE 115200


ATMEGA328 57600


ATMEGA168 19200


DUEMILANOVE328 57600