Search found 621 matches
- Sat Sep 26, 2020 7:45 pm
- Forum: General Discussion
- Topic: ESP32 and CR2032 battery
- Replies: 15
- Views: 50086
Re: ESP32 and CR2032 battery
A resistor voltage divider is an 'option' as are LDOs (which essential are dividers). Depends what you want to achieve; how much deep sleep, how much run time, how long between recharge/replace etc. The HT7833 has a 4uA sleep draw, an 18650 battery has like 2.6 A/hr? So about a year sleep? You do th...
- Fri Sep 25, 2020 11:23 pm
- Forum: ESP-IDF
- Topic: Proper way to restart MQTT and Wifi?
- Replies: 2
- Views: 2952
Re: Proper way to restart MQTT and Wifi?
Note that your call to destroy fails to return. Suggests that your issues might be driver/ifs based then. I have not seen this issue on Ethernet but I am still developing MQTT so I am not yet on edge cases. With IDF 4.1+ it should be easy to switch to Ethernet (say on an EVB) and then compare using ...
- Fri Sep 25, 2020 11:11 pm
- Forum: ESP-IDF
- Topic: Proper way to restart MQTT and Wifi?
- Replies: 2
- Views: 2952
Re: Proper way to restart MQTT and Wifi?
I would be brutal with all clients services on IP address grant & loss and then see what you have left to debug. My experience is that the services are quite forgiving but there is no evidence/statement that that should be so. So in my stack (as a paranoid/no brainer) I esp_mqtt_client_destroy() on ...
- Fri Sep 25, 2020 4:28 pm
- Forum: General Discussion
- Topic: SD Card Speed going down sometimes
- Replies: 4
- Views: 3172
Re: SD Card Speed going down sometimes
How are you writting to the card in product? FATfs I assume? You might do better going RAW. RAW will give you better power fail immunity & better write speed. The FAT index table also get updated when you write and so essentially a data write becomes both a data write and a table write. The table wr...
- Fri Sep 25, 2020 3:03 pm
- Forum: General Discussion
- Topic: ESP32 Powering Issue
- Replies: 6
- Views: 3820
Re: ESP32 Powering Issue
Thanks Sprite, that would be a strong candidate.
The schematics have gone now but I do not remember seeing a supervisor - which usually means trouble!
The schematics have gone now but I do not remember seeing a supervisor - which usually means trouble!
- Fri Sep 25, 2020 2:57 pm
- Forum: General Discussion
- Topic: ESP32 mqtt client ws_read() failure
- Replies: 18
- Views: 13584
ESP32 mqtt client ws_read() failure
ws_read_payload() is failing on: if (bytes_to_read != 0 && (rlen = esp_transport_read(ws->parent, buffer, bytes_to_read, timeout_ms)) <= 0) Adding some diagnostics: static int ws_read_payload(esp_transport_handle_t t, char *buffer, int len, int timeout_ms) { transport_ws_t *ws = esp_transport_get_co...
- Fri Sep 25, 2020 2:25 pm
- Forum: ESP-IDF
- Topic: ESP32 reboots, SPI flash issues and console baudrates...
- Replies: 4
- Views: 4529
Re: ESP32 reboots, SPI flash issues and console baudrates...
Suggest you tidy the post a little. You have several questions buried in the post & summarising might help. I'll pick out the more obvious questions: but I don't know exactly what is and why there could be a TG0WDT_SYS_RESET Well no & neither will we. All we have to work on is that you have a nice A...
- Thu Sep 24, 2020 9:03 pm
- Forum: General Discussion
- Topic: ESP32 Powering Issue
- Replies: 6
- Views: 3820
Re: ESP32 Powering Issue
Checked again & seems quite close to the EVB reference including 0.1uF and pull ups. Difference between 1K n 10K on one of the resistor sets but otherwise the same. Fraid this one seems quite detailed ...
- Thu Sep 24, 2020 4:16 pm
- Forum: General Discussion
- Topic: CAN (TWI) driver corruption & errata fixes
- Replies: 0
- Views: 1291
CAN (TWI) driver corruption & errata fixes
@ESP_Dazz Im close to the point that I need to upgrade the IDF. I am finding it hard to track the status of the CAN driver especially as it has been renamed! Please confirm the branch/SHA on which the patch was created and which IDFs versions contain (if any). I believe IDF latest is: v4.3-dev-1197-...
- Wed Sep 23, 2020 11:56 pm
- Forum: General Discussion
- Topic: ESP32 Powering Issue
- Replies: 6
- Views: 3820
Re: ESP32 Powering Issue
I would suggest ties (up or down, whatever..) on EN etc.
My main tact would however be to ask how you differ from reference circuits (EVB etc) and then ask why? Its easier to track changes from accepted norms & only you can quickly identify the full set of changes ...
My main tact would however be to ask how you differ from reference circuits (EVB etc) and then ask why? Its easier to track changes from accepted norms & only you can quickly identify the full set of changes ...