Search found 669 matches

by lbernstone
Sat Mar 30, 2024 7:23 pm
Forum: ESP32 Arduino
Topic: SerialBT periodically stutters and breaks messages
Replies: 2
Views: 1180

Re: SerialBT periodically stutters and breaks messages

I don't have a good answer for you, other than you are asking the system to do too much. Here's a couple recommendations 1) I doubt you really need the data every 100ms. Collect 10 data points and send them in a single packet. This is a lot less network overhead, and easier to sequence. 2) Bluetooth...
by lbernstone
Fri Mar 29, 2024 4:55 pm
Forum: ESP32 Arduino
Topic: ESP32S3 - What is the FSPIWP\FSPIDQS pin and how do you configure it
Replies: 2
Views: 1251

Re: ESP32S3 - What is the FSPIWP\FSPIDQS pin and how do you configure it

Those pins are for extra data lanes that would be used in Quad SPI . QSPI is not currently supported in arduino, so can only be enable using the ESP-IDF drivers. If you aren't using those pins for QSPI, you should be able to use them for whatever you would like. Perhaps your board is using gpio 14 f...
by lbernstone
Thu Mar 28, 2024 8:29 pm
Forum: ESP32 Arduino
Topic: ESP32S2 stalling 5ms every 2seconds?
Replies: 4
Views: 1401

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: 4
Views: 1425

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: 8
Views: 2534

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

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

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

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 1313 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: 3
Views: 1439

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...