Mario light

It was my friend Scott’s birthday and I was wondering what to get when I thought about the idea of this coin cube light from Mario, then I thought it would be good to add in a sound effect for when it turns on and off. Below is a video showing it going on and off and on and off.

After a bit of research I decided to go for a design based on the WaveShield by LadyAda with an Arduino all on one board. This could then control a relay to turn on and off the light. I basically used the same design as the waveshield, using an SD card with a DAC and an Op amp and a buffer to help things along. I used the same parts as the original WaveShield but used SOIC packages instead of DIP and left out all the other headers. I added in space for an Atmega328 with the Arduino bootloader and a crystal as well as a 5V and 3.3V regulators. It all fitted together onto a pretty small board. Below is a schematic and board image. In hindsight, something I would definately change is to give the mains side of the relay a lot more space away from the other bits, as well as add in a fuse onto the board. You can download the Eagle files at the bottom.

I breadboarded it up by making little breakout boards for the SOIC parts.

Once this was all OK, I cut out the PCB on the milling machine, then soldered it all up. I used a little tube of solder paste and daubed it onto the copper pads using a pin. It’s pretty monotonous doing this, but it’s satisfying when you use the hot air gun to melt all the solder joints together.

Next was to test out whether the relay works with the light bulb. All the electronics are mounted into the central column, which is a piece of 82mm drain pipe, so I fixed them onto a board with  a small power supply that I took out of a 6V walwart. This is probably a pretty dangerous way of doing things. At least it’s a bit scary working with mains electricity and I always imagine everything just melting and burning.

So once all the electronics was done, I got on with making the actual lamp. It was quite a simple design with a base attached to the bottom of the column and a shelf piece that attaches to the top of the column. The light sits in the middle of the shelf, with the speaker to the right. A perspex box fits onto the shelf, with a button in the top. I’ve included some PDFs with the plans at the bottom of the page.

To attach the drain pipe to the wooden base and shelves, I used machine scews going into some M4 threaded inserts. The inserts make things a little bit easier, especially when you’re taking things apart a lot for adjustments. Below are some photos showing it being put together.

The mounts used to attach the shelf to the column.

I bolted the column onto the supports then glued them onto the shelf. I used polyurethane glue, because it’s quick and there was some lying around in the workshop, but any wood glue would do. You can see the light fixture in this picture, also mounted into the middle of the column.

After cutting out and sanding the piece of plywood I used for the base, I routed a groove for the light flex to come out from.

Here is the perspex box that I used for the main cube shape. I cut 4 near-squares from 3mm clear perspex and glued the edges using Tensol 70. I’ve used bison glue before, which has a lot less harsh vapours, but is really runny and quite dificult to stop the join getting bubbles in it. Tensol is quite pricey but I think it’s worth it. If you use it, make sure you do it in a VERY well ventiled place.

Here’s a picture of the light after I sanded the perspex box. I couldn’t resist assembling it. I sanded the perspex to help diffuse the light coming from inside. This allowed me to be slightly less cautious when gluing together the perspex, because I could sand back any bits of glue that oozed out the edges.

Here I applied the graphics that I printed. They were just inkjet printed onto tracing paper. I then sprayed quite a fair amount of Photomount-style spray glue before applying. Once applied, I used the edge of a stanley knife blade to scrape a slight bevel onto each edge, to make the graphics a be little tougher against peeling off.

Painting time. The bits used for this light, were pretty easy to paint with spray paints really. Just a few coats. I just used grey primer for the wood bits then varnished them after.

And here’s the finished thing.

Here’s a view from underneath, showing the speaker and the bolts used to hold the perspex lid onto the shelf.

One last image showing the ‘Mario red’ gaming button used to tell the light to do its lighting thing.

Things I’d recommend to do better would be to be careful when gluing the perspex together because ozing bits at the joint come through and can be seen from the outside. Also, as mentioned before, I think it would be a good idea to do a little redesigning of the circuit board so the mains are a little more isolated. I think it would be a good idea to add a cover to the bottom of the column as well, something I didn’t do.

Feel free to leave any comments and if anyone does get round to making one, I’d love to see some pictures!

If you’d like to buy a readymade one, email me    laurence [at] conceptshed [.com]

You can download the Eagle files and the Arduino sketch here (you need the waveshield library which you can get from Ladyada’s site)

I’ve just set up the github, so sorry if it doesn’t work smoothly. Click on downloads in the top right hand corner to download the files. And here is the partlist with the Farnell order codes, totaling £12.01!

You can view a PDF plan owith dimensions of all the different parts here

7 thoughts on “Mario light”

  1. Hello. Very interesting thing came out. We would like to do something similar for my son. If you can, then please get in Throw in my mailbox information about this device, in particular, the controller firmware. My e-mail address: ti-virus18@mail.ru or ti-virus18@tut.by. Thanks in advance.

Leave a reply to Super Mario coin block lamp is a Nintendo fanboy’s dream come true - Hack a Day Cancel reply