Search found 8 matches

by rbrakhya
Thu Aug 05, 2021 9:05 am
Forum: ESP32 Arduino
Topic: read different analog values?
Replies: 2
Views: 4300

Re: read different analog values?

I have posted the same question, but didn't get an answer. Tested with two boards, both only connected to gpio1 regardless of the analogRead setting.
by rbrakhya
Sun Jul 04, 2021 9:11 pm
Forum: ESP32 Arduino
Topic: ADC channel selection
Replies: 0
Views: 2225

ADC channel selection

I´ve been struggling to change the ADC channel on an ESP32-C3. I get an ADC value, but only from GPIO0 no matter what i set in analogread() it always reads GPIO0. I tried two boards to rule out physical damage. Any ideas what can be wrong? https://docs.espressif.com/projects/esp-idf/en/latest/esp32c...
by rbrakhya
Tue Jun 01, 2021 7:38 pm
Forum: ESP32 Arduino
Topic: BLEDevice::setPower has no effect?
Replies: 8
Views: 12999

Re: BLEDevice::setPower has no effect?

Probably i am missing something, but my aim was to check at what range two ESP32-C3-DevkitM-1 with the pcb trace antenna could scan an advertisement. I started with the examples. I just had the modules and usb power sources with me, so i could not check any serial data, i used an led to indicate the...
by rbrakhya
Sat May 29, 2021 8:53 pm
Forum: ESP32 Arduino
Topic: BLEDevice::setPower has no effect?
Replies: 8
Views: 12999

Re: BLEDevice::setPower has no effect?

Thanks!
Amazing performance! Was able to scan advertisements at +18dBm at a distance of 2.7km LOS! :o
by rbrakhya
Wed May 19, 2021 9:14 pm
Forum: ESP32 Arduino
Topic: BLEDevice::setPower has no effect?
Replies: 8
Views: 12999

BLEDevice::setPower has no effect?

Im trying to set the TX power on BLE advertising to +18dbm on a esp32-C3. Using the provided sample code, BLE_extended_scan and BLE_multi_advertising , i modified it to hopefully only advertise on CODED PHY and flashed two devices, one with each code. But the settings for the TX power have no effect...
by rbrakhya
Tue May 18, 2021 5:27 am
Forum: ESP-IDF
Topic: BLE: Set coding of ESP32-C3
Replies: 2
Views: 2736

BLE: Set coding of ESP32-C3

I need to make sure that i have maximised the range of the BLE, i've managed to set the mode to CODED PHY, TX_power=15, how can i see which coding is used, s=2 or s=8? I've used these settings: esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_DEFAULT, ESP_PWR_LVL_P18 ); esp_ble_gap_set_prefered_default_phy(ESP...
by rbrakhya
Sat May 15, 2021 1:18 pm
Forum: ESP-IDF
Topic: Config for esp32c3
Replies: 1
Views: 2630

Config for esp32c3

I tried configuring a project for the esp32c3, but it seems it´s not a valid choice? Do i have a too old version of something? Cmake is 3.16.4 ESP-IDF v4.2.1-dirty Don´t be too hard on me, i´m a beginner.. C:\Users\rbrak\Arduino\BLE_client>idf.py set-target esp32c3 Usage: C:\Users\rbrak\ESP-IDF\esp-...
by rbrakhya
Sat May 08, 2021 12:56 pm
Forum: ESP IoT Solution
Topic: esp32-C3 BLE coded Phy beacon app
Replies: 4
Views: 18573

Re: esp32-C3 BLE coded Phy beacon app

I have the same question, a little help anyone?