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

Development/Design

スポンサーリンク
Development/Design

[C++] Difference between pointer and reference, value passing and reference passing, function pointer, smart pointer

A pointer is a variable that stores an address (position in memory space). When a variable is declared, memory for the variable is allocated and placed in the memory space. However, immediately after the variable declaration, the pointer contains an undefined value and it is not known where it points. The address of the variable can be obtained by preceding the variable name with the `&` symbol.
Development/Design

[Flutter × Go] Withdrawal process: How to handle the “requires-recent-login” error when deleting Firebase Auth.

Describes how to deal with the 'requires-recent-login' error when processing user withdrawal using Firebase Auth.This error occurs when a user has not logged in recently for security reasons. The user needs to be re-authenticated (reauthentication) before they can be withdrawn.
Development/Design

[Flutter × Go × gRPC] Implementation of forced application update function (screen lock)

A search for "Flutter Firebase app update" yielded two main types of hits: using RemoteConfig and using FirebaseDetabase.This time, however, we will implement the forced update function on our own using Flutter x Go x gRPC.
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

[Mia] I actually assembled 18 of them, and I didn’t expect half of them to work!

This time, I will also fix the production firmware write version and actually assemble it. At this point, I'll power it up with a USB TypeC power supply and see if it actually works. Well, everything should work! I thought, but I didn't expect it to work nearly half the time!"
Development/Design

[Stripe] Testing in the production environment should be done with a settlement amount of at least 50 yen.

When testing Stripe production payments with the Wordpress (WooCommerce) + Stripe combination, we encountered an unexpected pitfall. In the production environment, if the purchase amount is not set to more than 50 yen, the credit input field does not appear and the user cannot make a payment.
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

[Electronic Circuit] Found defective products after 100 boards were installed and filed a Quality Complaint with JLCPCB.

The order was placed with JLCPCB for 100 boards, but in reality some of the pin headers were slightly out of level, resulting in LCD displays interfering with each other and not fitting together The JLCPCB order history section has a 'Quality Complaint' field where you can enter the nature of the fault and the number of faulty boards. and the number of defective boards.
Development/Design

[ESP32] How to deal with stack overflow error after MQTT communication that occurred after migration to ESP-IDF

Stack overflow is a phenomenon in which a task runs out of allocated stack memory Stack overflows can occur due to the receiving or parsing process of MQTT messages Sometimes it can be solved by changing the stack size setting in the sdkconfig file. This can be resolved by changing the stack size setting in the sdkconfig file.
Development/Design

[JLCPCB] I received a confirmation email after ordering 100 boards. PCB operation is not checked

If there is no problem with the PCB layout, you will not receive an email from JLCPCB, so if you receive an email, it is when there is a problem, such as an incomplete circuit. Also, JLCPCB does not check the functionality of your own PCB, so you need to look at the schematic and PCB yourself to determine if the order is correct.
スポンサーリンク