How to connect Bluetooth module'Bluefruit LE UART Friend" to Arduino Uno Uno

I have connected the arduino and the module like this :

#include <SoftwareSerial.h>



SoftwareSerial bleSerial(9, 10); // RX, TX pins of Bluetooth module



void setup() {

Serial.begin(9600);

bleSerial.begin(9600);

}



void loop() {

if (bleSerial.available()) {

// Read the incoming data from the Bluetooth module

char c = bleSerial.read();

// Echo the data back to the module

bleSerial.write(c);

// Print the data to the serial monitor

Serial.print("Received: ");

Serial.println(c);

}



if (Serial.available()) {

// Read the incoming data from the serial monitor

char c = Serial.read();

// Send the data to the Bluetooth module

bleSerial.write(c);

// Print the data to the serial monitor

Serial.print("Sent: ");

Serial.println(c);

}

}

I get no input when I interact with the control pad on the bluefruit app

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.