BLE-LINK: Bluetooth 4.0 wireless programming and communicati

It is very trouble, when you debug the Arduino project. Especially the sketch uploading!
You have to plug and unplug the USB cable again and again.
It is time to git rid of it now.
The new DFRobot product: BLE-LINKwill help you to realize this situation.
[img]
BLE Link is a communication module based on bluetooth 4.0, it uses the XBEE model which is compact and is compatible with all shields with XBEE socket. BLE Link supports both 5V and 3.3V MCUs.
By linking into star network of low power consumption, BLE achieves rapid real-time communication. Many software or hardware engineers are hoping to have such a platform that is able to do this.
Get down to business
What we need :
BLE-LINK module x2
I/O expansion shield V7 x1
Arduino board: UNO x1
Step 1: Preparation
We need set the role of the two modules: a Master and a Client.
What you need to pay more attention are:
1 Role : AT +ROLE
2 baud rate: AT+UART
3 Connect mode: AT+ CMODE
BLE-LINK wiki page: http://www.dfrobot.com/wiki/index.php/BLE-Link_(SKU:TEL0073)
Step 2: Hardware connection
After you have finished the BLE setting.
It will be very easy.
Plug client on the I/O expansion shield, and plug the I/O expansion shield on the UNO.
Plug master to your PC usb port.
Step 3: Uploading
Select your Arduino board in Arduino IDE.
Select your USB COM port(BLE)
Click "upload"
NB: When you power two modules, the leds "LINK" will be turn on(if the parameter setting is correct.)
8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8)
Finish~
Receive sample code:
Code: Select allvoid setup()
{
Serial.begin(115200);
}
void loop()
{
if(Serial.available()>0)
{
char inbyte=Serial.read();
Serial.print(inbyte);
}
}
This module has a long transmission distance: about 60m in free space.
And very low power consumption.
So, don't be waiting, just do it!
Update 2014/12/23
Now it has been a new product USBBLE-LINK, it is a BLE dongle, which has the same function like BLE Link
So it's working now? Congratulation!
Is there any sketch using Serial.***() function in the Mega?

It still is not working.
I've hooked the ble-link up to the scope and it seems the ble-link is not receiving a reset. (When i manually reset uploading works Any suggestions?

From the error info, it seems that you didn't choose the right Board(uno) or Port.

I am trying to upload a sketch wireless. It is not working.
this is the setup:
- arduino 1.6.4 IDE (arduino.cc) on windows 8.1
- dfrobot usb ble-link - firmware v 1.93
- dfrobot ble-link - firmware v 1.93
- dfrobot mega sensor shield v2.4
- arduino mega 2560 (rev2)
the USB ble-link has the following configuration:
name: BLE-Link
version: v1.93
setting: DEFCENTRAL
role: ROLE_CENTRAL
cmode: ANYONE
uart: 115200,8,N,1
blunodebug = OFF
usbdebug = OFF
the ble-link has the following configuration:
name: Bluno
version: v1.93
setting: DEFPERIPHERAL
role: ROLE_PERIPHERAL
cmode: ANYONE
uart: 115200,8,N,1
blunodebug = OFF
usbdebug = OFF
ble-link switch is on normal
serial communication between USB ble-link and the ble-link works fine!
the green link led on the ble-link is on
the blue link led on the USB ble-link is on
Wireless uploading is not working. Nothing happens and after a while arduino throws an error:
Arduino: 1.6.4 (Windows 8.1), Board: "Arduino Uno"
Sketch uses 450 bytes (1%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x51
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x51
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
PLEASE HELP

1) Please update the newest firmware to BLE-LINK. You could check the tutorial [url=https://www.dfrobot.com/wiki/index.php/BLE-Link_(SKU:TEL0073)#Update_BLE_Firmware]here[/url].
2) For the wireless programming, it requires to connect COM 0.
3) You need to pair two BLE-LINK first, like what I said before, set one BLE as master(AT+ROLE=ROLE_CENTRAL), set the other one as slave(AT+ROLE=ROLE_PERIPHERAL), plug master on the usb side, slave on the MEGA side.
After the link leds light, you could begin your own wireless programming.
8)

Use Arduino Mega Adk, Mega IO Expansion Shield V2.3 For Arduino Mega and two BLE-Link.
5V power supply for 5V Arduino and Mega IO Expansion Shield.
Which com port to connect the BLE-Link on Mega IO Expansion Shield(com0,com1,com2/uart0,uart1..)?
What AT commands to send to BLE-Link connected to the Arduino?
What AT commands to send to BLE-Link connected to the PC?
Please write detailed instructions!

Use Arduino Mega Adk, Mega IO Expansion Shield V2.3 For Arduino Mega and two BLE-Link.
5V power supply for 5V Arduino and Mega IO Expansion Shield.
Which com port to connect the BLE-Link on Mega IO Expansion Shield(com0,com1,com2/uart0,uart1..)?
What AT commands to send to BLE-Link connected to the Arduino?
What AT commands to send to BLE-Link connected to the PC?
Please write detailed instructions!

1 Arduino UNO;
2 ATmega328 ?
3 Mega 1280?
4 [size=14pt][color=red]Mega 2560[/color][/size];
5 [size=14pt][color=red]Bluno[/color][/size] directly
NOT SUPPORT:
Leonardo; arduino YUN

1 Arduino UNO;
2 ATmega328 ?
3 Mega 1280?
4 [size=14pt][color=red]Mega 2560[/color][/size];
5 [size=14pt][color=red]Bluno[/color][/size] directly
NOT SUPPORT:
Leonardo; arduino YUN
