Flora + BlueFruit LE

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

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

Flora + BlueFruit LE

Post by Mhassan8 »

Hi,

I am using Flora V3 and Bluefruit LE to get foot pressure readings for smart shoe insole. The serial plotter in Arduino interface show good response upon applying pressure. I need to have a live view of this plot on my phone via Bluetooth. I connected the Bluefruit module to Flora and installed the bluefruit connect app on my phone. I was apple to connect the Bluetooth module to the phone but when I open the PLOTTER in the app, there is "No Chart data available" message, what I am missing. Here is the Arduino code I am using:

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

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);
}

User avatar
bidrohini
 
Posts: 202
Joined: Thu Oct 20, 2022 10:03 am

Re: Flora + BlueFruit LE

Post by bidrohini »

Tried all troubleshooting techniques given here?
https://learn.adafruit.com/bluefruit-le ... leshooting

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

Re: Flora + BlueFruit LE

Post by Mhassan8 »

Yes, is there something missing in my code. A bluetooth communication command or anything?

Thanks for your help

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

Re: Flora + BlueFruit LE

Post by Mhassan8 »

Guys, any help?

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

Return to “Wireless: WiFi and Bluetooth”