Arduino Cyclone Game

6,118

60

12

Introduction: Arduino Cyclone Game

About: I'm a French mechanical engineering student, I like to design, make things and share them here! My main hobbies are astronomy, astrophotography and 3D printing. :)

I have never played the real cyclone arcade game but I like the idea to play with our reaction time.

I designed a miniaturized game. It consists in 32 LEDs forming a circle, the LEDs lights up one by one as a led chaser. The goal is to press a button when the red LED lights up.

VIDEO HERE

Supplies

  • 29x green led
  • 2x yellow led
  • 1x red led
  • 1x 12mm led push button
  • 4x 74HC595
  • 1x Arduino nano
  • Ø3mm tube 46mm long
  • 1x I2C OLDE display 128*32
  • Wires
  • 3D printer
  • primer + paint
  • sand paper
  • soldering iron
  • Mini USB cable + USB power source

Step 1: Rules

I added to this game its own score rules as well as speed changes to make it more challenging,

-if you stop on the red led : the score increases by a value between 4 and 20 depending on the speed. The speed increases by 2%.

-if you stop on a yellow led : the score increases by 2 and the speed increases by 10%

-if you stop on a green led : game over

I also added a bonus for really skilled players !

-if you stop on the red led 3 times in a row while the speed is above 80% : the speed returns to 20% ! (stars indicate the progression of that bonus)

the first LED to lights up is chosen randomly by the arduino as well as if it turns clockwise or counterclockwise.

Step 2: Prototyping

That was the step where I tested all kinds of scoring rules. The arduino nano board does not have enough output pins to drive 32 LEDs so I used four 74HC595 chips, each one driving 8 Leds, those are working really well and it uses only 3 arduino output pins !

I made this circuit diagram:

and here is the arduino code (you will need this library for the oled display and this library for the hc595 chips)

Step 3: The Enclosure

Designing:

The enclosure has been designed in Fusion 360, it is composed of 4 parts.

You can find the .STL and .f3d files on Cults3D HERE

3D Printing:

The upper body will require supports to print. I printed all the parts using PLA ice filament with default settings on Cura, and 3D printed on a Creality Ender3

Post-Printing:

For this project I wanted to try a finishing technique for 3D printing.

here is what the 3D print looks like ...

I first sanded the pieces with 120 to 800 grit sandpaper

I applied a primer coat

I sanded it again with 800 grit sandpaper

Then I added 3 coats of black spray paint
here you have the "before and after" comparaison :

Step 4: Assembly

  1. place the 32 LEDs in the holes of the upper body (negative inside, positive outside)
  2. bend the negative legs in order to solder them together
  3. place the first 74HC595 here upside down and solder the LEDs according to the diagram on step 2
  4. link the four chips with really thin wires also according to the circuit diagram.
  5. solder four wires to the OLED display and pass those through the tube like that:
  6. solder all the wires to the Arduino.
  7. glue the arduino board in place with hot glue.
  8. clip the upper body on the lower body and clip the front oled box.

Step 5: Have Fun!

Now, you just have to plug the arduino to a 5V power source (power bank, laptop,...)

then it will start by itself.

Try to make the highest score !

Mine is 1152 good luck!

Toys and Games Challenge

Participated in the
Toys and Games Challenge

Be the First to Share

    Recommendations

    • Water Speed Challenge

      Water Speed Challenge
    • Backyard Contest

      Backyard Contest
    • Stone, Concrete, Cement Challenge

      Stone, Concrete, Cement Challenge

    12 Comments

    4
    JeroenDP
    JeroenDP

    1 year ago on Step 2

    Super project, beautiful design!
    I am now so far with creating the project that I just have to download. I downloaded the extra library but I am having problems with "HC595.h". No solution after 1 hour of work! How can I solve this?

    0
    SimonRob
    SimonRob

    Reply 1 year ago

    ho sorry ! I added the link to the library in step2 ;)

    1
    bertp1
    bertp1

    Question 1 year ago on Step 4

    i can not find the librarys can you help me please?

    1
    RANDOM KNOWLEDGE
    RANDOM KNOWLEDGE

    1 year ago

    VOTED..
    DEFO A SIMPLE AND PERFECT DESIGN.

    0
    SimonRob
    SimonRob

    Reply 1 year ago

    Thank you! :D

    1
    Build_it_Bob
    Build_it_Bob

    1 year ago

    Awesome design, and the finished product looks great!
    I also want to check out the file for the SSD1306 display enclosure...nice work!
    You have my vote!
    Bob D

    0
    SimonRob
    SimonRob

    Reply 1 year ago

    Thanks a lot!
    all the files are on thingiverse ;)

    1
    desidude52
    desidude52

    1 year ago

    This is very cool! Great job!

    0
    SimonRob
    SimonRob

    Reply 1 year ago

    Thank you! :D

    0
    kiwigrinder
    kiwigrinder

    1 year ago

    Very cool. The finish you achieved is fantastic.

    0
    SimonRob
    SimonRob

    Reply 1 year ago

    Thank you ! :)