Search found 362 matches
- Tue Dec 18, 2018 1:33 pm
- Forum: General Discussion
- Topic: esp_wifi_set_max_tx_power, help with programming guide info
- Replies: 6
- Views: 4692
Re: esp_wifi_set_max_tx_power, help with programming guide info
I actually had a look at the esp_wifi_set_max_tx_power function this time and it seems fairly clear to me, though I agree the values seem rather arbitrary. Here's my understanding as an amateur: esp_wifi_set_max_tx_power takes a int8_t as a parameter indicating the desired power level. So acceptable...
- Tue Dec 18, 2018 12:08 pm
- Forum: General Discussion
- Topic: esp_wifi_set_max_tx_power, help with programming guide info
- Replies: 6
- Views: 4692
Re: esp_wifi_set_max_tx_power, help with programming guide info
At the same link you provided there's also esp_wifi_get_max_tx_power(int8_t *power) which seems to complement the function to set it.
https://demo-dijiudu.readthedocs.io/en/ ... erP6int8_t
So I think 78 is your answer.
https://demo-dijiudu.readthedocs.io/en/ ... erP6int8_t
So I think 78 is your answer.
- Sat Dec 15, 2018 10:22 pm
- Forum: ESP32 Arduino
- Topic: Entering deep sleep and wake up with one button
- Replies: 1
- Views: 2595
Re: Entering deep sleep and wake up with one button
You should only be flagging it in the interrupt routine (eg. _goToSleep=true;). That's all.
Then handle it in the loop: if(_goToSleep)...
I'd suggest an external pulldown too.
Then handle it in the loop: if(_goToSleep)...
I'd suggest an external pulldown too.
- Sat Dec 15, 2018 9:23 pm
- Forum: ESP32 Arduino
- Topic: Help with Rotary Encoder and ESP32 Thing
- Replies: 3
- Views: 4919
Re: Help with Rotary Encoder and ESP32 Thing
I was playing with the pulse counter module a little while ago for something different. Upload this and see if it's useful for you: #include "driver/pcnt.h" #define ENCODER_PIN_A GPIO_NUM_13 #define ENCODER_PIN_B GPIO_NUM_14 #define PULSE_COUNT_UNIT PCNT_UNIT_0 int16_t theCounter = 0; static void in...
- Tue Dec 11, 2018 1:37 am
- Forum: ESP32 Arduino
- Topic: Additional current draw in Deep Sleep+ULP if WiFi.begin() called
- Replies: 5
- Views: 2953
- Mon Dec 10, 2018 9:12 am
- Forum: ESP32 Arduino
- Topic: Additional current draw in Deep Sleep+ULP if WiFi.begin() called
- Replies: 5
- Views: 2953
Additional current draw in Deep Sleep+ULP if WiFi.begin() called
I have a ULP program that reads a rotary encoder and wakes the cores when input is detected, then WiFi is connected to do work, then back into Deep Sleep. While testing low power consumption, I observed this (where 'WiFi.begin?' = Whether or not WiFi.begin() was called before entering Deep Sleep; 'U...
- Sat Dec 08, 2018 8:17 am
- Forum: ESP32 Arduino
- Topic: http POST fails via ESP32. Httpresponse -11 generated by HTTPClient.h
- Replies: 2
- Views: 2547
Re: http POST fails via ESP32. Httpresponse -11 generated by HTTPClient.h
Well what happens if you send the exact same request composed with your browser or Fiddler or similar? That's the first thing I would try, then you'll know if the issue is with your ESP32 code or the server.
- Fri Dec 07, 2018 7:57 pm
- Forum: ESP32 Arduino
- Topic: I2C on Sparkfun ESP32; Pull-Up resistors not working. Ideas?
- Replies: 3
- Views: 4386
Re: I2C on Sparkfun ESP32; Pull-Up resistors not working. Ideas?
Can you confirm that you ran the i2c scanner on the ESP32? And it found the accelerometer? It's unlikely to be a hardware issue if that is working fine. In that case, I would be double-checking the address. I suspect it's expecting 0x1D but your accelerometer is at 0x1C (or vice versa). Run the scan...
- Thu Dec 06, 2018 12:35 pm
- Forum: ESP32 Arduino
- Topic: WROVER with Arduino IDE
- Replies: 3
- Views: 4975
Re: WROVER with Arduino IDE
Select the correct board and it will be fine. The WROVER boards have a flag in boards.txt, "-DBOARD_HAS_PSRAM".
- Sat Sep 08, 2018 1:40 pm
- Forum: ESP32 Arduino
- Topic: re-enter deep sleep in esp_wake_deep_sleep()
- Replies: 4
- Views: 2849