| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ The ESP32-S3 developer board still executes MicroPython, in this case the latest | |||
| 7 | 7 | |--------------------------|---------|--------------|---------------|---------|-----| | |
| 8 | 8 | |ESP32-S3-DevKitC-1.1-N32R8| 1.25.0 | ESP32S3-7814 | ESP32S3-7814 | MQTT | Yes | | |
| 9 | 9 | ||
| 10 | - ESP32S3-7814 is no longer a stand-alone WiFi access point. Because of the addition of MQTT functionality, it now needs to connect to an external WiFi AP, such as a home WiFi access point. That external WiFi AP then allows it to connect to an MQTT broker. | ||
| 10 | + ESP32S3-7814 is no longer a stand-alone WiFi access point. Because of the addition of MQTT functionality, it now needs to connect to an external WiFi access point, such as a home WiFi system. That external WiFi AP then allows it to connect to an MQTT broker. | ||
| 11 | 11 | ||
| 12 | 12 | This is the web page a fully functioning ESP32-S3 developer board presents now. | |
| 13 | 13 | ||
@@ -16,14 +16,14 @@ This is the web page a fully functioning ESP32-S3 developer board presents now. | |||
| 16 | 16 | The view the web page presents is dynamic. Here's what that means: | |
| 17 | 17 | 1. If the OLED display isn't present, then the `Toggle OLED` button is not shown. | |
| 18 | 18 | 2. If the ESP32-S3 fails to connect with the MQTT broker then the `MQTT5 Test` button is not shown. | |
| 19 | - 3. If the ESP32-S3 developer board does not a configured `vfs2` FLASH section, then the text at the bottom showing `vfs2 size` is not shown. | ||
| 19 | + 3. If the ESP32-S3 developer board does not have a configured `vfs2` FLASH section, then the text at the bottom showing `vfs2 size` is not shown. | ||
| 20 | 20 | ||
| 21 | 21 | ## Startup Output | |
| 22 | 22 | This startup output is captured from Thonny's REPL window. | |
| 23 | 23 | ``` | |
| 24 | 24 | Boot: START | |
| 25 | 25 | Memory: 8,307,008 bytes | |
| 26 | - Flash: 33,554,432 bytes | ||
| 26 | + Flash: 8,388,608 bytes | ||
| 27 | 27 | Platform: MicroPython 1.25.0 xtensa IDFv5.2.2 with newlib4.3.0 | |
| 28 | 28 | Unique ID: 68B6B33D7814 | |
| 29 | 29 | SSID: ESP32S3-7814 | |
@@ -49,14 +49,23 @@ This startup output is captured from Thonny's REPL window. | |||
| 49 | 49 | MQTT: Init ping timer: Timer(3, mode=PERIODIC, period=60000) | |
| 50 | 50 | MQTT: Broker connection successful to 192.168.0.210 | |
| 51 | 51 | ``` | |
| 52 | + If the board fails to connect to the MQTT broker, this is the last part of the output: | ||
| 53 | + ``` | ||
| 54 | + ... | ||
| 55 | + MQTT: Broker connection start from ESP32S3-7814 to 192.168.0.210 | ||
| 56 | + MQTT: Set callback | ||
| 57 | + MQTT: Connect | ||
| 58 | + MQTT: Broker connection failure to 192.168.0.210 | ||
| 59 | + MQTT: Exception: [Errno 113] ECONNABORTED | ||
| 60 | + ``` | ||
| 52 | 61 | ## Development Environment | |
| 53 | 62 | ### Initial Setup | |
| 54 | 63 | The following items and actions are required: | |
| 55 | 64 | 1. A home WiFi access point | |
| 56 | - 2. A Raspberry Pi 5 8 GiB with Ubuntu 25.04 installed and connected to the home WiFi access point | ||
| 57 | - 3. Eclipse Mosquitto MQTT Broker (https://mosquitto.org) installed and running on the Raspberry Pi | ||
| 58 | - 4. ESP32-S3 with at least the latest MicroPython release flashed to the device | ||
| 59 | - 5. All the MicroPython files must be copied to an ESP32-S3. | ||
| 65 | + 2. An operational computer connected to the home WiFi access point | ||
| 66 | + 3. Eclipse Mosquitto MQTT Broker (https://mosquitto.org) installed on the computer | ||
| 67 | + 4. An ESP32-S3 developer board with the latest MicroPython release flashed to the device | ||
| 68 | + 5. All the MicroPython files copied to the ESP32-S3 developer board | ||
| 60 | 69 | ### Application Software/Firmware Installation and Execution | |
| 61 | 70 | #### MicroPython Firmware and Application | |
| 62 | 71 | Install the latest MicroPython release to the ESP32-S3 development board. It can be found at [ESP32_GENERIC_S3](https://micropython.org/download/ESP32_GENERIC_S3/). Make sure to select from the _**Firmware (Support for Octal-SPIRAM)**_ section at the bottom if you have a development board with 8 MiB of SPIRAM. Select the `.bin`, not the `.uf2` version of the firmware. The download page provides full installation instructions. | |
@@ -70,6 +79,8 @@ You will need to create `settings.py` file that contains the two lines: | |||
| 70 | 79 | with the appropriate SSID and password for your local WiFi access point. These are used by the file `webserver.py`. Once created flash onto the ESP32-S3 developer board with the rest of the MicroPython files. | |
| 71 | 80 | ||
| 72 | 81 | #### Mosquitto | |
| 82 | + My operational personal computer is a Raspberry Pi 5 8 GiB with Ubuntu 25.04 installed and configured as a personal computer. With that environment: | ||
| 83 | + | ||
| 73 | 84 | Install Mosquitto via `apt`: | |
| 74 | 85 | ```bash | |
| 75 | 86 | $ sudo apt install mosquitto mosquitto-clients -y | |
@@ -123,4 +134,4 @@ The PING message is sent every 60 seconds. | |||
| 123 | 134 | ## Changes and Updates | |
| 124 | 135 | #### _16 June 2025_ | |
| 125 | 136 | ||
| 126 | - A checkin to the MicroPython project has broken the build. I can't use that build and checkin on my ESP32-S3 developer board, so I've dropped back to the official 1.25.0 release. That is sufficient for my work, and what I'll stick with indefinately. This README has been updated to reflect this. | ||
| 137 | + A checkin to the main MicroPython project has broken the build. I can't use that build on my ESP32-S3 developer board, so I've dropped back to the official 1.25.0 release. That is sufficient for my work, and what I'll stick with indefinately. This README has been updated to reflect this. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments