Yuav Ua Li Cas Txuas Cov Tshuaj Ntsuam LCD Clover M235 Rau Arduino

Cov txheej txheem:

Yuav Ua Li Cas Txuas Cov Tshuaj Ntsuam LCD Clover M235 Rau Arduino
Yuav Ua Li Cas Txuas Cov Tshuaj Ntsuam LCD Clover M235 Rau Arduino

Video: Yuav Ua Li Cas Txuas Cov Tshuaj Ntsuam LCD Clover M235 Rau Arduino

Video: Yuav Ua Li Cas Txuas Cov Tshuaj Ntsuam LCD Clover M235 Rau Arduino
Video: 09/11/2021 Mus Muab Tshuaj Tua Covid 19 Rau Phooj Ywg 2024, Kaum ib hlis
Anonim

Hauv tsab xov xwm no, peb yuav txuas M235 LCD npo, uas muaj cov ntaub ntawv me me nyob rau hauv Is Taws Nem, mus rau Arduino, thiab ua kom nws ua haujlwm.

Clover M235 LCD Screen
Clover M235 LCD Screen

Nws yog qhov tsim nyog

  • - Arduino;
  • - khoos phis tawj;
  • - Cov vijtsam LCD Clover Zaub M235;
  • - potentiometer 10 kOhm;
  • - txuas cov xaim;
  • - breadboard (xaiv tau).

Cov Lus Qhia

Kauj ruam 1

Daim duab ua haujlwm thaiv rau Clover Display M235 LCD screen - raws li nyob hauv daim duab. M235 zaub tsis yog rov qab, tab sis kev sib piv ntawm lub cim tuaj yeem hloov kho nrog 10 kΩ potentiometer.

Daim duab hluav taws xob txuas rau LCD npo Clover M235
Daim duab hluav taws xob txuas rau LCD npo Clover M235

Kauj ruam 2

Cov duab kos rau tso saib cov lus ntawm LCD npo ntawm M235 yog muaj nyob hauv daim duab no. Nws suav nrog hauv txheej txheem Arduino qiv. Qhib cov sketch dhau los ntawm cov ntawv qhia zaub mov: Cov Ntaub Ntawv -> Cov Qauv -> LiquidCrystal -> HelloWorld. Tso cov duab kos rau hauv Arduino lub cim xeeb. Hauv cov ntawv tshaj tawm ntawm Arduino IDE, kev rub tawm yog nyob hauv Cov Ntawv Qhia Cov Ntawv, nyob rau hauv cov khoos phis tom qab tau hloov mus rau Sketch menu. Kev sib xyaw ntawm cov yuam sij kub tseem zoo li qub: Ctrl + U. Tom qab cov khoom lag luam, txiav tawm "Arduino" los ntawm lub khoos phis tawm.

Kos duab rau kev ua haujlwm nrog LCD screen Clover M235
Kos duab rau kev ua haujlwm nrog LCD screen Clover M235

Kauj ruam 3

Cia peb tsim txoj kab sib chaws ntawm cov khob cij - ntoo mov. Peb twb tau sib tham ua ntej txheej txheem ntawm kev ua haujlwm nrog lub khob cij. Thaum sib sau ua ke Circuit Court, peb raug coj ua raws li tus cai hais tias: "ntsuas xya zaus, txiav ib zaug"!

Thaum txhua yam los ua ke thiab kuaj ua ntej, tig mus rau Arduino. Qhov screen qhia txog qhov kev sib hu: "Nyob Zoo, KakProsto" thiab suav lub vib nas this txij lub sijhawm hloov mus.

Pom zoo: