• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 ESPNOW RSSI of received packet

Q&A Forum › Category: ESP32 › ESP32 ESPNOW RSSI of received packet
0 Vote Up Vote Down
Marcelo Miguel asked 4 years ago

Hello there!!!
I have two ESP32 (sender and receiver)

Sender reads a few digital pins and temp
Receiver has one LED per pin in sender, and a small OLED to display sender’s temp, plus one “connected” LED that shows the status of connection between both (connected or not)
I would like to add the RSSI value in the display of the connection in general.
But WiFi.RSSI() returns 0 (and as far as I have been looking, it only works when connected to a WiFi network, which is not the case.
Anyone has any idea?
Thanks and cheers!!!
Marcelo from Argentina!!!

Question Tags: RSSI
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I saw that you also posted your issue in our Facebook group. Meanwhile, did you find out something new?
There is an example that gets the RSSI using the Wi-Fi functions in an ESP-NOW example. See it here: https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/ESPNow/Basic/Master/Master.ino
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Marcelo Miguel answered 4 years ago

Thanks!
Also found this, but still not sure how to implement this yet.
I have to modify the project I believe, and create an AP in the “slave” (the module with Oled and leds) and measure RSSI from the “master” (the one with the temp sensor and digital inputs) and send it back to the slave.
The original project does not involve WiFi at all, only ESP-NOW (which has an amazing range!)

I will keep digging and post final project here, I quite happy with the results and the RSSI data is not central to this project.
Thanks and cheers from Argentina!
Marcelo

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Yes, that’s what I understood—you need to create an AP on the slave.
Then, let us know the results.
Regards,
Sara

0 Vote Up Vote Down
Marcelo Miguel answered 4 years ago

I may need help testing this, but I believe I make it work.
https://github.com/TenoTrash/ESP32_ESPNOW_RSSI

https://www.speedcheck.org/wiki/rssi/

If someone is willing to test this, I will be very happy.
In my field testing, it works!
Cheers!
Marcelo from Argentina

1 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi again.

I tested your code. I had to modify some sections to make it work for me (I’m using a BME280 and the Oled display is slightly different).

The section that gets the RSSI seems to be working fine! Thank you so much for sharing. This will definitely be helpful for a lot of our readers.

I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.

Regards,
Sara

0 Vote Up Vote Down
Marcelo Miguel answered 4 years ago

Glad you test it!
Some components are hard to find here in Argentina, and has to make it work with what I can obtain 🙂
Cheers!!!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.