Search found 637 matches

by lbernstone
Thu Mar 28, 2024 8:29 pm
Forum: ESP32 Arduino
Topic: ESP32S2 stalling 5ms every 2seconds?
Replies: 2
Views: 70

Re: ESP32S2 stalling 5ms every 2seconds?

Without actual code demonstrating the issue, nobody is going to be able to help you. This is very likely a priority issue. Loop task runs at priority 1. Start a new task at priority 6 and put the led flash in that.
by lbernstone
Thu Mar 28, 2024 4:36 pm
Forum: ESP32 Arduino
Topic: Documented Version of ESP32 Arduino Core???
Replies: 2
Views: 82

Re: Documented Version of ESP32 Arduino Core???

This documentation page is new, so I don't think there was any version for 2.0.14. As 3.0.0 is still in beta, the only version that exists is for "master". Once 3.0.0 is released, the counter will presumably start.
by lbernstone
Wed Mar 27, 2024 10:16 pm
Forum: ESP32 Arduino
Topic: ESP32S3 Unable to set specific GPIO as outputs
Replies: 4
Views: 325

Re: ESP32S3 Unable to set specific GPIO as outputs

I've forgotten to put paste under the ground pad entirely before. That is probably a bit more obvious than a couple missed pins :)
by lbernstone
Wed Mar 27, 2024 10:13 pm
Forum: ESP32 Arduino
Topic: WiFi.setAutoReconnect function
Replies: 3
Views: 97

Re: WiFi.setAutoReconnect function

Even better, ping what you actually want to get to. Google's dns servers have pretty good uptime. The endpoint you target may not.
by lbernstone
Wed Mar 27, 2024 4:41 pm
Forum: ESP32 Arduino
Topic: WiFi.setAutoReconnect function
Replies: 3
Views: 97

Re: WiFi.setAutoReconnect function

If you manually turn it off with a disconnect, it doesn't reconnect. It is equivalent to ending the session. Reconnect means that if something happens (typically the router reboots), the client will attempt to re-establish the existing session there. In practice, I find it insufficient for much the ...
by lbernstone
Mon Mar 25, 2024 9:05 pm
Forum: ESP32 Arduino
Topic: Seems to program but won't run code
Replies: 4
Views: 294

Re: Seems to program but won't run code

If you are not intending to make a USB device out of the esp32, then you want hardware CDC. You also will want the ID pin on your USB port tied to ground with 5K1 (this sets USB-OTG). Try this:
Screenshot from 2024-03-25 11-01-00.png
Screenshot from 2024-03-25 11-01-00.png (74.07 KiB) Viewed 274 times
by lbernstone
Mon Mar 25, 2024 4:56 am
Forum: ESP32 Arduino
Topic: [ESP32 Dev Kit] ADC pin readings always HIGH with external battery connected
Replies: 2
Views: 186

Re: [ESP32 Dev Kit] ADC pin readings always HIGH with external battery connected

Does "connected to battery" mean that the battery is connected to the 5V input, so that it is going through the LDO, or directly powering the esp32 on 3V3? Not sure why it would be different battery vs usb, but 100K is a bit high for the current limiter. Try taking it down an order of magnitude (10K...
by lbernstone
Sat Mar 23, 2024 5:02 pm
Forum: ESP32 Arduino
Topic: how to use esp32C6 on arduino
Replies: 1
Views: 280

Re: how to use esp32C6 on arduino

by lbernstone
Sat Mar 23, 2024 5:13 am
Forum: ESP32 Arduino
Topic: Sending video(.avi) and audio (.wav) files from ESP32 via http post multipart/form-data to server
Replies: 2
Views: 332

Re: Sending video(.avi) and audio (.wav) files from ESP32 via http post multipart/form-data to server

Just a couple comments to help you optimize: 1) reading/writing to sd is slow. You can optimize this by making your transfers match the sector size of the device. For sd cards, that is 512 bytes. If you set your buffer to that size, it will read a whole sector at a time, which should be a bit faster...