Cov txheej txheem:

Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!: 6 Cov Kauj Ruam (nrog Duab)
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!: 6 Cov Kauj Ruam (nrog Duab)

Video: Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!: 6 Cov Kauj Ruam (nrog Duab)

Video: Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!: 6 Cov Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!
Anti -Sunflower - Cov Ntsiab Lus rau Koj Qhov Tsaus!

Txij thaum yau los, Kuv ib txwm xav sim kuv txhais tes ntawm hluav taws xob. Tsis ntev los no kuv yuav Arduino thiab pib tshawb nrhiav nws. Hauv cov txheej txheem no, Kuv tau paub ntau ntxiv txog Lub Teeb Txaus Siab Tiv Thaiv (LDR).

Ua cas, Kuv dawm hla lub tswv yim no. Yeej, nws yog hluav taws xob paj noob hlis uas ua rau qhov tsis sib xws ntawm cov paj noob hlis. Nws taw tes rau qhov tsaus ntuj !!!

Kauj Ruam 1: Cov Khoom Koj Xav Tau

  • 3 Lwd
  • 3 10k Ohm resistors
  • Ib lub cav servo
  • Pawg Arduino
  • Ob peb Jumper xov hlau
  • Cov Khoom Siv Soldering
  • Perforated PCB
  • Lub lauj kaub me me nrog qee cov av qhuav.

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
Qhov Circuit
Qhov Circuit

Qhov tseem ceeb yog txhua LDR yog lub luag haujlwm rau lub kaum sab xis, sab laug rau 180 degrees, nruab nrab ib qho rau 90 degrees thiab sab xis rau 0 degrees. Piv txwv li, yog nruab nrab LDR tsis tau txais lub teeb thiab lwm LDRs tau txais qee lub teeb tom qab ntawd

Arduino yuav tau txais cov lus qhia hauv qab no:

  • LDR sab laug => HIGH
  • Middle LDR => LOW
  • Txoj cai LDR => HIGH

Raws li cov tswv yim no, Arduino tuaj yeem suav lub kaum sab xis (90 degrees hauv qhov no) thiab xa cov ntaub ntawv no mus rau servo motor.

Kauj Ruam 3: Txoj Cai

Nyob rau hauv cov ntsiab lus layman, qhov no yog qhov chaws ua:

  • Nws siv cov tswv yim los ntawm 3 LDRs.
  • Siv cov tswv yim no, nws xam qhov pom kev ntawm txhua lub LDR tau txais.
  • Tam sim no, nws suav lub kaum sab xis nws yuav tsum mus. Piv txwv li yog tias txoj cai & nruab nrab LDR ob qho tib si tsis tau txais lub teeb, tom qab ntawd lub kaum sab xis yuav yog 45 degrees (Mid angle ntawm 0 degree & 90 degree yog 45 degrees).

Nrhiav cov cai ntawm no.

Kauj ruam 4: Tsim Circuit Court

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

Siv Perforated PCB los txhuam cov tshuaj tiv thaiv thiab LDRs. Siv Arduino breadboard rau txuas PCB thiab servo motor. Upload cov cai thiab sim.

Kauj Ruam 5: Cog Cov Tshuaj Tiv Thaiv Sunflower

Cog Anti-sunflower
Cog Anti-sunflower
Cog Anti-sunflower
Cog Anti-sunflower
Cog Anti-sunflower
Cog Anti-sunflower

Kuv tau siv lub lauj kaub me me thiab ua lub qhov rau nws hla cov xov hlau. Muab qee cov av, khaws cov servo motor, ntxiv qee cov av ntxiv. Tom qab ntawd tsuas yog txuas lub servo motor nrog Arduino thiab koj ua tiav!

Pom zoo: