Cov txheej txheem:

Sun Tracker - Arduino: 4 Kauj Ruam
Sun Tracker - Arduino: 4 Kauj Ruam

Video: Sun Tracker - Arduino: 4 Kauj Ruam

Video: Sun Tracker - Arduino: 4 Kauj Ruam
Video: How to make a solar tracking system using Arduino | step by step 2024, Hlis ntuj nqeg
Anonim
Tshav Tracker - Arduino
Tshav Tracker - Arduino
Tshav Tracker - Arduino
Tshav Tracker - Arduino

Kev siv cov peev txheej txuas ntxiv los tsim hluav taws xob tau nce ntxiv. Hnub ci vaj huam sib luag tau dhau los ua neeg nyiam txhua hnub. Hnub ci vaj huam sib luag nqus lub zog los ntawm Tshav thiab lawv hloov nws mus ua hluav taws xob thiab tseem yuav tsum nqus lub zog mus txog qhov siab tshaj plaws. Qhov no tuaj yeem ua tiav tsuas yog tias cov vaj huam sib luag tau txuas ntxiv mus rau Hnub Qhia. Yog li lub hnub ci vaj huam sib luag yuav tsum tsis tu ncua tig mus rau hauv kev taw qhia ntawm Sun.

Kab lus no piav qhia txog Circuit Court uas tig lub hnub ci vaj huam sib luag mus rau lub hnub.

Kauj Ruam 1: Cheeb Tsam rau Txoj Haujlwm

Cheebtsam rau Txoj Haujlwm
Cheebtsam rau Txoj Haujlwm
Cheebtsam rau Txoj Haujlwm
Cheebtsam rau Txoj Haujlwm
Cheebtsam rau Txoj Haujlwm
Cheebtsam rau Txoj Haujlwm

Rau qhov haujlwm no koj yuav xav tau:

  1. Arduino UAS
  2. Vaj Huam Sib Luag Hnub Ci (60 x 60)
  3. LED diod (sawv cev hluav taws xob los ntawm lub hnub ci vaj huam sib luag)
  4. Servo motor (Ntauwd Pro SG90)
  5. Plaub tus tiv thaiv (220 Ohm) rau kev tiv thaiv GPIO pins
  6. Hlau
  7. Ntoo lub thawv

Kauj Ruam 2: Txuas Txuas

Xov Tooj
Xov Tooj
Xov Tooj
Xov Tooj
Xov Tooj
Xov Tooj

Ua ntej tshaj plaws kom ntseeg tau tias koj Arduino raug kaw.

Tom qab ntawd txhua tus duab ntsuas yuav tsum txuas nrog tus tiv thaiv thiab txhua tus ntawm lawv nrog tus pin zoo sib xws (sab hnub tuajLDR ntawm A0, sab hnub poobLDRPin ntawm A2,, sab qaum teb hnub poob ntawm A4, sab qaum teb sab hnub tuaj ntawm A5).

Lub servo yuav tsum txuas nrog tus pin 9.

Lub hnub ci vaj huam sib luag yuav tsum txuas nrog LED Diode.

Kauj ruam 3: Coding

Nws yog txoj cai tig tam sim no. Hauv ntu no koj muaj cov cai uas koj xav tau rau txoj haujlwm no.

Tsis txhob txhawj xeeb txog kev nkag siab ntawm cov cai, peb tau tawm tswv yim txhua yam koj yuav tsum tam sim no.

GitHub txuas ntawm tus lej koj tuaj yeem pom nws ntawm no.

Kauj Ruam 4: Kev Ntsuam Xyuas

Txuas Arduino nrog koj lub khoos phis tawj, tso tus lej ntawm Arduino Software thiab txoj haujlwm tau npaj rau kev sim.

Muaj kev lom zem!

Cov koom nrog: Aleksandar Trajkovski (151083) thiab Martin Shterjoski (151070).

Pom zoo: