Skip to content
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

Request: Publish power consumption data if available. #2

Open
happytm opened this issue Mar 26, 2024 · 9 comments
Open

Request: Publish power consumption data if available. #2

happytm opened this issue Mar 26, 2024 · 9 comments

Comments

@happytm
Copy link

happytm commented Mar 26, 2024

Thank you for your groundbreaking efforts to transmit data without LoRa hardware.

It will be useful to know power consumption of transmitting device. I expect it to be ultra low power compare to LoRa radio hardware.

If you have power consumption data or guess about power consumption please let us know.

Thanks again.

@zuyan9
Copy link

zuyan9 commented Mar 30, 2024

It won't be more power efficient than a LoRa radio chip because most of the power transmitted is in non-LoRa frequencies.

@unicab369
Copy link

unicab369 commented Apr 7, 2024

Screenshot 2024-04-07 030733
Screenshot 2024-04-07 030832

This is the result tested on the ESP-01. Had some issue with the ESP12. I may look into that later but I don't see the result could have been any different. some of the power consumption could have come from the LED as well during transmission.
for reference ESP-Now uses on average about 57mA during transmission.

Also, ESP12 running with Arduino with just a Serial print consumes on average 15mA of current.

@happytm
Copy link
Author

happytm commented Apr 7, 2024

@unicab369 Thank you for posting power profile.

@happytm
Copy link
Author

happytm commented Apr 19, 2024

@unicab I have few question:

  • How many bytes were you sending for above test?
  • Can you publish compiled file to upload to ESP for testing purpose?
  • Am I reeading it right that it takes only 1mA extra to transmit? If so, it is very good result in terms of power consumption.
  • Would the range be better than ESPNow?
    Thanks.

@cnlohr
Copy link
Owner

cnlohr commented Apr 22, 2024

It should be about 1mA difference to transmit, and installing/removing the antenna should be around 120uA difference (actual power going into the antenna should be extremely small).

And, the instructions to build should be very simple. I just tested, and it took less than 1 minute to get a working build system up on Linux. Just need to follow these instructions - also works on WSL in Windows https://github.com/cnlohr/nosdk8266?tab=readme-ov-file#prerequisites-and-building

@happytm
Copy link
Author

happytm commented Apr 23, 2024

@cnlohr Thank you for your response.

@happytm
Copy link
Author

happytm commented Apr 23, 2024

From your range tests it is 2580 meters of maximum range you got with ESP32-S2 which is impressive. The first step to test this is to compile the code and upload it to ESP32 but many people like me have problem crossing this hurdle. I have expertise in antenna and filter design stuff and I wanted to increase the range without power consumption penalty.

Can you give us step by step instruction for compiling and uploading this code? If not, can you publish compiled code file so we can use for test purpose with different antenna design? I can make up to 27 dBi gain directional antenna or 15 dBi omni directional antenna easily. I wanted to test these antenna with your code to test the limits.

Thanks.

@cnlohr
Copy link
Owner

cnlohr commented Apr 24, 2024

Indeed it is quite the hurdle - You will need to follow the instructions here: https://docs.espressif.com/projects/esp-idf/en/stable/esp32s2/get-started/index.html

Then, use the terminal window that comes up after installation where you can compile projects, and navigate to the folder in this tree that contains the CMakeLists.txt. then from there you can say

idf.py flash

And it will work (ok, realistically it won't work because the IDF environment is so fragile. But, it is work-through-able)

@happytm
Copy link
Author

happytm commented May 12, 2024

@cnlohr Would you please simply publish binary file ?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants