Përmbajtje:

Heroi Bongo: 6 hapa
Heroi Bongo: 6 hapa

Video: Heroi Bongo: 6 hapa

Video: Heroi Bongo: 6 hapa
Video: The Big Push - Bongo Bong (Manu Chao cover) 2024, Korrik
Anonim
Hero Bongo
Hero Bongo

Krijuar nga: Ethan Feggestad

Një lojë argëtuese dhe e thjeshtë arduino!

Hapi 1: Rreth Bongo Hero

Autori origjinal i Bongo Hero është Etinee Daspe. Bongo Hero u krijua për "Fete de la science" si një ngjarje vjetore në Francë. Tani e krijuar në një lojë të thjeshtë arduino!

Hapi 2: Materialet

Arduino UNO & Genuino UNO × 1

Paketa fillestare Adafruit NeoPixel LED Strip - 30 metra LED × 4

Elementi SparkFun Piezo × 4

Rezistenca 220 ohm × 4

Rezistenca SparkFun 1M oh x4

Hapi 3: Testoni shiritat LED

Sigurohuni që shiritat LED janë të lidhur me kunjat dixhitale të 2, 3, 4 dhe 5.

FastLED.addLeds (leds [0], NUM_LEDS_PER_STRIP).setCorrect (TypicalLEDStrip); FastLED.addLeds (leds [1], NUM_LEDS_PER_STRIP).setCorrect (TypicalLEDStrip);

FastLED.addLeds (leds [2], NUM_LEDS_PER_STRIP).setCorrect (TypicalLEDStrip);

FastLED.addLeds (leds [3], NUM_LEDS_PER_STRIP).setCorrect (TypicalLEDStrip);

Hapi 4: Testoni Elementet Piezo

Sigurohuni që elementët Piezo janë të lidhur me kunjat analoge të A0, A1, A2 dhe A3.

Shirita LED = Elemente Piezo

2 = A0

3 = A1

4 = A2

5 = A3

Hapi 5: Skemat

Skematike
Skematike

Hapi 6: Kodi

create.arduino.cc/projecthub/etienne-daspe…

Përdorni këtë lidhje për të fituar qasje në kod

Recommended: