Node MCU ESP8266
Phần mềm lập trình ESP 32, ESP 8266
Tải phần mềm Visual studio code lập trình:
https://code.visualstudio.com/download
Lựa chọn cài đặt lập trình ESP 32 bằng vscode-esp-idf-extension
https://elec2pcb.com/2021/10/26/huong-dan-lap-trinh-esp32-su-dung-esp-idf-di-tu-co-ban-nhat/
Hoặc lập trình bằng Platform IO
https://randomnerdtutorials.com/vs-code-platformio-ide-esp32-esp8266-arduino/
https://machdienlythu.vn/cai-dat-platform-io-de-lap-trinh-esp32/
Lập trình điều khiển xe bằng NodeMCU ESP8266 qua wifi:
Tra google học qua 1 khóa cơ bản về NodeMCU 8266
KEY "WiFi Based Robot with MIT App Inventor node mcu ESP8266"
"ESP8266 Web Server"
"Node mcu ESP8266 code with arduino IDE "
Vào Tools chọn thời gian khoảng 1 năm trở lại để có những hướng dẫn mới nhất về dùng Node mcu 8266
Recommend ví dụ:
How To Build a WiFi Based Robot with Android Application Control | Android App with MIT App Inventor
https://www.youtube.com/watch?v=S-67_HUxrOg&ab_channel=MuhammadAnsar
ESP8266 Web Server
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/README.rst
Chạy chương trình OPEN CV Cơ bản:
https://qiita.com/iwatake2222/items/c0ebe6d84afdef57aab3
Thêm phần sau vào mục build.gradle(Module: app)
implementation 'com.quickbirdstudios:opencv:4.3.0' // Sử dụng thư viện OpenCV sẵn có trên mạng.
// Cap nhat moi
def camerax_version = "1.0.0-beta03"
// CameraX core library using camera2 implementation
implementation "androidx.camera:camera-camera2:$camerax_version"
// CameraX Lifecycle Library
implementation "androidx.camera:camera-lifecycle:$camerax_version"
// CameraX View class
implementation "androidx.camera:camera-view:1.0.0-alpha10"
Upload chương trình lên Github:
KEY "upload project to github from android studio"
Tải và cài đặt Git : http://www.git-scm.com/download
Kết nối điện thoại và USB Serial Connection
https://github.com/kai-morich/SimpleUsbTerminal
Tham khảo:
Cài đặt thư viện OpenCV trong Android Studio cách thủ công
https://www.kdnuggets.com/2020/10/guide-preparing-opencv-android.html
Tài liệu hướng dẫn:
https://www.kdnuggets.com/2020/10/guide-preparing-opencv-android.html
https://qiita.com/iwatake2222/items/c0ebe6d84afdef57aab3