Search found 123 matches

by RichPiano
Mon Nov 21, 2022 6:51 am
Forum: ESP-IDF
Topic: Use LEDC library for phase-shifted PWMs
Replies: 5
Views: 3184

Re: Use LEDC library for phase-shifted PWMs

The hpoint! Of course! I remember seeing it documented somewhere (technical reference manual maybe?) Need to look it up again, as far as I can remember, it allows you to set the upper limit of the pwm counter (effectively defining the point where the signal switches from high to low and vice versa)....
by RichPiano
Fri Nov 18, 2022 9:44 am
Forum: ESP-IDF
Topic: matter mesh using esp32 bluetooth BLE
Replies: 1
Views: 1642

matter mesh using esp32 bluetooth BLE

I'm interested in the matter standard. For our app we planned to build a bluetooth mesh, preferably using the matter protocol. After reading the blog and doc I'm still not very clear on whether you can directly run matter on BLE-mesh nodes. The doc states the following: A Matter-Zigbee Bridge uses E...
by RichPiano
Fri Nov 18, 2022 9:25 am
Forum: ESP-IDF
Topic: Use LEDC library for phase-shifted PWMs
Replies: 5
Views: 3184

Re: Use LEDC library for phase-shifted PWMs

Thank you @ESP_Sprite. That could be useful, but it's still a binary approach. As said we have 7 channels, parting it to 3 high-starting and 4 low-starting channels would mitigate the problem, but not solve it. Would be nice if I could provide this as a feedback to you or another ESP team member for...
by RichPiano
Wed Nov 16, 2022 1:22 pm
Forum: ESP-IDF
Topic: Use LEDC library for phase-shifted PWMs
Replies: 5
Views: 3184

Use LEDC library for phase-shifted PWMs

We have a lamp which uses esps LEDC library to drive seven high-speed led channels. The problem arises when they start to light up which happens almost simultanously. This brings with it the problem with high initial currents: At this time the leds will draw so much current that we're running the ri...
by RichPiano
Sat Nov 12, 2022 9:40 am
Forum: ESP-IDF
Topic: OpenSSL API wrapper not available for ports? (IDF 5.x)
Replies: 2
Views: 1938

OpenSSL API wrapper not available for ports? (IDF 5.x)

We need to develop a cross platform database client based on websockets that is portable to Windows, Linux and the ESP32. This could be most efficiently done (I think) by using the popular Websocket++ library ( github ). However, Websocket++ would use the POSIX interface and OpenSSL, whereas the Ope...
by RichPiano
Mon Nov 07, 2022 2:12 pm
Forum: ESP-IDF
Topic: pthread usage in IDF
Replies: 2
Views: 2280

Re: pthread usage in IDF

We're currently designing a cross platform realtime API for a database. Websockets requests should be routed via BSD / Windows-Sockets which I believe is also abstracted away in esp-idf. So that's a plus and if we can use pthreads we don't need to write esp specific code at all. I don't understand w...
by RichPiano
Sat Oct 22, 2022 3:13 pm
Forum: Hardware
Topic: Detect how far away other esp device is on powerline
Replies: 0
Views: 1246

Detect how far away other esp device is on powerline

Hi guys Our company has the idea of allowing communication of two or more esp32 via powerline. While this should be possible (?) is it also possible to measure relative distances of esp32 in terms of powerline length in between the receiving connectors? Is there maybe already such a solution? I was ...
by RichPiano
Thu Oct 13, 2022 4:29 pm
Forum: ESP-IDF
Topic: Configure task watchdog to always reset chip
Replies: 0
Views: 1155

Configure task watchdog to always reset chip

I currently have some problems using the http/tls libraries from esp in that they sometimes trigger watchdog timeouts when the connection is bad. As the app is stuck if only one core is reset, I intend to change it so that the whole cpu resets (practically making the esp32 reboot). Now from https://...
by RichPiano
Tue Oct 11, 2022 2:16 pm
Forum: ESP-IDF
Topic: esp_http_client_perform() stuck in loop (watchdog triggered)
Replies: 2
Views: 1816

esp_http_client_perform() stuck in loop (watchdog triggered)

Hi guys For some reason, esp_http_client_perform() will loop indefinitely if the internet connection is unstable. I've observed multiple times how this will trigger a watchdog timeout like as follows: E (8723681) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watc...
by RichPiano
Thu Aug 25, 2022 9:40 am
Forum: ESP-IDF
Topic: Expose FILE handler in esp32
Replies: 1
Views: 1064

Expose FILE handler in esp32

I want to use a client library which does input and output using the FILE* handle. Now it says

Code: Select all

FILE' has no member named 'get
It is not written specifically for xtensa architecture, but it works in AVR. What adaptions would I need to make to make it work on xtensa?