Search found 666 matches

by lbernstone
Thu Apr 18, 2024 1:15 am
Forum: ESP32 Arduino
Topic: IC2 Pinout ESP32-S3 DevKitC 1
Replies: 1
Views: 840

Re: IC2 Pinout ESP32-S3 DevKitC 1

The default on esp32-s3 is 8 & 9, but you can assign them to whatever you want with Wire.begin(sda, scl);
by lbernstone
Wed Apr 17, 2024 7:25 am
Forum: ESP32 Arduino
Topic: ESP32-S3 + GPS Module
Replies: 1
Views: 172

Re: ESP32-S3 + GPS Module

Take out all the softwareSerial stuff. You are starting up Serial2 correctly. Take out the stuff where you are reading Serial2 at the beginning of loop(). Change the while to look something like this: while (Serial2.available() > 0) { char nextbyte = Serial2.read(); Serial.print(nextbyte); if (gps.e...
by lbernstone
Wed Apr 17, 2024 6:52 am
Forum: ESP32 Arduino
Topic: No Servo library compiling - LEDC errors
Replies: 2
Views: 288

Re: No Servo library compiling - LEDC errors

Yes, you will have to wait for other people to fix the code you want to use.
There is no reason for you to be on the bleeding edge if you don't know how to fix it. arduino-esp32 v2.0.15 was released last week and the libraries will work well with it.
by lbernstone
Wed Apr 17, 2024 6:45 am
Forum: ESP32 Arduino
Topic: Esp32 Wroom 32D Mining Pool
Replies: 1
Views: 177

Re: Esp32 Wroom 32D Mining Pool

WiFiClient doesn't know anything about protocols beyond TCP. It establishes a bare connection to the server listening on a port. Cut off the stratum+tcp:// from your host and it will make the connection. It certainly is not going to (and shouldn't in this highly insecure way) be able to transact wit...
by lbernstone
Wed Apr 17, 2024 6:31 am
Forum: ESP32 Arduino
Topic: WiFi not coming up with matter devices
Replies: 1
Views: 182

Re: WiFi not coming up with matter devices

My guess is a port conflict. They will both be trying to set up an httpd on port 80. Try using the OTA push example running on a different port and see if that works for you.
by lbernstone
Wed Apr 17, 2024 3:27 am
Forum: ESP32 Arduino
Topic: ESP32-C6 Low Power hanging device?
Replies: 11
Views: 1004

Re: ESP32-C6 Low Power hanging device?

This is a snip from a deep sleep app on esp32-c6 log_v("to sleep"); rtc_gpio_pullup_en(PIN_DN); rtc_gpio_pulldown_dis(PIN_DN); rtc_gpio_pullup_en(PIN_UP); rtc_gpio_pulldown_dis(PIN_UP); rtc_gpio_pullup_dis(PIN_IR); rtc_gpio_pulldown_dis(PIN_IR); uint64_t wakeup_pins = (1ULL<<PIN_IR) | (1ULL<<PIN_UP)...
by lbernstone
Tue Apr 16, 2024 4:48 am
Forum: ESP32 Arduino
Topic: ESP32-C3 supermini serial port problem
Replies: 2
Views: 289

Re: ESP32-C3 supermini serial port problem

What version of arduino-esp32 are you running (you can see this in the board manager)?
There were some issues with earlier versions of esptool on the C3, but if you are running 2.0.15, that should be resolved.
by lbernstone
Tue Apr 16, 2024 4:22 am
Forum: ESP32 Arduino
Topic: PWM output pin on reset
Replies: 5
Views: 520

Re: PWM output pin on reset

You need a stronger pullup than what is included in the pump control circuit there. Try a 10K. From your description, this is happening when the device restarts, so it literally can't be a problem in your code (which isn't running during a restart). You say there's more involved in the circuit- I am...
by lbernstone
Sun Apr 14, 2024 4:13 pm
Forum: ESP32 Arduino
Topic: PWM output pin on reset
Replies: 5
Views: 520

Re: PWM output pin on reset

Put a 10-50K pullup resistor on the pins you want to stay high. When the device resets, there is not going to be any signal delivered on those pins, so you need to provide a default one.
You should choose a pin other than 12, which is a strapping pin that needs to be pulled low for 3V3 flash.