方言を話すおしゃべり猫型ロボット『ミーア』をリリースしました(こちらをクリック)

ESP32

Development/Design

[ESP32] From development board to designing your own printed circuit board and making it into a product

The cat-shaped talking robot Mia is developed on a home-made board using an ESP32 Wi-Fi Bluetooth module; this memorandum summarises the process from the initial development using an ESP32 development board to the creation of a home-made board and several changes for the product.
Development/Design

[ESP32 x PlatformIO] Move the configuration file (AWS IoT) from LittleFS to the NVS area.

Currently, the configuration file is placed under the data directory and included in the SPIFFS area at the time of build, but when LittleFS storage overflows due to a problem in the download process, etc., there is a possibility of failure, such as reading certificates, so change to writing and reading in the NVS area.
Development/Design

[ESP32] Create NVS encryption key and encrypt NVS partition

Create a new NVS key partition as a dedicated partition for storing the encryption keys required to use the NVS encryption function of ESP32 As an NVS key partition, Type must be data and Subtype must be nvs_keys.
Development/Design

[ESP32 x PlatformIO] How to coexist the framework with Arduino and ESP-IDF

PlatformIO allows the Arduino and ESP-IDF frameworks to be used together: by setting framework = arduino, espidf in platform.ini, many existing Arduino libraries can be used directly, thus reducing the need for code porting This saves time and effort in porting and rewriting code.
Development/Design

[Mia] ESP32 OTA update function implementation: Firmware update app notification

A new Firmware binary is uploaded to the AWS s3 firmware directory with the version specified by the developer.The version of each user's firmware is compared to the latest version uploaded by the developer, and if they are different, the Flutter app is notified that the new firmware is available for installation.
Development/Design

[ESP32] OTA update: Firmware update using MQTT and AWS IoT device shadow

When the user accepts the update, the app sends an API request to the server, which reflects the change in the AWS IoT device shadow. The device detects this change via MQTT and performs a firmware download and upgrade.
Development/Design

[ESP32] How to initialize firmware with a hardware trigger.

Describes the procedure for firmware initialisation using hardware triggering with the TTP223 touch sensor on the ESP32, utilising PlatformIO and TFT_eSPI to display status using the display in safe mode and to perform OTA updates.