Home > Projects > LED Projects > Punch Activated Mario Question Block Lamp

Punch Activated Mario Question Block Lamp

Summary of Punch Activated Mario Question Block Lamp


The author built a functional Super Mario Question Block lamp that lights up and plays sound effects when punched. Designed to hang from a ceiling via a lightbulb socket, the project uses an Arduino Pro Mini, vibration sensor, and LED strip. It requires 3D printing for the enclosure and soldering for electronics assembly, powered by a 12V supply.

Parts used in Punch Activated Mario Question Block Lamp:

  • Yellow PLA filament
  • White PLA filament
  • 12V White LED Strip (5m roll)
  • Arduino Pro Mini (ATMEGA328P 5V 16Mhz variant)
  • SW420 Vibration Sensor
  • 2N2222 transistors
  • TIP120 Darlington Transistor
  • DC-DC Step-down converter
  • 0.5W 8-Ohm speaker
  • 12V 1A Power Supply
  • 2 Core Sheathed Wire
  • Misc. Wire
  • M3 screws and nuts
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How does the lamp react when punched?","acceptedAnswer":{"@type":"Answer","text":"When triggered, it either turns on or off and plays one of four sound effects from Super Mario Bros."}},{"@type":"Question","name":"Can the lamp be hung differently than from the ceiling?","acceptedAnswer":{"@type":"Answer","text":"Yes, it can be mounted elsewhere if a 12V power supply is routed to the new location."}},{"@type":"Question","name":"What is required to print the side panels with a single color printer?","acceptedAnswer":{"@type":"Answer","text":"You must print yellow bases and white inner pieces separately and super glue them into holes cut in the side panels."}},{"@type":"Question","name":"How many side pieces should be printed for a dual color setup?","acceptedAnswer":{"@type":"Answer","text":"Four side pieces should be printed using yellow for the base and white for the inner pieces."}},{"@type":"Question","name":"Why should side panels not be glued before installing the LED strip?","acceptedAnswer":{"@type":"Answer","text":"Gluing them beforehand makes installing the LED strip more difficult."}},{"@type":"Question","name":"What component converts the 12V power to 5V for the Arduino?","acceptedAnswer":{"@type":"Answer","text":"A DC-DC Step-down converter is used to convert 12V to the 5V the Arduino requires."}},{"@type":"Question","name":"Which sensor detects the punch action?","acceptedAnswer":{"@type":"Answer","text":"An SW420 Vibration Sensor is used to detect the impact."}},{"@type":"Question","name":"What type of wire is listed as a material for this project?","acceptedAnswer":{"@type":"Answer","text":"The materials list includes 2 Core Sheathed Wire and Misc. Wire."}]}

The Super Mario games were my childhood. I’ve always wanted to have some of the props in the games, and now that I have the tools to do it, I decided to start making them. The first up of that on my list is the Question Block. I managed to make the question block so that when you punch it, it either turns on or off. When it is triggered on or off it plays one of four sound effects from Super Mario Bros. It is designed to screw into a lightbulb socket and hang from the ceiling. If you wanted to hang it differently that can be done easily, all that has to be done is that it needs a 12V power supply routed to wherever you mount it.

Step 1: Materials and Tools

Materials:

  • Yellow PLA filament
  • White PLA filament
  • 12V White LED Strip (5m roll)
  • Arduino Pro Mini (ATMEGA328P 5V 16Mhz variant)
  • SW420 Vibration Sensor
  • 2N2222 tranistors
  • TIP120 Darlington Transistor
  • DC-DC Step-down converter (for the 12V to the 5V the arduino requires)
  • 0.5W 8-Ohm speaker
  • 12V 1A Power Supply
  • 2 Core Sheathed Wire
  • Misc. Wire
  • M3 screws and nuts

Tools:

  • 3D printer (preferably dual color, but single color will work it’s just harder)
  • Wire Cutters
  • Wire Strippers
  • Super Glue
  • Philips Screwdriver
  • Utility Knife
  • Soldering Iron
  • 60/40 Lead Solder Rosin Cored
  • FTDI Programmer and Mini-B USB Cable
  • Hot Glue Gun

Step 2: Printing the Enclosure (If You Have a Dual Color Printer)

If you have a dual color printer this step is pretty straightforward. Print four of the side pieces, which uses yellow for the base piece and white for the other inner pieces (the pieces for this are called yellow and white). Then print the bottom base, four braces, and the top using yellow only. Don’t glue the side panels on yet because this will make installing the LED strip more difficult.

Step 3: Printing the Enclosure (If You Have a Single Color Printer)

If you are running a single color printer, while this is possible, it is much more difficult to print the side panels. All of the other pieces print exactly the same as they are single color. When printing the single color pieces print the bottom base, top, and four of the support pieces.

For the two color pieces print out four of the bases for the sides at normal settings in yellow PLA. Print out four sets of the inner pieces in white. Print out four sets of these pieces and super glue them into the holes cut out in the side panels.

Source: Punch Activated Mario Question Block Lamp

Quick Solutions to Questions related to Punch Activated Mario Question Block Lamp:

  • How does the lamp react when punched?
    When triggered, it either turns on or off and plays one of four sound effects from Super Mario Bros.
  • Can the lamp be hung differently than from the ceiling?
    Yes, it can be mounted elsewhere if a 12V power supply is routed to the new location.
  • What is required to print the side panels with a single color printer?
    You must print yellow bases and white inner pieces separately and super glue them into holes cut in the side panels.
  • How many side pieces should be printed for a dual color setup?
    Four side pieces should be printed using yellow for the base and white for the inner pieces.
  • Why should side panels not be glued before installing the LED strip?
    Gluing them beforehand makes installing the LED strip more difficult.
  • What component converts the 12V power to 5V for the Arduino?
    A DC-DC Step-down converter is used to convert 12V to the 5V the Arduino requires.
  • Which sensor detects the punch action?
    An SW420 Vibration Sensor is used to detect the impact.
  • What type of wire is listed as a material for this project?
    The materials list includes 2 Core Sheathed Wire and Misc. Wire.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top