Introduction: Arduino Aku Aku

About: Student in Utrecht (NL) studying Game art.

Crash Bandicoot Aku Aku mask

Step 1: Components

  • Arduino UNO
  • Breadboard
  • Stripboard
  • Soldering iron
  • Hot glue gun
  • USB connection
  • Jump Wires (F-F, M-M & M-F)
  • LED's x5 (yellow & green)
  • Resistors (220Ω) x7
  • Photoresistor
  • Tilt switch
  • Voice Recorder + Speaker (ISD1820)
  • Battery 9V + battery connector

Step 2: Fritzing

The voice recorder in the Fritzing layout is different from the one I used, because they didn't have the ISD1820 version in the program.

Step 3: Code

const int playPin = 9;
const int shakePin = A1; const int lightPin = A0;

const int led1Pin = 3;

int tiltAmount; int lightValue; int fadeValue;

bool start = false; int timer; int avrage;

void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(playPin, OUTPUT); pinMode(shakePin, INPUT); pinMode(lightPin, INPUT);

pinMode(led1Pin, OUTPUT); }

void loop() { // put your main code here, to run repeatedly: tiltAmount = analogRead(shakePin); lightValue = analogRead(lightPin);

lightValue = map(lightValue, 0, avrage, 255, 0); delay(100); Serial.print("start "); Serial.println(start); if(start == false) { timer++; avrage += lightValue; if(timer >= 50) { avrage /= timer; timer = 0; start = true; } }

if(start == true) { analogWrite(led1Pin, lightValue); //Serial.print("Tilt "); Serial.println(tiltAmount); Serial.print("Avrage "); Serial.println(avrage); Serial.print("Light "); Serial.println(lightValue); if(tiltAmount > 5) { digitalWrite(playPin, HIGH); } else { digitalWrite(playPin, LOW); } } }

Step 4: Wood Carving + Painting

Used:

  • Acrylic paint
  • Newspaper (papier mache)
  • Tape
  • Brushes (different sizes)

Step 5: Feathers

  1. Glue feathers together with a hot glue gun to create one big feather for each color (dark blue, yellow, red & magenta).
  2. Glue all four pieces on the back of the head so it sticks out on the top.

Step 6: Soldering + Organizing

Organize and glue or screw all components in the back of the mask. Plug in the battery pack to turn the Arduino on. Record a sound effect directly on the Voice Recorder.

If the mask is picked up or gets shaken, the sound effect will play (15 sec limit).

Also the LED's will fade in and out if light is shined on the photoresistor on the back.

Step 7: Play

Project demonstration

Game Life Contest

Participated in the
Game Life Contest