Node MCU ESP8266 Wi-Fi Repeater using macOS

Connect your Node MCU ESP8266 to your Mac using a data cable. Note:- check your cable must be data cable not charging cable

Install esp tool using the below command

pip3 install esptool

Erase your Node MCU ESP8266

esptool.py --chip esp8266 erase_flash

Now, you can flash your ESP! Download the GitHub code here

Unzip the downloaded zip file and check below command format

esptool.py --chip esp8266 --port "your port" write_flash --flash_mode dio --flash_size detect "location" "computer location"

“Your port” can find using the below command

sudo su
cd /dev
ls

Then check cu.usbserial-001 like this to make sure you only connect Node MCU ESP8266 using USB Port

“Location” is the filename of the .bin extension and “computer location” is the file location of .bin

The command looks like below. If folder location is the same, you need to change UserName to your pc username and cu.usbserial-0001 to your USB port ID

esptool.py --chip esp8266 --port /dev/cu.usbserial-0001 write_flash --flash_mode dio --flash_size detect 0x00000 /Users/UserName/Downloads/esp_wifi_repeater-master/firmware/0x00000.bin



esptool.py --chip esp8266 --port /dev/cu.usbserial-0001 write_flash --flash_mode dio --flash_size detect 0x02000 /Users/UserName/Downloads/esp_wifi_repeater-master/firmware/0x02000.bin



esptool.py --chip esp8266 --port /dev/cu.usbserial-0001 write_flash --flash_mode dio --flash_size detect 0x82000 /Users/UserName/Downloads/esp_wifi_repeater-master/firmware/0x82000.bin

Your Wi-Fi repeater is ready to use. You can GitHub steps here

Leave a Reply