Hot answers tagged

1 vote

Automating Serial Monitor / Execute Serial Monitor Command without CMD input

You're going to have to write a piece of software on your computer with whatever is your favorite language, and run it, connected to the proper serial port. I do this a lot in applications that ...
dda's user avatar
  • 1,573
1 vote

Connect to wifi works only without password (Problem around WPA security)

Solution, I'm using an old Freebox, which has only Open or WPA security, Just add : WiFi.setMinSecurity(WIFI_AUTH_WPA_PSK); to allow connection to my router. For people with WEP security, just use ...
Servuc's user avatar
  • 133
1 vote

PubSubClient hanging on ESP32C3

The short form of the below is something like: "After calling .beginPublish(), call .endPublish() before making a call to either .publish() or .beginPublish(). We don't have your actual code. ...
timemage's user avatar
  • 4,980
1 vote
Accepted

PubSubClient constructor parameter type mismatch

The issue you're encountering with the PubSubClient constructor in Arduino is related to how you're passing the WiFiClient object. You're currently using a pointer (WiFiClient *wifi), but the ...
thesonyman101's user avatar
1 vote

Can I use SPI-related pins as a Digital Output?

From the schematics, I can see that IO2 is for the board's blue LED. So that's probably your first problem... From this PDF, I see that IO21 is VSPIHD, Hold for Flash chips. No good. IO16 is HS1_DATA4,...
dda's user avatar
  • 1,573
1 vote
Accepted

ESP32 cannot serial monitor

The GPIO1 pin you are trying to use with const int vavle = 1; ... pinMode(vavle, OUTPUT); is the same pin that carries serial data to the PC. From the pinout: Their schematic link is broken, but if ...
timemage's user avatar
  • 4,980

Only top scored, non community-wiki answers of a minimum length are eligible