Cov txheej txheem:

Sad Cat Laser: 4 Kauj Ruam
Sad Cat Laser: 4 Kauj Ruam

Video: Sad Cat Laser: 4 Kauj Ruam

Video: Sad Cat Laser: 4 Kauj Ruam
Video: Most Brutal RoboCop Scene 2024, Lub Xya hli ntuj
Anonim
Laser Cat Tu Siab
Laser Cat Tu Siab

Lub Sad Cat laser yog cov khoom lag luam uas txhais tau tias ua kom miv tsis khoom thaum muaj cov tswv tsis khoom thiab tsis tuaj yeem khaws lawv ua lag luam. Nws siv lub tshuab hluav taws xob tus lej los teeb tsa txoj haujlwm servo thiab los ntawm qhov ntawd tus tswv tsis tas yuav txhawj xeeb txog dab tsi. Lub laser tau teeb tsa ntawm lub sijhawm uas nws khiav rau 10 feeb tom qab ntawd nres rau 10 feeb rov pib lub sijhawm thiab rov ua haujlwm dua.

Khoom siv

  • 2 Servo Tsav
  • Arduino Ib
  • Laser Taw Qhia
  • Mini Breadboard Cov

Kauj Ruam 1: Tsim Lub Tshuab

Tsim Lub Tshuab
Tsim Lub Tshuab

Peb muaj 2 qhov kev pabcuam ib txwm nyob ntawm x thiab y axis uas tig los muab me ntsis dhau 180 degrees kev sib hloov. Txawm li cas los xij lub cuab yeej tso rau ntawm lub sam thiaj yog li kev sib hloov yuav tsum tau qis dua. Koj txuas cov servos rau GRD thiab 5V+ thiab tom qab ntawd rau tus pin 9 thiab 10. Tom qab ntawd koj txuas lub laser rau GRD thiab 5V+ thiab tus pin 3.

Kauj ruam 2: Coding Device

Qhov no tau teeb tsa cov txheej txheem yog ib qho tseem ceeb heev vim tias yog tias ib qho ntawm cov pins raug kaw ces lub cuab yeej yuav tsis tuaj yeem ua haujlwm ntawm lub peev xwm tag nrho. Cov cai nyob hauv qab thiab ua qhov kev xeem khiav nrog txhua yam ntxiv ua ntej koj txheej txheem kom ua tiav lub tshuab laser.

Kauj Ruam 3: Ntxiv Txhua Yam Ua Ke

Ntxiv Txhua Yam Ua Ke
Ntxiv Txhua Yam Ua Ke

Tam sim no tom qab ib zaug kev sim ua tiav thiab txhua yam ua haujlwm koj ntxiv txhua yam ua ke. Siv thev naus laus zis xav tsis thoob rau tib neeg los ntawm lub npe kab xev koj ua lub laser thiab arduino nyob hauv qhov chaw.

Kauj ruam 4: Tam sim no… txaus siab

Image
Image

Zoo tam sim no koj muaj sijhawm ntau ntawm koj txhais tes thiab tsis tas yuav ua tib zoo saib cov miv. Uas yog vim li cas koj yuav tsum tau txais tus dev tom ntej no, tab sis txhua tus neeg ua yuam kev. Txawm li cas los xij, tsis txhob hnov qab pub mis thiab ntxuav tus miv tseem:)

Pom zoo: