Cov txheej txheem:

Kev Ruaj Ntseg Lite: 3 Kauj Ruam
Kev Ruaj Ntseg Lite: 3 Kauj Ruam

Video: Kev Ruaj Ntseg Lite: 3 Kauj Ruam

Video: Kev Ruaj Ntseg Lite: 3 Kauj Ruam
Video: Tau kev seev vim ruam tsis deev. 9/28/2017 2024, Kaum ib hlis
Anonim
Kev Ruaj Ntseg Lite
Kev Ruaj Ntseg Lite

Kev Ruaj Ntseg Lite yog lub zog ruaj ntseg tshiab uas pheej yig thiab muaj txiaj ntsig zoo. Nws siv lub teeb pom kev hauv tsev txhawm rau txheeb xyuas qhov hloov pauv ntawm lub teeb, yog tias muaj kev hloov pauv, lub tswb raug teeb tsa. Kuv qhov kev tshoov siab kom ua qhov no yog laser mus ncig cov xov hlau thiab cov cim txav. Lawv ob leeg nkag siab qhov cuam tshuam txawm tias pom pom lossis pom zoo, tab sis kev nyab xeeb Lite zoo dua vim nws muaj peev xwm saib xyuas thaj chaw loj dua. Kev Ruaj Ntseg Lite muaj txiaj ntsig zoo nws muaj qhov hloov tshiab ntawm 1 lab zaug hauv ib ob. Kev Ruaj Ntseg Lite tsis yooj yim heev tshwj tsis yog tias koj taug kev tsawg kawg 1% qhov nrawm ntawm lub teeb (Raws li qhov kev sim tiag tiag thiab suav nrog).

Kauj Ruam 1: Sau Cov Khoom

Kev ruaj ntseg xav tau ob peb tab sis cov khoom pheej yig:

  1. Arduino Uno lossis Mega
  2. Photo resistors (Ntxiv ntau npaum li koj nyiam tab sis kuv siv 2)
  3. Buzzer
  4. 1 k resistor
  5. 9 Txiv neej rau Txiv neej jumper xov hlau
  6. Pawg Mov Ci

Tus yees duab resistors hloov pauv tau, vim muaj peev xwm ntxiv lossis tshem tawm cov tshuaj tiv thaiv raws li qhov xav tau.

Kauj Ruam 2: Txuas Nws

Hlau Nws Up
Hlau Nws Up

Hlau Arduino thiab cov khoom siv raws li cov txheej txheem:

  1. Photo resistors rau 5v thiab A0 lossis A1 thiab Resistor
  2. Resistors rau GND
  3. Buzzer rau GND thiab Digitlal Pin 7

Kauj ruam 3: Code

Thaum kawg peb yuav tsum tau ntxiv qee qhov chaws, suav nrog cov lej muab hauv cov lus qhia no. TAB SIS! Peb yuav tsum hloov qee qhov kev hloov pauv hauv cov cai, tsuas yog kom Arduino paub koj qib teeb thiab ntau npaum li cas nws yuav txawv.

Pom zoo: