
Obsah:
2025 Autor: John Day | [email protected]. Naposledy zmenené: 2025-01-23 15:05

Ahoj všetci, keďže som videl, že môj prvý tutoriál bol dobrý hazard, rozhodol som sa, že pre vás urobím sériu návodov pre Arduino Uno!
Krok 1: Čo potrebujete

Na pieseň s bzučiakom budete potrebovať:
-doska Arduino Uno;
-Bzučiak (nemám dosku na pečenie, tak som improvizoval pomocou prepojovacích káblov) -Usb kábel;
-Arduino IDE vo vašom počítači;
Krok 2: Pripojte dosku a bzučiak




Teraz pripojte dosku k počítaču a zapojte bzučiak podľa schémy na obrázkoch.
Ak nemáte odpor, môžete zapojiť bzučiak bez neho, ale dávajte pozor na polaritu bzučiaka, aby ste ho nespálili.
Krok 3: Nahrajte program a skončíte


Posledným krokom je tiež nahranie nižšie uvedeného programu do vášho Arduino IDE a na dosku.
#define BUZZER 9int poznámky = {524, 588, 660, 699, 785, 881, 989};
neplatné nastavenie ()
{
pinMode (BUZZER, VÝSTUP);
}
prázdna slučka ()
{
pre (int i = 0; i <7; i ++)
{
tón (BUZZER, poznámky , 1000); oneskorenie (1000);
}
oneskorenie (1000);
}
A máte hotovo.
Užite si to!
Krok 4: Nezabudnite to sledovať
Sledujte ďalšie bláznovstvo Arduina!
Odporúča:
Tutorial to Interface HMC5883L Compass Sensor With Arduino: 10 Steps (with Pictures)

Tutorial to Interface HMC5883L Compass Sensor With Arduino: Popis HMC5883L je 3-osový digitálny kompas používaný na dva všeobecné účely: na meranie magnetizácie magnetického materiálu ako je feromagnet alebo na meranie sily a v niektorých prípadoch aj smeru magnetické pole v bode v s
Tutorial Do Projeto Final Do Curso IoT Aplicada a Smart Home Inatel / Novembro 2017: 4 Steps (with Pictures)

Tutorial Do Projeto Final Do Curso IoT Aplicada a Smart Home Inatel / Novembro 2017: No desenvolvimento desse projeto foi utilizada uma plataforma hibrida, sem a needidade de acessar os recursos de plataformas nativas to Android ou do IOS. Používajú viac počítačov, ako napríklad notebooky s oknami 10. Essa plataforma chama-se Ionic, q
Bare Minimum Raspberry Pi Torrent Machine Tutorial: 4 Steps (with Pictures)

Bare Minimum Raspberry Pi Torrent Machine Tutorial: Hai people. Torrenting je vždy záchranca života a dúfať, že bezhlavý pripojený Raspberry Pi, ktorý to robí pre vás, môže byť skutočne úžasný. Pomocou tohto tutoriálu vám všetkým pomôžem postaviť stroj Torrent s Pi, ktorý môže bežať bez hlavy a môžete použiť náš Andro
Tutorial to Interface RGB LED WS2812B With Arduino UNO: 7 Steps (with Pictures)

Tutorial to Interface RGB Led WS2812B with Arduino UNO: This tutorial is will learn to some basics on using Sparkfun RGB Led WS2812B with Arduino UNO
Tutorial to Interface OLED 0,91inch 128x32 With Arduino UNO: 7 Steps (with Pictures)

Tutorial to Interface OLED 0,91inch 128x32 with Arduino UNO: This tutorial is will learn to some basics on using OLED 0,91inch LCD128x32 with Arduino UNO