• 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

LoRa and ESP32

Q&A Forum › Category: ESP32 › LoRa and ESP32
0 Vote Up Vote Down
Hugo Articardi Calabrese asked 6 years ago

Hi friends.
How can I increase wifi tx power on esp 32 and esp 8266 ???
Thanks in advance. Hugo.

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Hugo.

For the ESP32, there is this function to set the max power: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t

For ESP8266:

WiFi.setOutputPower(0); // this sets wifi to lowest power

WiFi.setOutputPower(20.5); // this sets wifi to highest power

https://links2004.github.io/Arduino/d0/d52/class_e_s_p8266_wi_fi_generic_class.html#ae94015cbccaa5e13fe2d2ee3756e9047

I hope this helps. (I haven’t tried this functions).

Regards,

Sara

0 Vote Up Vote Down
Hugo Articardi Calabrese answered 6 years ago

Thank you, Sara !!!

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.