I just received from ezsbc my ESP32 µController.
So, it’s time to use it and as a first step, connect to my local Wifi and execute some code !
I’m running MacOS Sierra on a Macbook pro 2016 using a USB-C adapter to connect the board.
Install the latest version of esptool
From the espruino travis repo download a version of the firmware.
In my case I choose
espruino_1v92.13_esp32.tgz which looks like the latest as writing.
unzip the file, it should contains:
espruino_1v92.13_esp32 and perform the following command:
If everything went well, the development board should be ready to boot …
Intstall the Espruino Web IDE in Google chrome.
The application is availlabe from the chrome webstore
Connect to the usb port, /dev/tty.usbserial-DN0128PU in my case.
Once connected, if you perform a
process.env you should have a JSON description of the environment as in this picture:
Sounds good, let’s deploy some code …
From the Espruino Web IDE add a new file in the project (by clicking on ) and in this file add the following:
As sometimes the deployement is not working properly, I’m doing the following to get it smooth:
Deploy the code ( button)
save() and press return immediatelly, even if the upload is not finished.
That’s it, you should have in the console your IP a print every 5 sec …