当前位置:网站首页>Arduino_ Esp32 development record

Arduino_ Esp32 development record

2022-06-11 07:27:00 Fantastical Yu ruiyin

Development software

Arduino( No code completion , You need a connection to the related library to import the Library )
vscode-PlatformIO( Most complete library , Code completion works best , But when importing the library, it occasionally appears BUG)
Other development methods ( There are many development methods , But the environment configuration is more complex , Not recommended )

Arduino-ESP32 Development considerations

1、Arduino and vscode-PlatformIO Personally, I don't think there is a saying of the which is better or worse , First of all, from the Arduino The downloaded program can be said to be absolutely available to ESP32 The use of , however vscode-PlatformIO The procedure is not necessarily , however vscode-PlatformIO The library is more comprehensive .
2、 The download of the program is relatively simple , Directly use the serial port to download , If you find that you can't download , First, check whether the wiping power supply is 3.3V,GPIO0 Is it grounded , Then press... Before downloading RST key . At run time ESP32 Need to connect 5V The voltage of , otherwise ESP32 Will continue to restart .

Arduino-ESP32 Development

1、 Bluetooth usage Library BluetoothSerial, The library can be implemented quickly ESP32 Can communicate with other devices , The routines of some Bluetooth libraries are more complex in establishing Bluetooth connection , Not recommended .
2、WiFi Use the default library ,
3、MQTT Communication with EspMQTT library , Not many routines , But it's time to MQTT The library is relatively simple .
4、ESP32CAM Call the camera , There is only one routine in this section , The whole network cannot find the second useful routine .

原网站

版权声明
本文为[Fantastical Yu ruiyin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020521151677.html