0

Adafruit Bluefruit LE UART Friend ISSUE
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Bluefruit LE UART Friend ISSUE

by tempest0 on Wed Oct 10, 2018 12:30 pm

Hello I'm trying to send just one message through Adafruit Bluefruit LE UART Friend Module like this-> https://learn.adafruit.com/assets/29595

I did this sketch:

#include <SoftwareSerial.h>

void setup() {
Serial.begin(9600); // (PINS: 0->TX, 1->RX)
}

void loop() {
Serial.write("Comunicando\n");
delay(1000);
}

UART dip switch is on, CMD is off
I plugged pin 0 (TX) from arduino uno to RXI of bluefruit module, pin 1 (RX) from arduino to TXI of bluefruit module. And VIN to 5 volts and GND to ground.
I installed Adafruit Bluefruit LE Connect app in my phone.

Blue led of CONN in bluetooth module is blinking (it is assumed that is sending message) as same time that RX in arduino is blinking.

When i connect to bluefruit bluetooth module from my phone program says UART CAPABLE but when i try to see message "Comunicando" in terminal of Adafruit app, this says Uart protocol can not be initialized.

Could somebody help me?

I would like in the future to connect two arduinos through both bluetooth modules in order to send and receive message each one from the other one.

Thanks
Attachments
Screenshot_20181010-181043.jpg
Screenshot_20181010-181043.jpg (46.38 KiB) Viewed 141 times
Screenshot_20181010-181029.jpg
Screenshot_20181010-181029.jpg (60.24 KiB) Viewed 141 times
skectch and serial monitor.jpg
skectch and serial monitor.jpg (153.48 KiB) Viewed 141 times

tempest0
 
Posts: 3
Joined: Wed Oct 10, 2018 11:51 am

Re: Adafruit Bluefruit LE UART Friend ISSUE

by cetronic on Thu Oct 18, 2018 5:53 am

Any help about this, pls?

Thanks for your support

cetronic
 
Posts: 42
Joined: Mon Oct 08, 2012 5:01 am

Re: Adafruit Bluefruit LE UART Friend ISSUE

by djrosu on Mon Mar 04, 2019 2:41 am

This may be a problem with cached services. Try removing (forget) the BLE device from your android device and then scan and reconnect. Here is an link to more info.

https://devzone.nordicsemi.com/f/nordic ... 2688#32688

djrosu
 
Posts: 3
Joined: Sat Oct 11, 2014 2:08 am

Re: Adafruit Bluefruit LE UART Friend ISSUE

by adafruit_support_carter on Mon Mar 04, 2019 11:03 pm

See the BLEUart example:
https://learn.adafruit.com/introducing- ... nd/bleuart

You are only writing to the Arduino Serial Monitor, not the BLE device. That requires:
https://github.com/adafruit/Adafruit_Bl ... e.ino#L167

For issues with app caching, see here:
https://learn.adafruit.com/bluefruit-le ... leshooting

adafruit_support_carter
 
Posts: 11091
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.