#8778
Hello,

I am trying to connect my Bluno Beetle (acting as Central) with other BLE arduino device, which is Adafruit Bluefruit (nRF51822). I have already done:
- setting my Bluno to central mode
- setting both BLEs to 9600 baud rate
- setting both BLEs min and max connection intervals to 10ms
- binding Bluefruit MAC address to my Bluno BLE

The Bluefruit BLE is default set to peripheral mode (as its firmware only supports peripheral mode actually). Any ideas why the connection doesn't want to establish automatically?

This is the code I'm using on my Bluno:
Code: Select all
void setup() {
    Serial.begin(9600);   
}
 
void loop()
{
    if(Serial.available())
    {   
        Serial.write(Serial.read());
    }
}

Thanks in advance for any suggestions.
#8784
1 Update the firmware to the latest version;

2 Apply the default setting by AT command AT+SETTING=DEFAULT;
Then doing something you have done.

3 Check if the serial port is used correctly if you use Leonardo, Mega etc which contains multiple serial ports. e.g. Leonardo uses Serial1.****() instead of Serial.****() for the I/O Pin 0,1. The Serial.****()is for the USB port.

4 Check if the baud rate in different places are corresponding: (38400 is suggested for 8MHz boards)
1 In codes > Serial*.begin(?)
2 BLE modules > Baud rate setting

5 Reboot the module.
#8786
if it doesn't work, perheps your Bluno Beetle and Adafruit Bluefruit are not compatible.I suggest that the BLE Link -A Bluetooth 4.0 or USB BLE-Link maybe more suitable for you.
the link:
BLE Link -A Bluetooth 4.0:
http://www.dfrobot.com/index.php?route= ... wdI3kf1pmR

USB BLE-Link:
http://www.dfrobot.com/index.php?route= ... wdIRkf1pmQ

however you can write your own driver to Adafruit Bluefruit if you
are Technology Great God. 0-0
#8791
Oh, what a pity... If I only knew it before I bought both boards... :roll: Nevertheless, thank you very much for your quick reply - it saved me a lot of time which I could spend on senseless attempts to connect these two boards together. ;)
By Leff
#8799
;) Pleasure to help. But your word is a good remind for us to put a notice in it's description or somewhere, where do you think would be a good place to put the notice about the compatibility?
#9006
Hi..i worked with Arduino during my projects and as per my knowledge you should update the firmware to the latest version;
Apply the default setting by AT command AT+SETTING=DEFAULT. Then doing something you have done. Check if the serial port is used correctly if you use Leonardo, Mega etc which contains multiple serial ports. e.g. Leonardo uses Serial1.****() instead of Serial.****() for the I/O Pin 0,1. The Serial.****()is for the USB port.

circuit card assembly
Last edited by tessyevans on Thu Jun 09, 2016 3:11 pm, edited 1 time in total.
By Leff
#9029
So any problem, sorry?
tessyevans wrote:Hi..i worked with Arduino during my projects and as per my knowledge you should update the firmware to the latest version;
Apply the default setting by AT command AT+SETTING=DEFAULT. Then doing something you have done. Check if the serial port is used correctly if you use Leonardo, Mega etc which contains multiple serial ports. e.g. Leonardo uses Serial1.****() instead of Serial.****() for the I/O Pin 0,1. The Serial.****()is for the USB port.