Cov txheej txheem:

Arduino-Hau Hau-Dance-Ntsiab: 4 Cov Kauj Ruam
Arduino-Hau Hau-Dance-Ntsiab: 4 Cov Kauj Ruam

Video: Arduino-Hau Hau-Dance-Ntsiab: 4 Cov Kauj Ruam

Video: Arduino-Hau Hau-Dance-Ntsiab: 4 Cov Kauj Ruam
Video: Computer Vision with Python! Resizing Images 2024, Kaum ib hlis
Anonim
Image
Image

Hauv qhov kev qhia no, Cia saib yuav ua li cas hle lub hleb seev cev ntsiab lus ntawm Arduino Uno

Kauj ruam 1: Yuav tsum tau ua

Kev sib txuas
Kev sib txuas

Kho vajtse

  1. Arduino Uno / Nano
  2. Piezo Buzzer lossis Tus Hais Lus
  3. Jumper cables

Software

  1. Arduino IDE Cov
  2. Arduino Tone Library

Kauj ruam 2: Kev sib txuas

Piezo Buzzer txuas nrog D8 tus pin ntawm Arduino Uno

Buzzer - Arduino

Lub suab nrov -D8

Kauj Ruam 3: Txoj Cai

Ua ntej koj ua lub suab, Nws yog qhov tseem ceeb rau nruab Tone Arduino lub tsev qiv ntawv yog tias nws tseem tsis tau teeb tsa. Qhov no tuaj yeem rub tawm los ntawm Github ntawm no. Yog tias koj tsis paub yuav teeb lub tsev qiv ntawv Arduino thib peb hauv koj li Arduino IDE li cas, siv phau ntawv qhia no ntawm Arduino.cc. Txuas hauv qab no, koj yuav pom cov ntawv zip uas muaj Arduino code rau Arduino Hau Hau Ntsiab Lus. Rub nws thiab unzip nws qhov chaw ntawm koj lub computer. Qhib Coffin_dance_arduino.ino hauv Arduino IDE thiab xa cov cai rau koj Arduino.

Project Repo:

Kauj ruam 4: Ua Si Sijhawm

Thiab qhov ntawd yog nws! Thaum koj muaj zog, koj yuav tsum tam sim no tuaj yeem hnov cov lus sib xws ua si los ntawm lub buzzer. Yog tias daim ntawv tsis raug, koj tuaj yeem kho tus nqi sau cia hauv Arduino kos duab los teeb tsa tus nqi uas lub suab ua tiav. Koj kuj tseem tuaj yeem hloov qhov ntsuas uas tau ua los ntawm qhov tsis suav nrog ib qho ntawm ob peb teev nrog, lossis ua rau koj tus kheej nplai! Yog tias koj ua koj tus kheej player, thov tawm tswv yim thiab qhia peb qee cov duab thiab vis dis aus.

Yog tias koj ntsib teeb meem hauv kev tsim txoj haujlwm no, thov hu rau kuv. Thov qhia tswv yim tshiab uas koj xav kom kuv ua tom ntej no. Qhia cov vis dis aus no yog tias koj nyiam.

Blog -

Github -

Zoo siab uas koj tau sau npe:

Pom zoo: