New answers tagged

1 vote

ESP32 SPI Mutual Communication

For ESP32, unless the exact board variant is specified, by default the macros for MISO, MOSI, SCK and SS are defined as follows and are used for VSPI(i.e. SPI0): static const uint8_t SS = 5; static ...
hcheung's user avatar
  • 1,277
1 vote
Accepted

Some of my <include> statements do not work

Many of the ESP32 variants have Bluetooth/BLE support. The ESP32-S2 board/module you're trying to use does not. The module has WiFi, but not Bluetooth. So you need another board, Lolin seems to have ...
timemage's user avatar
  • 5,008
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,583
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
0 votes

DS3231 RTC not working with ESP32

Warning These modules normally come with a 200Ω resistor soldered next to the IN4148 Zener diode, as you can see in the image below. ds3231 module problem fix The resistor and diode form a simple ...
juan orozco's user avatar
0 votes

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
  • 5,008
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
0 votes

ESP32 + Stepper Motor 17HS3401S + A4988 driver. Stepper cannot move in Clockwise direction

I'm fortunate enough to know the cause. It's because of my fault in Wiring pins. At first, the orders on my driver pins (2B-2A-1B-1A) were black, green, blue, and red. Luckily, I came across this ...
Jade Stark's user avatar
0 votes

LILYGO TTGO T-Display cannot detect MPU 6050 Accelerometer, Gyroscope and Temperature Sensor

I had exactly the same error (Failed to find MPU6050 chip)on the same program with the same tutorial. I thought it was this, that, and an act of nature. I hade proven the MPU6050 worked fine and the ...
Crimson Binome's user avatar

Top 50 recent answers are included