Cov txheej txheem:

ESP32 Codelock Nrog Touchscreen: 5 Kauj Ruam
ESP32 Codelock Nrog Touchscreen: 5 Kauj Ruam

Video: ESP32 Codelock Nrog Touchscreen: 5 Kauj Ruam

Video: ESP32 Codelock Nrog Touchscreen: 5 Kauj Ruam
Video: Codelock with AZ-TOUCH #shorts 2024, Kaum ib hlis
Anonim
ESP32 Codelock Nrog Touchscreen
ESP32 Codelock Nrog Touchscreen
ESP32 Codelock Nrog Touchscreen
ESP32 Codelock Nrog Touchscreen
ESP32 Codelock Nrog Touchscreen
ESP32 Codelock Nrog Touchscreen

Coob leej neeg nug kuv txog tus lej piv txwv yooj yim heev rau ArduiTouch los sim lawv txoj haujlwm thiab tseem yog qhov pib rau tus kheej kev txhim kho. Qhov yooj yim codelock no yuav qhia txog kev ua haujlwm yooj yim ntawm Arduitouch yam tsis muaj lub tswb nrov thiab xuav thiab tuaj yeem txuas ntxiv nrog cov yam ntxwv ntxiv ntawm koj xaiv …

Kauj Ruam 1: Cov Cuab Yeej & Cov Khoom

Cov Cuab Yeej & Cov Khoom
Cov Cuab Yeej & Cov Khoom
Cov Cuab Yeej & Cov Khoom
Cov Cuab Yeej & Cov Khoom

Cov ntaub ntawv:

  • ESP32 NodeMcu
  • ArduiTouch ESP cov khoom siv

Cov Cuab Yeej:

  • Soldering hlau
  • Sab txiav pliers
  • Koob qhov ntswg pliers
  • Qhov nruab nrab hla qhov ntswj taub hau
  • nyias hlau xaim

Software:

Arduino IDE Cov

Kauj Ruam 2: Sib dhos ntawm Arduitouch

Sib dhos ntawm Arduitouch
Sib dhos ntawm Arduitouch

Thov ua raws cov ntawv qhia ua ke rau kev sib dhos ntawm ArduiTouch cov khoom siv.

Kauj Ruam 3: Txhim Kho Tsev Qiv Ntawv Ntxiv

Nruab ib lub tsev qiv ntawv hauv qab no los ntawm Arduino Library Manager

  • Adafruit GFX Library
  • Adafruit ILI9341 Lub Tsev Qiv Ntawv
  • XPT2046_Touchscreen los ntawm Paul Stoffregen

Koj tseem tuaj yeem rub tawm lub tsev qiv ntawv ncaj qha raws li ZIP cov ntaub ntawv thiab uncompress lub nplaub tshev hauv qab kojrarduinosketchfolder/qiv ntawv/

Tom qab txhim kho Adafruit cov tsev qiv ntawv, rov pib dua Arduino IDE.

Kauj ruam 4: Source Code

Koj yuav pom qhov tseeb version ntawm qhov chaws ntawm Github

  • ESP32
  • ESP8266

Hauv qhov chaws koj tuaj yeem teev tus lej lej: #define codenum 42

(tau kawg 42 yog lo lus teb rau txhua yam, tab sis koj tuaj yeem hloov qhov no rau txhua tus lej ntawm 0 thiab 999999.)

Kauj ruam 5: Khiav Demo

Thov qhib cov qauv no hauv Arduino IDE. Tom qab muab tso ua ke thiab rub tawm koj yuav pom cov keyboard. Tam sim no koj tuaj yeem nkag mus rau tus lej lej thiab lees paub nrog "OK" khawm.

Pom zoo: