by Grey Thu Mar 13, 2014 3:36 am
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: [url=http://www.dfrobot.com/index.php?route=product/product&filter_name=BLE&product_id=1073#.UyEoK_lyDFJ]BLE-LINK[/url]will 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: [url=http://www.dfrobot.com/wiki/index.php/BLE-Link_(SKU:TEL0073)]http://www.dfrobot.com/wiki/index.php/BLE-Link_(SKU:TEL0073)[/url]

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]void setup()

  Serial.begin(115200);
}

void loop()

  if(Serial.available()>0)
  {
    char inbyte=Serial.read();
    Serial.print(inbyte);
  }
}

[/code]


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
Last edited by Grey on Wed Mar 11, 2015 1:43 am, edited 1 time in total.
by amburkoff Wed Jun 25, 2014 11:46 am
Help, do not get wireless programming.
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!
by Grey Thu Jun 26, 2014 2:04 am
Welcome amburkoff,

1) Please update the newest firmware to BLE-LINK. You could check the tutorial [url=http://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)
by nick.koning Thu Jul 30, 2015 9:30 am
Hello,

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

[img]http://sn54.com/setup.jpg[/img]

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

Who is online

Users browsing this forum: Google [Bot] and 0 guests