Cov txheej txheem:

Bongo Hero: 6 Kauj Ruam
Bongo Hero: 6 Kauj Ruam

Video: Bongo Hero: 6 Kauj Ruam

Video: Bongo Hero: 6 Kauj Ruam
Video: Shrek 2 (2004) - I Need a Hero Scene (7/10) | Movieclips 2024, Hlis ntuj nqeg
Anonim
Hero Bongo
Hero Bongo

Ua Los Ntawm: Ethan Feggestad

Kev lom zem thiab yooj yim game arduino!

Kauj Ruam 1: Txog Bongo Hero

Tus thawj sau ntawm Bongo Hero yog Etinee Daspe. Bongo Hero tau tsim rau "Fete de la science" raws li kev tshwm sim txhua xyoo hauv Fabkis. Tam sim no tsim rau hauv kev ua si yooj yim arduino!

Kauj ruam 2: Cov ntaub ntawv

Arduino UNO & Genuino UNO × 1

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

SparkFun Piezo keeb × 4

Resistor 220 ohm × 4

SparkFun Resistor 1M ohm x4

Kauj Ruam 3: Kuaj LED Strips

Nco ntsoov tias cov hlua LED txuas nrog lub koob digital ntawm 2, 3, 4, thiab 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);

Kauj Ruam 4: Ntsuas Piezo Elements

Nco ntsoov tias Piezo ntsiab lus txuas nrog cov pins analog ntawm A0, A1, A2, thiab A3.

LED Sawb = Piezo Elements

2 = UA0

3 = UA1

4 = A2

5 = UA3

Kauj ruam 5: Schematics

Schematics
Schematics

Kauj Ruam 6: Txoj Cai

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

Siv qhov txuas no txhawm rau nkag mus rau txoj cai

Pom zoo: