Cov txheej txheem:

Tswv Yim Sau Cov Txheej Txheem: 4 Kauj Ruam
Tswv Yim Sau Cov Txheej Txheem: 4 Kauj Ruam

Video: Tswv Yim Sau Cov Txheej Txheem: 4 Kauj Ruam

Video: Tswv Yim Sau Cov Txheej Txheem: 4 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Tswv Yim Sau Cov Txheej Txheem
Tswv Yim Sau Cov Txheej Txheem
Tswv Yim Sau Cov Txheej Txheem
Tswv Yim Sau Cov Txheej Txheem
Tswv Yim Sau Cov Txheej Txheem
Tswv Yim Sau Cov Txheej Txheem

Nws yog qhov txaus nyiam khaws cov lus tawm tom qab xwm txheej thiab kev cob qhia. Txhawm rau daws qhov teeb meem ntawd, peb tau ua qhov kev tawm tswv yim raws li arduino.

Hauv txoj haujlwm no peb yuav ua cov cuab yeej siv hluav taws xob uas yuav sau cov lus tawm tswv yim raws li lub pob nyem, siv Arduino UNO thiab hloov pauv.

Khoom siv:

  • Hloov
  • mov ci pawg thawj coj saib
  • Arduino UAS
  • 330E tus tiv thaiv
  • Jumper hlau
  • Buzzer
  • 9-12 volt fais fab mov

Kauj Ruam 1: Sib dhos Circuit

Sib dhos Circuit Court
Sib dhos Circuit Court

Txuas 3 hloov hauv txoj cai faib hluav taws xob nrog 330E resistor thiab txuas cov khoom tso tawm rau Arduino tus pin analog.

Ntawm no kuv siv Arduino UNO tus pin analog A0, A1, A2.

Kauj ruam 2: Txuas Buzzer

Txuas Buzzer
Txuas Buzzer

Buzzer tau siv ntawm no los ua suab tso tawm ntawm kev lees paub ntawm kev kaw suab pov npav.

Txuas lub buzzer rau cov lej digital pin 12 ntawm Arduino.

Kuv siv lub buzzer no los tshuaj xyuas seb cov txheej txheem pov npav tau ua tiav lossis tsis yog ntawm tus neeg.

Yog tias kev pov npav tau ua tiav, tom qab ntawv lub suab nrov yuav nrov tom qab nias lub pob

Kauj Ruam 3: Upload EEPROM Counter Code

Rub tawm EEPROM Counter Code
Rub tawm EEPROM Counter Code

Tshaj tawm EEPROM cov cai rau koj pawg thawj coj siv arduino IDE.

Kauj Ruam 4: Upload EEPROM Nyeem Code

Upload EEPROM Nyeem Code
Upload EEPROM Nyeem Code

Thaum qhov kev sau tawm tswv yim tau xaus. Tshaj tawm EEPROM nyeem cov cai kom tau txais txiaj ntsig ntawm cov ntawv pov npav kaw.

Rau kev ntsuas lub hom phiaj: Koj tuaj yeem nias qhov hloov pauv thiab pom pes tsawg lub sijhawm koj nias nws hauv kab ntawv saib. Tus lej saib xyuas yuav qhia koj tus nqi EEPROM.

Pom zoo: