Esp32-Stick(16MB Version) + EspEasy
by prokyber in Circuits > Microcontrollers
530 Views, 2 Favorites, 0 Comments
Esp32-Stick(16MB Version) + EspEasy
Hello everyone! In this tutorial I'm going to demonstrate how to use ESP Easy to upload and establish an Ethernet connection, giving you access to the internet.
Supplies
What you're going to need:
1x ESP32 stick – can be bought in Czech Republic or Internationally
1x USB-C cabel
1x Ethernet cabel
Download ESP32 Easy Software
Visit this website to download latest version of ESP Easy and download ESPEasy_mega_..._ESP32_binaries.zip, afterwards create a folder on Windows screen where you can put files from .zip
Launch Flash_download_tool
After extracting .zip file go to flash_download_tool.[ver] and launch flash_download_tool.[ver]
Set the Name of Microcontroller
Choose ESP32, WorkMode: develop and continue, you should see this window on the right
Upload the Firmware
Now, it's time to select the file to upload to your ESP32 device.
Navigate to the [File name]/bin directory and choose the file named ESP_Easy_mega_20230822_max_ESP32_16M8M_LittleFS_ETH.factory.bin.
Connect ESP stick to pc with usb-c and select port
You'll notice that there are two types of files in this documentation: those with 'factory' in their names and those without. To simplify, if a file has the word ".factory" in its name, it must be uploaded to the new device. This upload process should start at address 0, which is a specific location in the device's memory. Files without 'factory' in their names are intended for OTA updates. You can find more details in the 'ESP32 builds' section.
here's the link: https://espeasy.readthedocs.io/en/latest/Participate/ProjectStructure.html#espeasy-nightly-builds
If you want to, you can upload a file without the 'factory' bin file by going to Tools > Update Firmware and uploading the same file but without the 'factory'.
Get IP and Launch Web Config
After successfully uploading binary file you need to get IP.
There are 2 ways how get IP for web:
1)Connect to the ESP stick via WI-FI, go to properties of WI-FI(default password is "configesp"), scroll down and copy IPv4 paste into browser
2)Arduino or VScode(platformIO), open serial monitor and copy IP
I want to mention that after establishing an Ethernet connection, you won't be able to connect to the ESP with your PC. In the future, you'll need to use the serial monitor for communication.
Configure the Ethernet
You need to configurate ethernet pins, you can see on screenshot how it should be configurate
Test
As you can observe in the serial monitor (VSCode), we have successfully established an Ethernet connection. You can simply copy the 'DHCP IP' and paste it into your web browser, eliminating the need to edit the configuration locally.
Check Out the Documentation Link
Documentation of ESP Easy: https://espeasy.readthedocs.io/en/latest/