Impossible to make my ESP32 visible on BLuetooth
Posted: Mon May 04, 2020 8:40 pm
Environment:
• ESP32 Chip (Custom PCB) / DevKit : esp32doit-devkit-v1
• IDE : PlatformIO
• Framework : Arduino.
• Operating System : Windows 10
Problem Description:
I used a very simple Bluetooth sketch based on BluetoothSerial.h.
When I load, this sketch on Devkit, it works fine and my ESP32 devkit is visible by my cell phone and obviously, my LED is blinking.
If I load the same program on my Custom PCB where ESP32 chip is soldered, impossible to see my ESP32 on my cell phone whereas my LED is blinking.
The program is so simple that I guess there is a problem somewhere else but I don’t know where to investigate.
Any idea ?
Thanks.
Pierre.
• ESP32 Chip (Custom PCB) / DevKit : esp32doit-devkit-v1
• IDE : PlatformIO
• Framework : Arduino.
• Operating System : Windows 10
Problem Description:
I used a very simple Bluetooth sketch based on BluetoothSerial.h.
Code: Select all
#include <Arduino.h>
#include <BluetoothSerial.h>
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
#define LED 2
//#define LED 18
BluetoothSerial SerialBT;
void setup() {
// put your setup code here, to run once:
pinMode(LED,OUTPUT);
digitalWrite(LED,HIGH);
//delay(5000);
SerialBT.begin("ESP32test");
//delay(5000);
}
void loop() {
digitalWrite(LED,HIGH);
delay(500);
digitalWrite(LED,LOW);
delay(500);
}
If I load the same program on my Custom PCB where ESP32 chip is soldered, impossible to see my ESP32 on my cell phone whereas my LED is blinking.
The program is so simple that I guess there is a problem somewhere else but I don’t know where to investigate.
Any idea ?
Thanks.
Pierre.