Cov txheej txheem:

Optical Rain Sensor: 6 Kauj Ruam (nrog Duab)
Optical Rain Sensor: 6 Kauj Ruam (nrog Duab)

Video: Optical Rain Sensor: 6 Kauj Ruam (nrog Duab)

Video: Optical Rain Sensor: 6 Kauj Ruam (nrog Duab)
Video: Жизнь Ариэллы | полный фильм - русские субтитры| Драма 2024, Lub Xya hli ntuj
Anonim
Optical Rain Sensor
Optical Rain Sensor

Ntsuas nag nrog lub laser? Nws ua tau. Ua raws li Cov Lus Qhia no kom ua rau koj tus kheej heev Opical Rain Sensor.

Kauj Ruam 1: Cov Khoom Npe

Particle Photon

  • Cov qhob cij
  • Hlau
  • Resistor
  • Lub teeb sensor
  • Laser diode
  • 1 Ntoo loj
  • 2 Cov ntoo me me
  • Loj Perspex thaiv nrog cov ces kaum txiav tawm 45 °
  • Daim kab xev ob tog

Kauj ruam 2: Particle Photon

Peb thawj kauj ruam yog txhawm rau txuas lub khob cij mus rau Particle Photon. Cov Particle Photon yuav tsum tau muab tso rau hauv nruab nrab kab ntawm lub khob cij rau ntawm qhov kawg ntawm lub khob cij. Nco ntsoov tias lub micro USB-chaw nres nkoj nyob deb ntawm lub khob cij.

Kauj Ruam 3: Kev thaiv kab hlau

Thaiv
Thaiv
Thaiv
Thaiv
  • Txuas GND mus rau - sab ntawm sab xis
  • Txuas 3v3 rau + sab ntawm sab xis
  • Txuas lub laser diode mus rau sab laug ntawm qhov uas 3v3 txuas nrog thiab ntawm - sab ntawm sab xis
  • Muab tus tiv thaiv rau ntawm - sab ntawm sab xis thiab lwm qhov kawg nyob qhov twg hauv nruab nrab
  • Txuas lub resistor rau A4 nrog xaim
  • Tsis tas li ntawm A4 txuas ib sab ntawm lub teeb pom kev zoo thiab lwm sab ntawm lub sensor tso rau hauv tib kab ntawm + sab ntawm sab xis

Kauj Ruam 4: Txhim Kho Tsev

Tsev Teeb
Tsev Teeb

Tsim lub teeb yog ib kauj ruam tseem ceeb. Thawj qhov koj xav tau yog qhov thaiv ntawm perspex. Cov ces kaum yuav tsum tau txiav tawm ntawm lub kaum sab xis ntawm 45 °, yog li lub laser muaj peev xwm tuaj yeem cuam tshuam hauv qhov thaiv. Hloov ntawm perspex kuj iav lossis lwm yam khoom siv pob tshab tuaj yeem siv tau. Txhawm rau ua kom perspex nyob rau hauv ib lub kaum sab xis yam tsis tau poob, ib qho ntoo loj loj tau siv. Peb tau ua lub kaum sab xis hauv cov ntoo thaiv thiab nrog ob daim kab xev txuas rau nws mus rau qhov txuas. Ntawm ob qho ntawm kev txiav tawm ntawm ob sab ntawm perspex thaiv yuav tsum tau txuas nrog ib qho me me ntawm ntoo. Ib qho rau lub laser thiab ib qho rau lub teeb pom kev zoo. Peb muab lub teeb pom kev sab hauv rau hauv ib daim yas dub kom nws tsis cuam tshuam los ntawm lub teeb ib puag ncig. Ob qho ntawm cov ntoo thaiv tau txuas nrog daim kab xev ob tog. Xyuas kom tseeb tias cov ntoo thaiv tau raug ntsuas ua ntej txuas rau lawv kom lub teeb ci laser nkag mus rau hauv lub teeb pom kev zoo. Thaum kawg peb muab qee cov yas tso rau sab saum toj thiab sab nraub qaum kom peb lub khob cij tsis ntub.

Kauj ruam 5: Programming

Programming
Programming

Kauj ruam 6: Tiav lawm

Tam sim no koj tau ua haujlwm Optical Rain Sensor. Txhua yam yog sab laug yog ntsuas qhov tseem ceeb hauv txoj cai, yog li nws sib haum nrog cov dej nag txoj cai.

Pom zoo: