Cov txheej txheem:

Arduino Raws Nextion Kov Tswj: 4 Cov Kauj Ruam
Arduino Raws Nextion Kov Tswj: 4 Cov Kauj Ruam

Video: Arduino Raws Nextion Kov Tswj: 4 Cov Kauj Ruam

Video: Arduino Raws Nextion Kov Tswj: 4 Cov Kauj Ruam
Video: 161 #nextion #arduino #tutorial #GET command and a #UNION 2024, Kaum ib hlis
Anonim
Arduino Raws Nextion Kov Tswj
Arduino Raws Nextion Kov Tswj

Ib tus phooj ywg tab tom nrhiav kev daws teeb meem txias los tswj HVAC (cua sov, tso cua, cua txias) ntawm nws lub tsheb los ntawm kov lub vijtsam thiab Arduino. Lub tswv yim tau tsim los ntawm txoj haujlwm qub ntawm kuv txog kev tswj hwm sab hauv ntawm lub limousine ncab, tab sis nws yuav tsum me dua thiab yooj yim dua.

Kuv tau siv Nextion kov lub vijtsam dua rau txoj haujlwm no thiab txuas lawv ncaj qha nrog Arduino UNO. Txhua daim duab thiab lwm cov ntaub ntawv ntawm GUI tau khaws cia hauv Nextion kov nws tus kheej. Nws yooj yim heev los txuas cov ntxaij vab tshaus kov no rau lub microcontroller (hauv peb cov ntaub ntawv Arduino) ntawm UART.

Cov lus qhia me me no yuav qhia koj yooj yim npaum li cas koj tuaj yeem paub qhov project nrog Nextion kov cov ntxaij vab tshaus thiab Arduino rau qhov sib txawv …

Kauj Ruam 1: Cov Cuab Yeej & Cov Khoom

Kho vajtse

- Nextion touchscreen (xaiv tau koj tuaj yeem ua thawj qhov kev sim hauv kev sim)

- Arduino UNO lossis Nano

- Breadboard rau thawj qhov kev sim / sim

Software

- Arduino IDE

- Tus Thawj Coj Editor

Kauj Ruam 2: Npaj Breadboard los Xeem thiab Kho Kho Vajtse

Npaj Breadboard los Xeem thiab Kho Kho Vajtse
Npaj Breadboard los Xeem thiab Kho Kho Vajtse
Npaj Breadboard los Xeem thiab Kho Kho Vajtse
Npaj Breadboard los Xeem thiab Kho Kho Vajtse

Kho vajtse yog yooj yim heev. Hauv peb qhov haujlwm kho vajtse tau tsim los ntawm kuv tus phooj ywg. Rau thawj qhov kev sim koj tuaj yeem tsim qhov kev sim yooj yim Circuit Court ntawm lub khob cij nrog LEDs. Thov txuas cov LEDs nrog 220R resistors rau Arduino thiab hauv av.

Kauj Ruam 3: Txuas Txuas Nextion Touch lossis Simulator

Image
Image

Koj tuaj yeem txuas ncaj qha Nextion kov ntawm UART pins ntawm Arduino. Rau thawj qhov kev sim koj tuaj yeem pib yam tsis muaj kev cuam tshuam dab tsi ntxiv, vim tus kws tshaj lij los nrog lub simulator zoo tiag tiag. Koj tuaj yeem txuas Arduino hauv qhov no ntawm USB nrog koj lub PC.

Kauj ruam 4: Kuv Firmware

Rau koj cov kauj ruam koj tuaj yeem pib nrog kuv cov firmware…

Pom zoo: