Cov txheej txheem:

Arduino Desktop Companion: 3 Kauj Ruam (nrog Duab)
Arduino Desktop Companion: 3 Kauj Ruam (nrog Duab)

Video: Arduino Desktop Companion: 3 Kauj Ruam (nrog Duab)

Video: Arduino Desktop Companion: 3 Kauj Ruam (nrog Duab)
Video: AMD Sempron Cpu processor .Removing pins For Gold Recovery 2024, Hlis ntuj nqeg
Anonim
Arduino Desktop Companion
Arduino Desktop Companion

Tus khub yog lub tswv yim uas kuv tau los rau kuv vim kuv tau chim siab ntawm kev ua haujlwm tom tsev, teeb meem khoos phis tawj lossis ua si game.

Tus khub yuav tsum tau hnov mob rau koj tus cwj pwm "npau taws" thiab ua rau koj paub txog koj tus cwj pwm lossis ua rau koj nqig.

Yam koj xav tau rau txoj haujlwm no yog:

- Arduino Ib

SG90 Mini Servos x 3

- Ultrasonic Sensor - HC -SR04

- MAX9812 Microphone Modual

- Ib lub thawv (Txhawm rau tsim koj lub tshuab hauv)

Yeem:

- Breadboard (Kuv tau muab txhua yam tso rau hauv qhov chaw)

Kuv yuav tsis nthuav dav rau cov tshuaj pleev ib ce ntawm txoj haujlwm no. Tsuas yog nco ntsoov tias koj tso chaw txaus rau Arduino thiab muaj peev xwm ua lub khob cij nyob ib sab. Thiab tawm qhov chaw rau 3 txav servos.

Kauj ruam 1: Schematic

Schematic
Schematic

Nov yog qhov kuv tau npaj tawm kuv Cov Phooj Ywg thaiv.

Kuv siv ib qhov program hu ua Fritzing, nws yog ib qho pub dawb siv cov program uas kuv tau hais qhia kiag tias siv nws.

Kauj ruam 2: Coding

Rau kev nyeem tau lub hom phiaj Kuv muab tag nrho cov haujlwm servo hauv cov haujlwm sib txawv uas tau hu nrog qee yam kev mob.

Kauj Ruam 3: Cov Khoom Kawg

Image
Image

Tam sim no txhua yam uas tshuav yog tsim nws hauv koj qhov zoo nkauj, lub Hoobkas lossis tes tsim lub thawv … thiab ua qee yam nrog nws kom nws zoo nkauj.

Ib yam li koj tuaj yeem pom hauv daim duab saum toj no, kuv tau muag txhua yam los cais cov pawg ntawm pawg thawj coj saib, txuas nrog qhov txuas nrog txuas kom ua tiav cov circus.

Txiav daim rau caj npab thiab lub hau thiab tso cov servos rau hauv qhov chaw uas nws tuaj yeem txav cov khoom cais.

Qhov koj xav ua qhov no yog nyob ntawm koj.

Muaj kev lom zem:)

Pom zoo: