Indholdsfortegnelse:

Bongo Hero: 6 trin
Bongo Hero: 6 trin

Video: Bongo Hero: 6 trin

Video: Bongo Hero: 6 trin
Video: FAST and FURIOUS: FAST FIVE - Train Heist (Truck, Pantera GTS, GT40, Corvette) #1080HD 2024, Juli
Anonim
Bongo Hero
Bongo Hero

Fremstillet af: Ethan Feggestad

Et sjovt og simpelt arduino -spil!

Trin 1: Om Bongo Hero

Den originale forfatter til Bongo Hero er Etinee Daspe. Bongo Hero blev oprettet til "Fete de la science" som en årlig begivenhed i Frankrig. Nu skabt til et simpelt arduino -spil!

Trin 2: Materialer

Arduino UNO & Genuino UNO × 1

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

SparkFun Piezo -element × 4

Modstand 220 ohm × 4

SparkFun -modstand 1M ohm x4

Trin 3: Test LED -strimlerne

Sørg for, at LED -strimlerne er tilsluttet de digitale ben 2, 3, 4 og 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);

Trin 4: Test Piezo -elementerne

Sørg for, at Piezo -elementerne er forbundet til de analoge ben i A0, A1, A2 og A3.

LED Strips = Piezo Elements

2 = A0

3 = A1

4 = A2

5 = A3

Trin 5: Skemaer

Skemaer
Skemaer

Trin 6: Koden

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

Brug dette link for at få adgang til koden

Anbefalede: