PLC XINJIE ESP32 IoT


PLC XINJIE ESP32 IoT :

Kênh Youtube hướng dẫn lập trình PLC Xinjie

https://www.youtube.com/watch?v=VLU4wILKJGo&t=166s&ab_channel=HeroLive

Địa chỉ code mẫu Github: 

https://github.com/HeroLive/PLC-Public/tree/main/PLC-XINJE-XD5-Stepper


Tài liệu phần mềm cài đặt PLC Xinjie, hướng dẫn sử dụng và màn hình cảm ứng: 

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


Giao tiếp RS485 giữa ESP32 và PLC Xinjie:

https://sites.google.com/view/bblab/teaching/plc-programming

https://mecsu.vn/ho-tro-ky-thuat/giao-tiep-rs485-giua-esp32-voi-esp8266.5ya

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 


Bài 1: Hướng dẫn cơ bản