Cov txheej txheem:

Qhov Rooj Qhov Rooj: 3 Kauj Ruam
Qhov Rooj Qhov Rooj: 3 Kauj Ruam

Video: Qhov Rooj Qhov Rooj: 3 Kauj Ruam

Video: Qhov Rooj Qhov Rooj: 3 Kauj Ruam
Video: Kaushion Lee - Qhov Rooj Tseem Qhib [The Door Is Still Open] Hmong/English Official Lyrics 2024, Hlis ntuj nqeg
Anonim
Image
Image
1. HARDWARE WIRING
1. HARDWARE WIRING

Doorslam yog txheej txheem tiv thaiv yooj yim tiv thaiv tib neeg lub qhov rooj nyuaj heev.

Koj YUAV TSUM

  • 1x Arduino Uno + PC
  • 7x Jumper Xov
  • Acceleration Sensor (hauv qhov piv txwv no: MAKERFACTORY MF-4838286)
  • 5V Servo Tsav
  • Yeem: Breadboard

Kauj Ruam 1: 1. HARDWARE WIRING

Txuas cov pins raws li hauv qab no:

ARDUINO ==> TSHUAJ TSHUAJ TSHUAJ

GND ==> GND

3.3V ==> 3.3V

V4 ==> SDA

V5 ==> SCL

Siv lub khob cij ntawm no yuav ua rau nws yooj yim dua tom qab txhawm rau txhawm rau ntsuas lub qhov rooj. Kev sib txuas ncaj qha ua haujlwm ib yam nkaus, txawm hais tias.

ARDUINO ==> SERVOMOTOR

GND ==> xim av

5V ==> liab

Digital 8 ==> txiv kab ntxwv

Nco ntsoov tias koj siv cov xov hlau ntev txaus kom koj tsis txhob ntsib teeb meem tom qab.

Kauj ruam 2: CINEMATICS

CINEMATICS
CINEMATICS

Txuas tus ntsuas hluav taws xob mus rau lub qhov rooj tsawg kawg 10cm ntawm txoj kab sib hloov.

Txuas ib kawg ntawm txoj hlua mus rau qhov kev pabcuam thiab txuas cov khoom cushioning mus rau lwm qhov kawg.

Tsim lub cev teeb tsa qhov twg servo tig ua rau cov khoom cushioning nce/nqis.

Kuv ua tiav qhov no los ntawm kev siv ob tus ntsia hlau los coj txoj hlua tab sis xav tias muaj kev ywj pheej.

Kauj Ruam 3: Kev ua tiav

Kev ua tiav
Kev ua tiav

Upload cov cai no rau koj arduino thiab muaj kev lom zem. Ua/txo qhov sib txawv slamThreshold hauv cov cai kom ua rau cov txheej txheem ntau dua/tsawg dua.

Pom zoo: