-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to send data with esp now #10895
Comments
The version of this core that PlatformIO supports is no longer supported. That is also true for the underlying ESP-IDF. Please update to using |
I installed Arduino IDE, with the latest version of the framework (3.1.1) I uploaded the example code for ESP NOW that is called ESP_NOW_Broadcast_Slave and the Master on the other ESP. This is the output from the Master using Verbose debug level
This is from the Slave:
|
@P-R-O-C-H-Y PTAL |
I don't know if it can be useful but I tried with an older custom PCB very similar to the one it's not working. (the previous revision is actually sending data, the latest one doesn't send but still can receive) I noticed that the chip of the older one is rev 0.4 (ESP32-C3FH4) while the new one is rev 1.1 (ESP32-C3FH4X). I know it shouldn't matter but this is the only hint that I have. (I can send schematic if needed, but I don't know how it could be a hardware problem) |
Board
ESP32-C3 Custom PCB
Device Description
It's a custom PCB that I made, it's connected via I2C to MC3419 (accelerometer) and MAX17055 (battery fuel gauge). Then with "PWM" it's connected to AL1783 (led driver), and with a mosfet for running a buzzer.
Hardware Configuration
18 and 19 are for USB data
#define LED_R_PIN 0
#define LED_G_PIN 1
#define LED_B_PIN 4
#define SDA_PIN 5
#define SCL_PIN 6
#define ACCEL_INT_PIN 9
#define BUZZER 2
#define BATTERY_PIN 3 (to check if it's charging)
Version
latest master (checkout manually)
IDE Name
VSCode, PlatformIO
Operating System
Ubuntu 24.04.1 LTS
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
Changing baud rate to 921600 (upload log)
Description
Not sure about PSRAM
I'm having a problem with ESP Now, it seems that my ESPs are able to receive data but not the send. I know that because I tried to use another ESP32 (from Waveshare) and they both received the data sent by the last one.
Both ESPs have the same code i wrote here. When i run the code (I checked that the other esp was turned on) the output is
Data sent
Send Status: Fail
and so on for ever.
I tried to change code but nothing seems to be working
Sketch
Debug Message
Other Steps to Reproduce
I tried another OS with macOS Ventura I think, but the problem remains the same.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: