rishisaka
Published

Mini Monster in a box

Get a monster effect from this old looking box.

BeginnerProtip480
Mini Monster in a box

Things used in this project

Hardware components

Arduino Mega 2560
Arduino Mega 2560
Any arduino should work.
×1
Breadboard (generic)
Breadboard (generic)
Full size is recommended.
×1
Arduino potentiometer 10K
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Resistor 220 ohm
Resistor 220 ohm
×3
RGB Diffused Common Cathode
RGB Diffused Common Cathode
×1
USB-A to B Cable
USB-A to B Cable
×1
DC Motor, Miniature
DC Motor, Miniature
Optional
×1
Tilt Switch, SPST
Tilt Switch, SPST
Optional
×1
PHPoC Bread Board
PHPoC Bread Board
Only the miniature breadboard is required
×1
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
Optional
×1

Hand tools and fabrication machines

Tape, Electrical
Tape, Electrical
Optional but it keeps potentiometer in tack.
Hot glue gun (generic)
Hot glue gun (generic)
sticky notes
4 of one color and I one a different one.
cardboard
Needed to make a box (size is your choice I made it with 6.5 cm X 2 cm X 2cm).
printer paper
One blank sheet of white paper.
Black paint (or any color)
Optional but I used it to color the box.
Paint brush
Scissors, Free Fall
Scissors, Free Fall
Just need to cut cardboard and paper.
Soldering Iron Tip, 30° Sharp Bent
Soldering Iron Tip, 30° Sharp Bent
Need to make hole in cardboard (Anything is fine).

Story

Read more

Code

Mini monster in a box.

C/C++
Simply tells the led as a output
int RedPin = 13;
int GreenPin = 12;
int BluePin = 1;
int meter = 0;

void setup() {
    Serial.begin(9600); // initialize serial communications at 9600 bps
    pinMode(RedPin, OUTPUT);
    pinMode(GreenPin, OUTPUT);
    pinMode(BluePin, OUTPUT);
    pinMode(meter,INPUT);
}

void loop() {
  analogWrite(RedPin,HIGH);
  analogWrite(GreenPin,HIGH);
  analogWrite(RedPin,HIGH);
  delay(1000);
}

Credits

rishisaka
2 projects • 1 follower

Comments