Cov txheej txheem:

DIY Tsob Ntoo Huv Sensor W/ Arduino: 6 Cov Kauj Ruam (nrog Duab)
DIY Tsob Ntoo Huv Sensor W/ Arduino: 6 Cov Kauj Ruam (nrog Duab)

Video: DIY Tsob Ntoo Huv Sensor W/ Arduino: 6 Cov Kauj Ruam (nrog Duab)

Video: DIY Tsob Ntoo Huv Sensor W/ Arduino: 6 Cov Kauj Ruam (nrog Duab)
Video: DIY Radar With Ultrasonic Sensor And Chat-GPT Generated Arduino Code | Coders Cafe 2024, Hlis ntuj nqeg
Anonim
DIY cog Hws noo Sensor W/ Arduino
DIY cog Hws noo Sensor W/ Arduino
DIY cog Hws noo Sensor W/ Arduino
DIY cog Hws noo Sensor W/ Arduino

Pom qhov haujlwm no ntawm kuv lub vev xaib!

Txoj haujlwm no yuav suav cov dej ntawm cov av ib puag ncig ib tsob ntoo los ntawm kev ntsuas lub dielectric tas li (cov av muaj peev xwm xa hluav taws xob) thiab yuav ceeb toom koj nrog LED liab thaum tsob ntoo xav tau dej ntau dua lossis xiav thaum nws muaj ntau dhau.

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv

Koj yuav tsum tau sau cov khoom no txhawm rau tsim txoj haujlwm no.

  • Arduino UNO lossis sib npaug (x1):
  • 220Ω* resistors (rau LED) (x3):
  • 10kΩ resistor (x1) - xim av txiv kab ntxwv daj:
  • RGB LED (x1) lossis 3 xim sib txawv LEDs:
  • Ntev Jumper Cables (x2):
  • Jumper Cables (x6):
  • Breadboard (x1):
  • Bolts ntawm txhua qhov loj me (x2):
  • Ceev tib txoj kab uas hla raws li bolts saum toj no (x2):

Kauj ruam 2: Tsim Sensor Prongs

Tsim Sensor Prongs
Tsim Sensor Prongs
Tsim Sensor Prongs
Tsim Sensor Prongs

Koj yuav tsum rov ua cov kauj ruam no ob zaug (ib zaug rau txhua qhov prong).

  1. Pib zawm cov txiv ntseej nyob ib ncig ntawm tus ntsia liaj qhov rooj
  2. Xaub qhov kawg ntawm txoj hlua jumper ntev ntawm cov txiv ntoo thiab lub taub hau ntawm ntsia liaj qhov rooj.
  3. Ua kom nruj cov txiv ntoo kom txog thaum koj tsis tuaj yeem rub tawm lub jumper cable

Kauj Ruam 3: Tsim Circuit Court

Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court

Ua raws li cov txheej txheem lossis cov duab ntawm lub khob cij - seb qhov twg ua haujlwm zoo dua rau koj. Cov xov hlau hais tias "tawm" yog ob txoj kab uas koj nyuam qhuav tsim.

Kauj Ruam 4: Upload Cov Cai no

Zoo nkauj tus kheej piav qhia ntawm no. Tsuas yog xa cov cai no rau koj Arduino!

Kauj Ruam 5: Muab Qhov Chaw Sensor

Qhov chaw Sensor Prongs
Qhov chaw Sensor Prongs
Qhov chaw Sensor Prongs
Qhov chaw Sensor Prongs
  1. Ntxig cov ceg ntoo uas koj tau ua txog 1 "txog 1.5" sib nrug hauv cov av ze rau tsob ntoo koj xav tshuaj xyuas.
  2. Muab cov dej kom zoo rau tsob ntoo thiab qhib qhov saib ua ntej
  3. Nws yuav tsum muab rau koj nyeem ib puag ncig 25 - 30% yog tias koj muab cov dej kom raug
  4. Yog tias tsis yog, sim txav cov ceg ntoo ib puag ncig kom nws raug (lossis koj tsuas yog ntxiv dej ntau dhau)

Kauj Ruam 6: Kev Tiv Thaiv Sab Nraud

Yog tias qhov no tawm sab nraud koj yuav xav tso koj lub xov tooj cua sab hauv ntawm Tupperware lossis lwm lub thawv ntim dej kom tiv thaiv nws los ntawm cov ntsiab lus. Tom qab ntawd laum qee qhov rau lub xov tooj hluav taws xob kom dhau los thiab ntxiv lub thawv roj teeb rau lub zog nws (saib ntawm no seb yuav ua li cas). Txawm li cas los xij, kuv yuav tsis tawm sab nraud, thiab yuav zoo yog tsis muaj lub ntim khoom.

Pom zoo: