Cov txheej txheem:

LDR SENSOR: 4 Kauj Ruam
LDR SENSOR: 4 Kauj Ruam

Video: LDR SENSOR: 4 Kauj Ruam

Video: LDR SENSOR: 4 Kauj Ruam
Video: Automatic LDR Sensor Street Light | How To Make LDR Sensor Street Light | LDR Sensor Light 2024, Hlis ntuj nqeg
Anonim
LDR SENSOR
LDR SENSOR

LDR yog ib feem uas muaj (sib txawv) lub teeb pom kev tiv taus uas hloov pauv. Qhov no pab lawv siv rau hauv cov kab hluav taws xob rau pom lub teeb. Rau cov kab hluav taws xob qhov twg xav tau kev nkag siab lossis lub teeb pom kev zoo, lub teeb tiv taus lub teeb, LDRs thiab photoresistors qee zaum siv. Tus lej ntawm cov npe tuaj yeem txheeb xyuas lawv los ntawm lub teeb-tiv taus tus tiv thaiv, LDR, photoresistor, lossis txawm tias photocell, photocell, lossis photoconductor.

Khoom siv

1 Arduino UAS

1 Ntsuab LED

1 Liab LED

1 Daj LED 4.7 kΩ

3 Resistor 220Ω/4.7kΩ

1 PIB

1 Tus kws yees duab

Kauj Ruam 1: Tso Koj Cov Cheeb Tsam Ua Ke

Tso Koj Cheeb Tsam Ua Ke
Tso Koj Cheeb Tsam Ua Ke

Hauv cov kauj ruam no koj saib mus rau qhov chaw sab uas txhua qhov khoom siv tau khaws cia koj ncaj nraim mus rau qhov ntawd rau koj 3 LED, Resistors, Piezo, thiab qhov tseem ceeb tshaj plaws yog koj lub koob yees duab tiv thaiv. Kuv qhia ua qhov no ua ntej pib xaim koj lub khob cij thiab koj tau paub txog qhov kev tso kawm thiab koj muaj lub tswv yim nyob qhov twg koj yuav xaim koj cov khoom ib yam nkaus

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv

Raws li qhia hauv daim duab yog ntu txuas, txhua yam ncaj qha rau ntawm qhov chaw txuas koj tus pin ib yam nkaus li qhia yuav ua haujlwm los ntawm cov cai uas yuav muab. Kuv pom zoo kom siv chaw ntau npaum li koj xav tau kom koj nkag siab zoo dua txog yam khoom tau txuas nrog, tshwj xeeb tshaj yog thaum nws yuav tsum ua kab nrog koj cov cai

Kauj ruam 3: Code

Code
Code

Nov yog qhov loj kawg ntawm kev muab txhua yam ua ke. Nws zoo nkauj ncaj nraim rau tom ntej ib yam vim tias cov cai tau ua tiav thiab ua haujlwm lawm. Txhua qhov kev hloov pauv rau tus pins tseem tau piav qhia nyob rau ntawd kom pom tias nws ua haujlwm li cas thiab tseem yuav ua li cas sensor.pin yog kab tseem ceeb cuam tshuam kev sib txuas ntawm lub sensor nrog lub khob cij

Kauj Ruam 4: Muaj kev lom zem

Muaj kev lom zem
Muaj kev lom zem

Tam sim no koj tau ua tiav qhov Circuit Court koj muaj kev ywj pheej txav mus ncig lub photoresistor sab laug mus rau sab xis thiab pom cov txiaj ntsig ntawm nws thiab tseem muaj koj li Serial saib qhib rau txhawm rau txheeb xyuas qhov sib txawv ntawm cov lej thiab qhov tsis kam

Pom zoo: