Search found 42 matches

by Kaisha
Tue Apr 28, 2020 3:54 pm
Forum: ESP-IDF
Topic: ESP-NOW specifics [WIFI-2245]
Replies: 19
Views: 24311

Re: ESP-NOW specifics [WIFI-2245]

Its not quite clear in the documentation how ESP-NOW and WiFi access are supposed to work, when they are both being used at the same time. The biggest issue is WiFi channel selection. When setting up ESP-NOW you are required to supply a WiFi channel. So if I wanted to setup a simple ESP-NOW sensor n...
by Kaisha
Sat Apr 25, 2020 12:09 am
Forum: ESP-IDF
Topic: ESP-NOW specifics [WIFI-2245]
Replies: 19
Views: 24311

Re: ESP-NOW specifics [WIFI-2245]

I wish this was documented more clearly, and I'd like to know if they intend for WiFi and ESP-NOW to work together, and if so what we need to do pre and post WiFi connection.
by Kaisha
Fri Apr 24, 2020 10:14 pm
Forum: ESP-IDF
Topic: ESP-NOW specifics [WIFI-2245]
Replies: 19
Views: 24311

Re: ESP-NOW specifics [WIFI-2245]

My understanding is that the WiFi channel is switched to whatever the current AP you are connected to is using. This can cause a problem if your ESP-NOW code is working on, say channel 1, while the AP wants channel 11. I'm not sure if there's any way around this atm... Maybe someone with more knowle...
by Kaisha
Fri Apr 24, 2020 4:36 pm
Forum: ESP-IDF
Topic: ESP-NOW specifics [WIFI-2245]
Replies: 19
Views: 24311

Re: ESP-NOW specifics [WIFI-2245]

From my understanding there are some issues with using ESP-NOW with WiFi. Specifically when you connect to an AP and its a different channel from ESP-NOW.
by Kaisha
Sun Mar 15, 2020 6:48 pm
Forum: ESP-IDF
Topic: Switching between analog and digital GPIO pin
Replies: 1
Views: 3767

Switching between analog and digital GPIO pin

If I switch a pin to use the adc with adc_gpio_init(), and later I want to use the pin for digital I/O. Is there some de-init function that needs to be called? Is a simple call to gpio_config(), with the appropriate settings, sufficient? Do I need to recalibrate? Call adc1_config_channel_atten() aga...
by Kaisha
Sun Mar 15, 2020 6:43 pm
Forum: ESP-IDF
Topic: ESP-IDF and 2x16 LCD display
Replies: 2
Views: 5593

Re: ESP-IDF and 2x16 LCD display

The ESP-IDF handles C++ just fine. Here's what I'm using, feel free to copy/paste: // ************************************************************************************************************************** // SumpRelayModule\HD44780U.h // // HD44780U LCD control // - the HD44780U internal clock r...
by Kaisha
Sun Mar 15, 2020 6:20 pm
Forum: General Discussion
Topic: 5V tolerance
Replies: 7
Views: 87341

Re: 5V tolerance

Going forward, do you guys think you'll officially support 5v tolerance? It would be a nice feature to have and make interfacing much easier in many cases.
by Kaisha
Sun Mar 15, 2020 1:44 pm
Forum: General Discussion
Topic: mutex and Free RTOS scheduler
Replies: 3
Views: 8115

Re: mutex and Free RTOS scheduler

Thanks for the clarification.
by Kaisha
Sat Mar 14, 2020 2:05 pm
Forum: General Discussion
Topic: mutex and Free RTOS scheduler
Replies: 3
Views: 8115

mutex and Free RTOS scheduler

I'm trying to understand the difference (if there is one) between the Free RTOS portMUX_TYPE mutex and the SemaphoreHandle_t mutex. Are they both the same thing 'under the hood'? On various forums it has been suggested to use a local portMUX_TYPE mutex to disable the Free RTOS scheduler, does that a...
by Kaisha
Sat Mar 14, 2020 1:48 pm
Forum: General Discussion
Topic: ESP-IDF UDP
Replies: 4
Views: 7391

Re: ESP-IDF UDP

Thank-you, I'll take a look.