Cov txheej txheem:

Super Mario Siv Buzzer: 3 Kauj Ruam
Super Mario Siv Buzzer: 3 Kauj Ruam

Video: Super Mario Siv Buzzer: 3 Kauj Ruam

Video: Super Mario Siv Buzzer: 3 Kauj Ruam
Video: Bigest Gujarati Jokes | પકા નું કોમેડી સર્કસ - Comedy | Prakash Mandora New Jokes| PAKO 2024, Hlis ntuj nqeg
Anonim
Image
Image

Mloog suab paj nruag so peb lub siab thiab tus ntsuj plig. Cia ntxiv qee cov nkauj rau koj cov phiaj xwm arduino siv cov khoom ib leeg, lub suab nrov.

Kuv pom qhov haujlwm txaus siv Buzzer uas ua suab paj nruag super mario ntsiab lus sau los ntawm Dipto Pratyaksa ntawm cov lus qhia. Ntxiv rau qhov haujlwm qub, kuv tau siv lub zog ntsuas kom tsis txhob muaj lub suab nrov nyob nruab nrab ntawm lub suab nrov ua si ntawm lub voj. Kuv tau txuas lub suab nrov ntawm tus Pin 13 yog li kuv tau ua tus lej raws li nws.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

  1. arduino -
  2. buzzer -
  3. potentiometer -
  4. jumper xov hlau -

Kauj ruam 2: Circuit Schematic

Circuit Schematic
Circuit Schematic
Circuit Schematic
Circuit Schematic

Pin 13 buzzer

A0 wiper yog

5V davhlau ya nyob twg 1 ntawm lub zog ntsuas

GND davhlau ya nyob twg 3 ntawm lub hwj chim, tsis zoo ntawm lub buzzer

Kauj Ruam 3: Arduino Code

Cov cai no yog tus lej ntev thiab nws yuav ua haujlwm nrog potentiometer nkaus xwb raws li kuv tau ua cov cai no raws li kuv qhov project.

Nco tseg: - peb tsis tuaj yeem siv lub zog ntsuas hauv qhov haujlwm no los hloov cov nkauj vim peb twb tau kho lub suab sab hauv lawm. rau kev hloov qhov ntim peb tuaj yeem siv lub suab ua kom nrov nrov.

Pom zoo: