Bluefruit Le factory reset issue

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Mhassan8
 
Posts: 9
Joined: Fri Oct 21, 2022 9:13 am

Bluefruit Le factory reset issue

Post by Mhassan8 »

Hi All,

My project is very simple but stuck at the bluetooth connectivity. My wiring diagram is shown at the end using flora V3 and Bluefruit Le and velostat pressure sensitive material.

I am using this code to get responses when I apply pressure on the velostat:

Code: Select all

int fsrPin = 10;     // the FSR and 1M pulldown are connected to a0
int fsrReading;     // the analog reading from the FSR resistor divider
//#define BLUEFRUIT_HWSERIAL_NAME           Serial1


void setup(void) {
  Serial.begin(9600);   
}
 
void loop(void) {
  fsrReading = analogRead(fsrPin);  
 
  Serial.print("Analog reading = ");
  Serial.print(fsrReading);     // print the raw analog reading
 
  if (fsrReading < 0) {
    Serial.println(" - No pressure");
  } else if (fsrReading < 0.1) {
    Serial.println(" - Light touch");
  } else if (fsrReading < 1) {
    Serial.println(" - Light squeeze");
  } else if (fsrReading < 4) {
    Serial.println(" - Medium squeeze");
  } else {
    Serial.println(" - Big squeeze");
  }
  delay(50);
}
I got good response on the Arduino serial plotter. Now I want to get the same on my cellphone. I installed the Bluefruit libraray and installed the blueconnect app on my phone. It can connect to the Bluetooth module but when I open the plotter, I found nothing. I tried to run an example from the bluefruit library but I got this message:

Code: Select all

Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Performing a factory reset: 
AT+FACTORYRESET

<- Couldn't factory reset
I tried every possible factory reset troupleshoot but still getting this. I am not sure if the plot doesn't show up on blueconnect app due to the factory reset issue or due to something is missing on my code. Please help.
Attachments
20221031_171838 copy.jpg
20221031_171838 copy.jpg (372.48 KiB) Viewed 233 times

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: Bluefruit Le factory reset issue

Post by adafruit_support_mike »

In your diagram, how is the DATA/COMMAND switch set?

The AT+FACTORYRESET command should be nearly impossible to override, but the BLE module wouldn't give the correct response if it's in DATA mode.

User avatar
Mhassan8
 
Posts: 9
Joined: Fri Oct 21, 2022 9:13 am

Re: Bluefruit Le factory reset issue

Post by Mhassan8 »

I tried that too, changed the switch to CMD and still can't factory reset. I think I received a faulty circuit and I need replacement. How can I request replacement?

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: Bluefruit Le factory reset issue

Post by adafruit_support_mike »

This is where we approve replacements.

I still need a bit more information: can you post a photo showing your actual hardware and connections please? 800x600 images usually work best.

User avatar
Mhassan8
 
Posts: 9
Joined: Fri Oct 21, 2022 9:13 am

Re: Bluefruit Le factory reset issue

Post by Mhassan8 »

Here is the image, I tried every possible iteration, with changing the wires, using the mode pin or not, etc.
Kindly, I have a deadline and I need the BlE circuit ASAP.

Image
Attachments
20221105_105835-2.jpg
20221105_105835-2.jpg (293.62 KiB) Viewed 196 times

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: Bluefruit Le factory reset issue

Post by adafruit_support_mike »

I'm not sure about the clips with a jumper wire between them, but let's assume it's good.

When did you get the BLE board?

User avatar
Mhassan8
 
Posts: 9
Joined: Fri Oct 21, 2022 9:13 am

Re: Bluefruit Le factory reset issue

Post by Mhassan8 »

Connections are good as I changed them many times including cables.
I ordered on 10-20-2022 and received on 10-26-22
Order Confirmation No: 2944020-6740418749

Again, I have a deadline and appreciate your expedited action.

Regards,

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: Bluefruit Le factory reset issue

Post by adafruit_support_mike »

That's well within our return/replace period, thank you.

Send a note containing a link to this page and your order number to [email protected]. The folks there will get you a replacement.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wearables”