Cov txheej txheem:

DIY Sun Tracker Robot Siv Arduino: 3 Kauj Ruam
DIY Sun Tracker Robot Siv Arduino: 3 Kauj Ruam

Video: DIY Sun Tracker Robot Siv Arduino: 3 Kauj Ruam

Video: DIY Sun Tracker Robot Siv Arduino: 3 Kauj Ruam
Video: KOMBIWUNDER: 1 schwarzer Rock - 5 Outfits 2024, Kaum ib hlis
Anonim
DIY Sun Tracker Robot Siv Arduino
DIY Sun Tracker Robot Siv Arduino

Nov yog kev qhia rau lub hnub taug qab ntawm daim vis dis aus no, tawm hauv qab! wb pib.

Kauj ruam 1: Cheebtsam

Cheebtsam!
Cheebtsam!
Cheebtsam!
Cheebtsam!
Cheebtsam!
Cheebtsam!
Cheebtsam!
Cheebtsam!

Rau qhov no koj yuav xav tau:

  • 1 x Arduino Nano
  • 2x Servo Tsav
  • 4 x Photoresistors
  • 4 x tus tiv thaiv zoo ib yam ntawm tib qho kev tawm tsam, nyiam dua 200Ω txog 1kΩ

Kauj Ruam 2: Qauv

Qauv
Qauv
Qauv
Qauv

Rau lub teeb pom kev peb tab tom siv plaub tus tiv thaiv uas cuam tshuam los ntawm photons, cov no hu ua photoresistors. Peb tab tom cais lawv los ntawm plaub phab ntsa. Txhua lub sijhawm tsoo los ntawm ib lub ces kaum tus tracker yuav tig mus rau lub teeb kom nws nyob nruab nrab ntawm ntu, khawb ob lub qhov rau txhua tus photoresistor thiab txuas nws mus rau Circuit Court saum toj no (rau X-Axis thiab Y-Axis txav kuv glued lub servo motor) nyob rau lwm qhov).

Kauj ruam 3: Code

Kuv tau txuas kuv X-axis servo motor rau tus lej digital 8 thaum Y-Axis rau tus lej digital 7. Koj tuaj yeem luam qhov chaws no, thauj nws mus rau arduino thiab cia qhov khawv koob tshwm sim.

Pom zoo: