Search found 511 matches

by PeterR
Wed Sep 30, 2020 11:47 pm
Forum: General Discussion
Topic: Causes of "Brown out detector was triggered" on ESP32 serial monitor
Replies: 5
Views: 223

Re: Causes of "Brown out detector was triggered" on ESP32 serial monitor

Lots of questions. Sprite answers all in his line: Most likely power supply. Put a scope on your LDO (or whatever PSU's) output. Set trigger to 3.2V (or whatever the ESP likes). Debug. ATM you need to know what is wrong, not what might be wrong. Measure. PS No one can help you without a schematic & ...
by PeterR
Wed Sep 30, 2020 11:33 pm
Forum: General Discussion
Topic: ESP32 DHCP server lan8720 ethernet interface using arduino SDK
Replies: 9
Views: 1314

Re: ESP32 DHCP server lan8720 ethernet interface using arduino SDK

i dont like the new interface
Ok; I bite. What's not to like?
by PeterR
Wed Sep 30, 2020 4:26 pm
Forum: General Discussion
Topic: ESP32 Project Build time
Replies: 3
Views: 349

Re: ESP32 Project Build time

i have also tried using ESP-IDF command prompt You mean MIMGW? This has been fairly well covered in the forum over the years. My understanding is that you need to use the CMake build system with an up to date IDF https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html Leg...
by PeterR
Wed Sep 30, 2020 1:28 pm
Forum: General Discussion
Topic: ESP32 mqtt client ws_read() failure
Replies: 11
Views: 882

Re: ESP32 mqtt client ws_read() failure

I had my timeout logic in the wrong place.
Setting:

Code: Select all

timeout_ms = 1000;
after the header has been grabbed also works.

We discussed the timeout at the start of this topic & I think I now understand why you do not want a timeout on header search but you definitely want a timeout after!
by PeterR
Wed Sep 30, 2020 1:22 pm
Forum: General Discussion
Topic: OTA programming of ESP32 using cellular connection with the SIM800
Replies: 3
Views: 235

Re: OTA programming of ESP32 using cellular connection with the SIM800

Don't be hard on me, I'm just at the beginning of digging into OTA Why should I treat you differently to anyone else? ;) Yea; there is a bit of work. The main effort would be creating the NETIF adapter. What are you using mDNS for? I use mDNS adverts for Ethernet & it justs works using the STA reci...
by PeterR
Wed Sep 30, 2020 12:06 pm
Forum: General Discussion
Topic: OTA programming of ESP32 using cellular connection with the SIM800
Replies: 3
Views: 235

Re: OTA programming of ESP32 using cellular connection with the SIM800

Of course, its just software ;) The new ESP-NETIF interface makes it 'easy'er. You could create a new IF adaptor to your SIM800. The SIM800 AT commands are not that complicated & there were lots of Ardunio examples when I last looked a couple of years ago. I started porting one but in the end wrote ...
by PeterR
Wed Sep 30, 2020 11:39 am
Forum: General Discussion
Topic: ESP32 mqtt client ws_read() failure
Replies: 11
Views: 882

Re: ESP32 mqtt client ws_read() failure

Thanks; great call! A task delay works. At the start of the investigation I added logic to test & set timeout to 1000mS if zero - but it sill failed. Must have put that in the wrong place! The take away is: (1) The fault happens when the ESP-IDF MQTT client receives a fragmented WS frames; when the ...
by PeterR
Wed Sep 30, 2020 10:32 am
Forum: General Discussion
Topic: ESP32 Project Build time
Replies: 3
Views: 349

Re: ESP32 Project Build time

The new native CMake build system is supposed to very much faster.
There is a project conversion utility but it did not work for me.

Is there any reason why you still use GNU? I only do because of time pressures.
by PeterR
Tue Sep 29, 2020 7:55 pm
Forum: General Discussion
Topic: Beginner ESP32 questions
Replies: 5
Views: 381

Re: Beginner ESP32 questions

Wait until you run out of stack ;) A cooperative Arduino loop has some advantages. Arduino libraries do no have to be round robin cooperative but they often are. If I had my time again I would be inclined to look at putting all IP stuff under Arduino. At the risk of hyjacking (oops, already did!) I ...
by PeterR
Tue Sep 29, 2020 5:05 pm
Forum: General Discussion
Topic: ESP32 mqtt client ws_read() failure
Replies: 11
Views: 882

Re: ESP32 mqtt client ws_read() failure

The ESP32 MQTT client's WS upgrade requests is different to Hive's: GET /mqtt HTTP/1.1 Connection: Upgrade Host: 192.168.80.101:80 User-Agent: ESP32 Websocket Client Upgrade: websocket Sec-WebSocket-Version: 13 Sec-WebSocket-Key: AltBqVd5o0eZCCz77Bwfrg== Sec-WebSocket-Protocol: mqtt The HiveMq clien...

Go to advanced search