MuseLab nanoESP32-S2 is a dev. board with a ESP32-S2 module. This board has 2 USB-C connector, one for Serial (ch340) and one for Native USB (esp32), is supported running CircuitPython.
Currently, nanoESP32-S2 support 4 module:
ESP32-S2-WROOM: PCB Antenna, no PSRAM.
ESP32-S2-WROOM-I: IPEX Antenna, no PSRAM.
ESP32-S2-WROVER: PCB Antenna, with PSRAM.
ESP32-S2-WROVER-I: IPEX Antenna, with PSRAM.
My sample is ESP32-S2-WROVER-I.
This video show the steps to flash CircuitPython (latest unstable release CircuitPython 6.1.0-beta.1) on museLab nanoESP32-S2, using Raspberry Pi 4B/8G running Raspberry Pi OS (32 bit).
esptool.py is a Python-based, open source, platform independent, utility to communicate with the ROM bootloader in Espressif ESP8266 & ESP32 chips. ESP32-S2 is supported started from Version 3.0 (https://github.com/espressif/esptool/releases).
To install esptool on Raspberry Pi OS, enter the command in Terminal:
$ sudo pip install esptool
remark:
In my trial on Raspberry Pi OS, if I install without "sudo", I cannot run it without specify the full path.
Because the esptool.py executable is installed to the hidden directory ~/local/.bin directory. Have to set PATH to esptool, otherwise it cannot be run directly. So I install esptool with "sudo".
To check the version of installed esptool using pip:
How to remote control Raspberry Pi from Android/Windows 10 with xrdp installed.
Microsoft Remote Desktop Protocol (RDP) provides remote display and input capabilities over network connections for Windows-based applications running on a server. RDP is designed to support different types of network topologies and multiple LAN protocols.
xrdp is an open source RDP server, provides a graphical login to remote machines using Microsoft Remote Desktop Protocol (RDP). xrdp accepts connections from a variety of RDP clients: FreeRDP, rdesktop, NeutrinoRDP and Microsoft Remote Desktop Client (for Windows, Mac OS, iOS and Android).
Install xrdp:
In Raspberry Pi, install xrdp by entering the command in Terminal:
$ sudo apt install xrdp
Remote access Raspberry Pi from Android using Microsoft Remote Desktop App:
With Microsoft Remote Desktop app installed on Android devices, you can access remote Raspberry Pi running xrdp. There are two version available in Google Play Store: Remote Desktop and Remote Desktop 8. In my trial, Remote Desktop 8 is more stable, so I show how to for using it.
Remote access Raspberry Pi from Windows 10 using Remote Desktop Connection:
With xrdp installed, you can also remote access your Raspberry Pi from Windows 10 using Remote Desktop Connection. Just search and run "Remote Desktop Connection".
By default without installing driver, the screen will display in vertical
(portrait). With Raspberry Pi OS Screen Configuration Orientation feature, I can
change screen direction.
For sure, without installing driver, it cannot detect touch. Normally I use
wireless keyboard with mouse pad, so no need touch function.
vcgencmd is a command line utility that can get various pieces of information from the VideoCore GPU on the Raspberry Pi. Much of the information available is only of use to Raspberry Pi engineers, but there are a number of very useful options available to end users that will be described here.
In my trial on Ubuntu Desktop for Raspberry Pi, vcgencmd is installed by default. But fail with error of "VCHI initialization failed".
psutil (process and system utilities) is a cross-platform library for
retrieving information on running processes and system utilization
(CPU, memory, disks, network, sensors) in Python.
In my trial on Ubuntu Desktop for Raspberry Pi, it's installed by default.