• 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.