Search found 9 matches

by mariuselz
Thu Jan 12, 2023 10:54 am
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

Re: ESP32 S3 Bluetooth Range

Thanks for the info, I have looked over this example and also tried BLE5_multi_advertising again, but I get only 6 meters or so of range.
I am using an iPhone with LightBlue app for seeing the nearby bluetooth devices and their signal.
by mariuselz
Sat Jan 07, 2023 3:16 pm
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

Re: ESP32 S3 Bluetooth Range

FRANCISCO2020 wrote:
Thu Jan 05, 2023 11:37 am
Have you tried a new unit?

Yes, I have 15 pcbs in total, 2 different products. All behave the same.

Btw, can you let me know where you found this information?
BLEDevice::init("ESP32", true);
This will initialize Bluetooth in high power mode on the ESP32-S3.
by mariuselz
Thu Jan 05, 2023 10:20 am
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

Re: ESP32 S3 Bluetooth Range

To carry out tests with Wi-Fi... and everything related to RF, I recommend a 1A power supply to avoid problems. if you look at the pdf there are intensity peaks of more than 800mA I also powered the pcb to +12V as well and I had the same results. Also, this is Bluetooth not Wi-Fi, big difference, b...
by mariuselz
Wed Jan 04, 2023 6:52 pm
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

Re: ESP32 S3 Bluetooth Range

FRANCISCO2020 wrote:
Wed Jan 04, 2023 3:43 pm
How are you powering the esp32?

USB-C and/or battery (LiPo 3.7V)
by mariuselz
Wed Jan 04, 2023 1:09 pm
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

Re: ESP32 S3 Bluetooth Range

Yes, correct, that's how it works. I don't think this is right. I've done some testing again. Average dB signal for various power setups, between an ESP32 S3 and iPhone 12 Pro that are 20cm apart: Default: -59 dB N12: -69 dB N6: -66 dB N0: -63 dB P9: -55 dB As you can see, the higher the Tx power, ...
by mariuselz
Wed Jan 04, 2023 11:30 am
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

Re: ESP32 S3 Bluetooth Range

To set the BLE power on an ESP32, you must use the esp_ble_tx_power_set function from the BLE library and pass the desired power level as a parameter. The power level can be one of the following values: ESP_PWR_LVL_N12 (power level -12 dBm) ESP_PWR_LVL_N9 (power level -9 dBm) ESP_PWR_LVL_N6 (power ...
by mariuselz
Sat Dec 24, 2022 12:29 pm
Forum: ESP32 Arduino
Topic: ESP32 S3 Bluetooth Range
Replies: 13
Views: 20759

ESP32 S3 Bluetooth Range

Hi guys, I'm a bit lost regarding the BLE 5 range of the S3, any sort of feedback is very much appreciated. I have totally redesigned a previous existing pcb and updated it to ESP32-S3 in order to benefit of 2 main things: OTA updates (wifi) and long range bluetooth (as I was using hm-10 module BLE ...
by mariuselz
Sat Dec 24, 2022 12:14 pm
Forum: ESP32 Arduino
Topic: Read battery voltage on GPIO 41 (ESP32-S3 and Arduino IDE)
Replies: 4
Views: 4719

Re: Read battery voltage on GPIO 41 (ESP32-S3 and Arduino IDE)

Is it because there is no Analog Function on ESP32-S3 GPIO 41? Exactly that. If you want a pin with an ADC function, check the ESP32-S3 datasheet and pick one of the pins that also have ADC1_CHx as a function. (ADC2 is not really usable on the S3 iirc.) That was it. I changed the pin while waiting ...
by mariuselz
Wed Dec 21, 2022 7:56 pm
Forum: ESP32 Arduino
Topic: Read battery voltage on GPIO 41 (ESP32-S3 and Arduino IDE)
Replies: 4
Views: 4719

Read battery voltage on GPIO 41 (ESP32-S3 and Arduino IDE)

Hello, I have built a code for reading a battery voltage - initially on pin GPIO_NUM_35 on normal ESP32 There was no setup for this pin, I only did analogRead(GPIO_NUM_35) and I was getting some values (0-4095) that afterwards I convert in voltage. My problem is, I have the same code but on ESP32-S3...