Cov txheej txheem:

Mars Rover Siv Raspberry Pi: 5 Kauj Ruam
Mars Rover Siv Raspberry Pi: 5 Kauj Ruam

Video: Mars Rover Siv Raspberry Pi: 5 Kauj Ruam

Video: Mars Rover Siv Raspberry Pi: 5 Kauj Ruam
Video: [SchimmerMediaHD] Tech Pack Opening [#34][HD] 2024, Kaum ib hlis
Anonim
Mars Rover Siv Raspberry Pi
Mars Rover Siv Raspberry Pi
Mars Rover Siv Raspberry Pi
Mars Rover Siv Raspberry Pi
Mars Rover Siv Raspberry Pi
Mars Rover Siv Raspberry Pi

Nyob zoo txhua tus Kawm Zoo, Kuv ib txwm xav paub txog mars rover, Muaj 6 lub log uas tuaj yeem mus rau txhua qhov chaw ntawm mars thiab tshawb nrhiav yam khoom los ntawm Ntiaj Teb.

Kuv kuj xav tshawb nrhiav yam khoom los ntawm zaum ntawm kuv lub laptop.

Yog li tam sim no kuv ua nws lub sijhawm kom ua thiab qhia rau txhua tus ntawm koj.

Kuv tau ua qee lub chassis acrylic siv fusion 360 thiab ua laser txiav thiab ua rau kuv cov mars rover.

Kuv tau ua ob daim video

1.cov Mars rover.

2. teeb tsa lub raspberry pi, lub koob yees duab thiab lub cajmeem.

Thov saib thiab qhia rau kuv paub yog tias koj ntsib teeb meem hauv kev ua thiab tshawb nrhiav

….

Khoom siv

  • Mars rover acrylic txiav tej daim
  • 6 BO01 Lub cev muaj zog thiab lub log
  • ceev thiab ntsia liaj qhov rooj
  • L clamp (6 tsis muaj.)
  • 2 pc 3.7v roj teeb thiab tus tuav
  • raspberry pib 3
  • lub koob yees duab
  • tsav tsheb l293d
  • 3 daim 7805 Voltage regulator

Kauj Ruam 1: Kauj Ruam 1: Ua Mars Rover

Image
Image

Kuv tab tom txuas cov ntaub ntawv.dxf rau Mars rover project uas koj tuaj yeem siv rau kev txiav laser.

ua koj tus kheej ntawm qhov no nrog 3d luam ntawv yog tias koj muaj 3d tshuab luam ntawv.

kuv tau ua ob qho ntawm lawv.

Cov vis dis aus yuav qhia yuav ua li cas los ua ke cov mars rover. Please tawm tswv yim yog tias koj muaj kev tsis ntseeg, kuv yuav sim kuv qhov zoo tshaj plaws los daws koj cov teeb meem.

Kauj Ruam 2: Ua Haujlwm Hauv Circuit

Lub zog rau raspberry pi:

Siv 7805 3 daim ua ke nrog lub rhaub dej kub uas tuaj yeem yooj yim muab 5v thiab amp zoo rau koj li raspberry pi.

Tsav tsheb koj tuaj yeem muab nws siv GPIO pins hauv txoj hauv kev yooj yim no.

Rau qhov yooj yim koj tuaj yeem txuas tus pin 1 thiab tus pin 9 rau 5v ncaj qha.

Kauj Ruam 3: Kev teeb tsa ntawm Raspberry Pi

Ob yam peb yuav tsum tau teeb tsa

1. Tsab ntawv tsa suab

2. khob

Mus rau Terminal hauv kab yeeb yaj kiab thiab siv cov lej no los teeb tsa koj li raspberry pi.

xa mus rau cov vis dis aus kuv tau tshaj tawm thiab siv cov lej no thiab ua ntawm raspberry pi davhlau ya nyob twg.

teeb tsa tsab ntawv tsa suab:

  • sudo apt-tau hloov tshiab
  • sudo apt-tau nruab tsab ntawv tsa suab
  • sudo nano/etc/default/motion pom video hloov pauv
  • sudo chown tsab ntawv tsa suab: tsab ntawv tsa suab/var/lib/tsab ntawv tsa suab/
  • sudo nano /etc/motion/motion.conf saib cov vis dis aus ntawm no kom hloov pauv
  • sudo /etc/init.d/motion rov pib dua
  • sudo rov pib dua

Nruab lub hwj

pip nruab Flask

Kauj Ruam 4: Robot.html thiab Robot.py Code

Vam tias koj tau teeb tsa txhua qhov kev teeb tsa.

Nco tseg: Tam sim no pom IPaddress hauv raspberry pi los ntawm kev ntaus ifconfig hauv davhlau ya nyob twg (168.192. XX. XX) Ib yam dab tsi rau Is Nrias teb.

Hloov tus IP chaw nyob hauv ob qho lej robot.html thiab robot.py. kuv tau ntxiv ob qho tib si cov ntawv ua hom ntawv.

hloov pauv hauv raspberry pi thiab khaws nws hauv cov ntawv ua qauv raws li qhia hauv cov yeeb yaj kiab qhia.

Kauj Ruam 5: Yuav Ua Li Cas Tswj Mars Rover Nrog Video Siv Web Browser

Tsuas yog ob kauj ruam.

Khiav tus neeg hlau.py code.

Txhua lub laptop txuas nrog tib lub network tsuas yog tso IPaddress ntawm lub vev xaib thiab tswj Mars rover.

Txaus siab rau !!!

Kuv sim ua kom cov lus qhia yooj yim no thiab txhua tus lej raug tshuaj xyuas.it ua haujlwm.

Pom zoo: