ESP32 IoT


Tài liệu google drive lập trình nhúng với Esp32 :

https://drive.google.com/drive/folders/1kBRQ33uaznbn4pKuYox_2mM5aCDh8Arr?usp=sharing

Các bước cơ bản lập trình Esp32 với VSCODE và Platform IO: 

1 Cài đặt driver cho Esp32 :

Tải driver: 

https://drive.google.com/file/d/1AGhf4GWXC_Gid-An_NFSrpwCo-maEuHm/view?usp=sharing

https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads

Các bước cài đặt: 

https://blog.darrenjrobinson.com/esp32-com-port-cp2102-usb-to-uart-bridge-controller/

2 Cài đặt phần mềm VS Code và Platform IO chạy ví dụ cơ bản Blink Led

https://khuenguyencreator.com/huong-dan-cai-dat-platform-io-lap-trinh-esp32/

https://randomnerdtutorials.com/vs-code-platformio-ide-esp32-esp8266-arduino/

3 Chạy các bài cơ bản:

https://randomnerdtutorials.com/esp32-access-point-ap-web-server/

https://www.donskytech.com/esp32-robot-car-using-websockets/


Sơ đồ chân The ESP32 DevKit V1       30 Pins

https://lastminuteengineers.com/esp32-pinout-reference/

https://arduinogetstarted.com/reference/serial-readbytesuntil

https://community.openmqttgateway.com/t/wrover-b-and-led/1276

Cài đặt ví dụ led blink :

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/basic_use.md

Add in .vscode/settings.json

"idf.monitorBaudRate": "115200",   // mặc định tốc độ monitor