Custom Board: WIFI AND BLE NOT WORKING #9794
Replies: 5 comments
-
// This example code is in the Public Domain (or CC0 licensed, at your option.)
// By Evandro Copercini - 2018
//
// This example creates a bridge between Serial and Classical Bluetooth (SPP)
// and also demonstrate that SerialBT have the same functionalities of a normal Serial
// Note: Pairing is authenticated automatically by this device
#include "BluetoothSerial.h"
String device_name = "ESP32-D";
// Check if Bluetooth is available
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
// Check Serial Port Profile
#if !defined(CONFIG_BT_SPP_ENABLED)
#error Serial Port Profile for Bluetooth is not available or not enabled. It is only available for the ESP32 chip.
#endif
BluetoothSerial SerialBT;
void setup() {
Serial.begin(115200);
SerialBT.begin(device_name); //Bluetooth device name
//SerialBT.deleteAllBondedDevices(); // Uncomment this to delete paired devices; Must be called after begin
Serial.printf("The device with name \"%s\" is started.\nNow you can pair it with Bluetooth!\n", device_name.c_str());
}
void loop() {
if (Serial.available()) {
SerialBT.write(Serial.read());
}
if (SerialBT.available()) {
Serial.write(SerialBT.read());
}
delay(20);
} and this is the ble code i am using to check |
Beta Was this translation helpful? Give feedback.
-
If it works on deb board but not on your custom one, it would mean that you have a hardware issue with your own board. Maybe antenna is disconnected or shielded in some way. At least provide image of the board |
Beta Was this translation helpful? Give feedback.
-
I don't see anything obvious. #include "WiFi.h"
void setup() {
Serial.begin(115200);
Serial.setDebugOutput(true);
WiFi.begin("AutoConnectAP","password");
delay(10000);
}
void loop() {
delay(1000);
} |
Beta Was this translation helpful? Give feedback.
-
Converting this issue to Discussion as it is related to HW or User Custom Board. |
Beta Was this translation helpful? Give feedback.
-
i changed the IC and now its working fine. might be the issue with antenna ! |
Beta Was this translation helpful? Give feedback.
-
Board
ESP32 WROOM32E
Device Description
my ic is on my customized pcb board . uart code is working on ic but ble and wifi are not working
Hardware Configuration
do i have to enable any pins inorder to enable wifi or ble . the same code worked fine for development kit but i am facing issue on my pcb
Version
latest master (checkout manually)
IDE Name
arduino ide
Operating System
windows 11 pro
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
115200
Description
i am unable to detect wifi or ble after uploading my code . the same code worked fine on development board. but on my pcb ist not working. i am uploading the code using esp - prog v1.1 capuf programmer.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions