Innehållsförteckning:

Bongo Hero: 6 steg
Bongo Hero: 6 steg

Video: Bongo Hero: 6 steg

Video: Bongo Hero: 6 steg
Video: 13 Millions Views, You Must Watch If You Love Music 2024, Juli
Anonim
Bongo hjälte
Bongo hjälte

Gjord av: Ethan Feggestad

Ett roligt och enkelt arduino -spel!

Steg 1: Om Bongo Hero

Den ursprungliga författaren till Bongo Hero är Etinee Daspe. Bongo Hero skapades för "Fete de la science" som en årlig händelse i Frankrike. Nu skapat till ett enkelt arduino -spel!

Steg 2: Material

Arduino UNO & Genuino UNO × 1

Adafruit NeoPixel LED Strip Starter Pack - 30 LED meter × 4

SparkFun Piezo -element × 4

Motstånd 220 ohm × 4

SparkFun -motstånd 1M ohm x4

Steg 3: Testa LED -remsorna

Se till att LED -remsorna är anslutna till de digitala stiften 2, 3, 4 och 5.

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

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

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

Steg 4: Testa Piezo -elementen

Se till att Piezo -elementen är anslutna till de analoga stiften i A0, A1, A2 och A3.

LED -remsor = Piezo -element

2 = A0

3 = A1

4 = A2

5 = A3

Steg 5: Scheman

Scheman
Scheman

Steg 6: Koden

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

Använd den här länken för att få åtkomst till koden

Rekommenderad: