Saturday, November 16, 2019

Friday, November 8, 2019

How to check Memory size of ESP32 如何確認ESP32的記憶體大小


we can use esptool to check Memory size of ESP32.

we use command  "esptool.py flash_id" to find "flash size","chip type and revision","MAC","device"







Thursday, October 31, 2019

Error: Adafruit_Sensor.h: No such file with Arduino IDE (DH11) compile error

I want to use DH11 ,but compile  error.

In file included from
C:\Users\username
\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:
C:\Users\username\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
 #include <Adafruit_Sensor.h>




You have to install "Adafruit Unified Sensor" library with arduino library manager.Maybe can fix this problem.

If you still have this problem.

you can add "#include <Adafruit_Sensor.h>" in code.

Wednesday, October 30, 2019

Fix arduino "exec: "cmd": executable file not found in %PATH% "

compiling code with Arduino IDE. I get a error "exec: "cmd": executable file not found in %PATH% "

PATH add
%SystemRoot%\system32;%SystemRoot%;C:\Windows\System32;



Wednesday, October 23, 2019

How to use NodeMCU-32S Lua (ESP32) serial2 port (UART)

 NodeMCU-32S Lua have 3 UART. serial0 ,serial1, serial2.

serial  RX TX
GPIO3 GPIO1 
1 GPIO9 GPIO10
GPIO16 GPIO17


If ESP32 connect USB,only serial2 can work.

Tuesday, September 17, 2019

Pronterface could not connect to 3D printing "could not open port"

when we want to pc connect to 3D printing with Pronterface, but  Pronterface could not connect to 3D printing and show " could not open port" error. How to solve ?

Friday, May 25, 2018

QSslSocket: cannot call unresolved function SSLv23_client_method

QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error