Projects / Ideas / Shake coin flip

Shake coin flip

BeginnerGames & ToysIdeaReviewed
In short

How do you build a shake coin flip?

Shake the box and one of two LEDs lights at random, heads or tails, with a short suspense animation first. You need Arduino Nano, Vibration sensor module (SW-420), LED 5 mm red, LED 5 mm green, Resistor 330 Ω × 2, Passive buzzer and Breadboard 830 Tie Points.

Level
Beginner
Time
About 90 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Decide with a random flip.

Parts list

How to build it

  1. Detect the shake
  2. Seed the random generator from noise
  3. Run a suspense animation
  4. Light heads or tails
  5. Keep a tally of results

Related projects

Common questions

What parts do I need for the shake coin flip?

Arduino Nano, Vibration sensor module (SW-420), LED 5 mm red, LED 5 mm green, Resistor 330 Ω × 2, Passive buzzer and Breadboard 830 Tie Points.

How long does the shake coin flip take to build?

About 90 minutes for a beginner maker.