How to connect to your ESP32 on macos

To find out as what USB device the ESP32 is connected, open Terminal and enter:

ls /dev/tty* | grep usb

in my case I got


Now we can connect via screen:

screen /dev/tty.usbserial-14120 115200

When you reset the board you should see something like this

configsip: 0, SPIWP:0xee
mode:DIO, clock div:2
entry 0x400806b0

To end the session in screen, press Ctrl+a, and type :quit and press Enter.


MicroPython uos package

When you are familiar with python os and platform package You may wonder how to use it on ESP32 in MicroPython. Because this doesn’t work:

Traceback (most recent call last):
File "", line 1, in 
AttributeError: 'module' object has no attribute 'name'
>>> import platform
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'platform'

UOS for the rescue

Continue reading “MicroPython uos package”