Cov txheej txheem:

Arduino Suav Timer rau Kev Tshaj Tawm: 5 Kauj Ruam
Arduino Suav Timer rau Kev Tshaj Tawm: 5 Kauj Ruam

Video: Arduino Suav Timer rau Kev Tshaj Tawm: 5 Kauj Ruam

Video: Arduino Suav Timer rau Kev Tshaj Tawm: 5 Kauj Ruam
Video: Computer Vision with Python! Resizing Images 2024, Hlis ntuj nqeg
Anonim
Arduino Suav Timer rau Kev Tshaj Tawm
Arduino Suav Timer rau Kev Tshaj Tawm

Nov yog lub sijhawm suav rov qab uas ua los ntawm kev siv Arduino UNO thiab LCD saib. Qhov laj thawj vim li cas kuv thiaj ua qhov haujlwm no vim tias hauv peb lub tsev kawm ntawv (KCIS), peb yuav tsum tau noj su txhua hnub Wednesday thaum 9:30 teev tsaus ntuj online. Txawm li cas los xij, nto moo tshaj plaws thiab cov zaub mov uas xav tau zoo yeej ib txwm tau tseg tseg lawm. Yog li no, Arduino suav lub sijhawm suav nrog yuav tau txais txiaj ntsig ntau los ntawm kev ceeb toom kuv txog lub sijhawm. Thaum koj teeb tsa lub sijhawm, lub sijhawm teem sijhawm yuav pib suav rov qab mus txog thaum 9:30 teev tsaus ntuj, tom qab lub sijhawm tiav, lub tswb nrov nrov yuav tshaj tawm rau kuv kom mus online thiab tseg zaub mov noj.

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv
  • Arduino UNO x1
  • LCD Saib nrog I2C hloov x1
  • Buzzer x 1
  • Jumper xov hlau
  • Potentiometerx1
  • Lub khob cij x1

Kauj Ruam 2: Txhim Kho Lub Circuit Court

Image
Image
Sau tus Code !!!
Sau tus Code !!!

NCO NTSOOV !!!

Txheeb xyuas "SDA" & "SCL" (nyob tom qab ntawm lub LCD saib thiab Arduino UNO board) thaum koj txhim kho lub Circuit Court.

Kauj Ruam 3: Ntaus Tus Code !

Nov yog cov cai

REMINDER

  • Nws muaj qhov yuam kev nruab nrab ntawm +- 2 feeb
  • Yog tias lub LCD saib tsis tuaj yeem pom dab tsi, kos rau tus lej rau thawj kab ntawm tus lej, nws tuaj yeem yog 0x3F lossis 0x27 nyob ntawm qhov sib txawv LCD saib.

LiquidCrystal_I2C lcd (0x3F, 20, 4);

LiquidCrystal_I2C lcd (0x27, 20, 4);

Kauj Ruam 4: Kho Koj Lub Timer

Kho koj lub Timer
Kho koj lub Timer
Kho koj lub Timer
Kho koj lub Timer
  1. Xaiv cov ntaub ntawv khau uas tuaj yeem haum txhua yam koj cov ntaub ntawv sab hauv
  2. Xaiv txoj haujlwm uas koj nyiam thiab txiav lub qhov rau nws (LCD & potentiometer)
  3. Pib npog koj rooj plaub nrog txhua hom ntawv koj nyiam ua kom zoo nkauj (Kuv xaiv daim ntawv kraft)
  4. Txiav daim ntawv mus rau qhov loj me uas yog qhov tsim nyog tshaj plaws tom qab ntawd pib ruaj khov nrog kua nplaum lossis daim kab xev ob tog
  5. Ua tiav npog thiab haum koj lub sijhawm nyob sab hauv.

Kauj ruam 5: Ua tiav

Thaum kawg, Arduino countdown timer tau ua tiav. Lub sijhawm no tsis tsuas yog muaj txiaj ntsig zoo rau cov tub ntxhais kawm ntawv uas kawm hauv Kang Chiao kom tseg noj su, tab sis nws tseem tuaj yeem siv rau ntau yam xwm txheej sib txawv. Nws yog lub sijhawm siv tau zoo thiab siv sijhawm thev naus laus zis rau tshaj tawm cov neeg rau lawv cov txheej txheem.

Pom zoo: