Arduino Based Split-Flap Game

30,424

165

57

About: Hi, I am Richard, Father of 1 son + 2 step sons, so we have a house full of Lego. I have had lego for decades, including Lego mindstorms. I like to make things. In my little garage I have a large CNC machin...
We have a great Dutch Holiday tradition called sinterklaas (5th of december, this is what the US Santa is based on). For the older "non-believers" we make surprises. The purpose is to buy a small present but make a really cool "surprise" around it. Here my arduino based Split-flap game I made as surprise.

I made this for my 15-year old niece that was asking for very expensive presents only, so I thought I would make her a bit more price conscious :-)

The wooden box and all the components for the Split-flap display were made on my CNC machine. I used 2mm thick plastic to mill out the 36 cards in the display. The wheels holding the cards and the pulleys for the cardwheel and stepper motor were milled from left over thick plastic blocks. I milled a 10 teeth pulley (XL037) for the stepper motor and a 40 teeth pulley for the cardwheel, giving me a ration of 4:1 and with my 1.8 degree per step motor, this gives me plenty of accuracy to make sure I display the right cards. I did build into my arduino code I can easily change the offset for each card to fine calibrate. I had to do this, as not all my cards where equal in size.

The arduino (uno) used to run this all was tested to its limit 15 I/O ports :-)
- 5 pins for the score LEDs
- 4 pins for the stepper motor control, via ULN2003a
- 1 PWM pin for Servo to lock or unlock the side door
- 1 PWM pin for piezo speaker so we can make some sounds
- 1 pin for micro switch to align start of cards
- 2 pins for the lower and higher button

Here a video of the game in action:
http://www.youtube.com/watch?v=xvAR5b2KjYs


if you happen to be Dutch (or at least understand that language), you can also watch the Dutch version of the video :-)


UPDATE:Wow, thank you all for the very nice comments! Clearly I am not the only one enjoying the sound and sight of the split-flap display :-) So I thought I would share you a video I made a few weeks back on my initial testing of the display. At some point I want to create 100 units, so I can have a wall in my living room of 25 characters by 4 lines to display "stuff" :-)

Holiday Gifts Contest

Second Prize in the
Holiday Gifts Contest

Share

Recommendations

  • PCB Contest

    PCB Contest
  • Cardboard Challenge

    Cardboard Challenge
  • Faux-Real Contest

    Faux-Real Contest

57 Discussions

0
None
Bart Jan

Question 2 months ago

Super mooi gedaan! Zelf wil ik een variant hierop gaan maken maar met dezelfde basis. Alle codering en de tekeningen heb ik kunnen downloaden. Verder weet ik alleen niet waar ik dat motortje, bandje en slotje vandaan kan halen... Kan jij me hiermee verder helpen?

2 answers
0
None
the_anykeyBart Jan

Answer 8 weeks ago

ik gebruik een standaard XL band en stappenmotor. Het slotje is gewoon een servo, wat het deurtje dicht houd.

0
None
Bart Janthe_anykey

Reply 7 weeks ago

Bedankt voor je reactie. Ik krijg het alleen niet helemaal werkend bij mijn Adruino Uno. De rest is allemaal klaar en de tijd begint de dringen. Kan je aub nog even helpen met hoe dat eruit moet zien? Ik kom er echt niet uit...

0
None
mar.canet

2 years ago

Which size belt do you used?

0
None
germap

2 years ago

A-mazing project!

Absolutely great!! But hard to duplicate based on your instructions. Would like to modify as a learning tool for my class room. Are there schematics and more diagrams available? I don't have CNC machine.

1 reply
0
None
SamDecrock

4 years ago on Introduction

Hi, nice thing...

How do you calibrate the starting position of the stepper motor? Is there some sort of feedback loop from the split flap display back to the arduino?

1 reply
0
None
the_anykeySamDecrock

Reply 4 years ago on Introduction

yes, check out the 40 toot pulley and card holder file. The is a "big bump" in the pulley that passes a micro switch every rotation. I use this for calibration.

0
None
i8flan

4 years ago on Introduction

This is awesome! Such a creative and fun gift. Can you explain more how the micro switch works to align the cards? Does this help to calibrate the start point for the stepper motor?

Thanks!

0
None
the_anykeyninjaprawn

Reply 5 years ago on Introduction

Yes, normal Arduino Uno :-) It just managed with all the I/O ports, so did not have to use Mega :-)