Each laboratory node is equipped with an ESP32-S3 double-core chip. Several peripherals, networks and network services are available for the user. The UI is necessary to observe results in the camera when programming remotely. Thus, a proper understanding of UI programming is essential to successfully using the devices.
The table 1 lists all hardware components of the SUT's ESP32-S3 node and hardware details such as connectivity, protocols, GPIOs, etc. Please note that some pins overlap because buses such as SPI and I2C are shared among multiple components.
The node is present in the figure 1 and reference numbers reflecting components in the table 1.
The MCU standing behind the laboratory node is a genuine ESP32-S3-DevKitM-1-N8 from Espressif [1], present in figure 2:
A suitable platformio.ini file for the correct code compilation is presented below. It does not contain libraries that need to be added regarding specific tasks and hardware used in particular scenarios. The code below presents only the typical section. Refer to the scenario description for details regarding case-specific libraries needed for the implementation:
[env:esp32] platform = espressif32 board = esp32-s3-devkitc-1 board_build.mcu = esp32s3 board_build.f_cpu = 240000000L framework = arduino platform_packages = toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 lib_ldf_mode = deep+
Figure 3 represents SUT's VREL Next Gen IoT remote lab networking infrastructure and services. Details are described below.
If you're a SUT student or can access the campus network, you can also use 157.158.56.0/24 addresses.
The WiFi network, separated (no routing to and from the Internet) for IoT experimentation is available for all nodes:
A public, wired (157.158.56.0/24) network is available only for on-site students and from the SUT's campus network.
It is important to distinguish the network context and use the correct address. Integration services usually have two interfaces: one is available from the IoT WiFi network so nodes can access it, and the other IP address (from the public campus network) is available only for students directly connected to it.
There are currently two application layer services available:
coap://<ipaddress>/
that brings you a secret code in the message's payload,
coap://<ipaddress>/hello
that brings you a hello world welcome message in the payload.