Search found 635 matches

by lbernstone
Wed Mar 27, 2024 10:16 pm
Forum: ESP32 Arduino
Topic: ESP32S3 Unable to set specific GPIO as outputs
Replies: 4
Views: 302

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: 91

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: 91

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: 277

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 257 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: 177

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: 267

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: 325

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...
by lbernstone
Fri Mar 22, 2024 7:55 pm
Forum: ESP32 Arduino
Topic: Can ESP32-C6 use GPIO to wake up Deep Sleep?
Replies: 4
Views: 458

Re: Can ESP32-C6 use GPIO to wake up Deep Sleep?

Just an fyi here that maybe will keep someone else from wasting their time- the esp32-c6 ulp does not have access to the ADC peripheral.
by lbernstone
Fri Mar 22, 2024 3:01 am
Forum: ESP32 Arduino
Topic: Read MSEGQ7 with ESP32 (Read 5v from a 3.3v input)
Replies: 1
Views: 139

Re: Read MSEGQ7 with ESP32 (Read 5v from a 3.3v input)

First, hook a multimeter up to your voltage divider and make sure it is reading in the range you want. I would actually recommend taking it down so that the very top of your range is 1V (maybe 10K and 2K7) so you can use the lowest attenuation on the ESP32, which will have the best accuracy. arduino...