3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Christmas card with inbuilt retro video game for under $10

Christmas card with inbuilt retro video game for under $10
«
  • screen-capture.png
  • 100_1356.JPG
Hello all and welcome to my second Christmas related project.

Have you ever received a really boring Christmas card? Have you ever sat there and thought to yourself "If only there were a little video game on this card that I could play..." Well ponder no more because that card is here!

This instructable will show you how to make your very own retro video game Christmas card which can be made for less than $10. All you need is some time, some soldering know how and roughly $10 in your wallet.

Please view this youtube video to get the main idea of this project:


There are essentially two main parts to building this project.

1. Soldering all the parts to the vero board (experimenters board)
2. Making the card itself (this is where you can get creative)

The game is titled "Santas Scramble" and is played within 64 pixels on an 8x8 LED matrix display. You play santa (a red dot) who is frantically flying around the world in order to get all of the presents delivered to the children in time for Christmas, the only problem is that he has flown into a dangerous maze. Your job is to steer santa up and down the screen in order to avoid the oncoming obsticles. Be careful, the further you get through the game, the faster it gets. If you crash then it is - GAME OVER -

There are two different designs below and I must apologise for my lack of arts and crafts ability. My strong point is the electronics side of things...

Anyway - lets get started shall we!

 
Remove these adsRemove these ads by Signing Up
 

Step 1Gathering together the required parts.

Gathering together the required parts.
«
  • 100_1256.JPG
  • soldering_equipment.jpg
As stated in the introduction, there are essentially two main parts to this instructable.

1. Building the electronic circuit
2. Constructing the card


Here is what you will need for the electronic circuit:

- 1 x pic 16f648a microcontroller
- 1 x 7442 (1 of 10 decoder IC)
- 2 x cr2032 batteries
- 2 x cr2032 battery holders
- 1 x 32 hole by 23 hole piece of veroboard / strip board
- 2 x push buttons
- 1 x 8x8 bi-colour LED matrix display
- 9 x 150 ohm resistors 1/4 watt
- 2 x 10k ohm resistors 1/4 watt
- length of enamel wire (the really thin wire with a coating of enamel for insulation)
- shorter length of single core wire

- Soldering iron
- Solder
- scalpel (or sharp knife)
- solder wick (optional but handy if you make a soldering error)
- Flux (optional but helps with soldering)

- pic microcontroller programmer

here is what you will need for the card:

- paper (all sorts of colours to make it more interesting)
- thin cardboard
- thick corrugated cardboard (the cardboard that packing boxes are made from)
- glue stick
- double sided tape
- sticky tape
- scalpel (or sharp knife)
- scissors
- what ever else you can think of to make a nice looking card



Handy Hints:

-
Pay a visit to sure electronics webstore where you can buy a lot of 10 Led matrix displays for around $8.60 this makes them 86c each!

- ebay is a great place to buy electronic components. Make sure you do a worldwide search since postage is normally quite cheap for lightweight components.

- Head on over to microchip.com and sign up to their online store. Then you can buy parts directly from them. For example here in Australia it would cost me $10 for a 16f648a microcontroller. But if I buy them from microchip they are just over $1.

- You can also request free samples from microchip. I think you can get about 6 free samples a month. This has been very handy for me in experimenting with different chips.




« Previous StepDownload PDFView All StepsNext Step »
50 comments
1-40 of 50next »
Mar 31, 2012. 6:35 AMZakkron says:
Hi, I really don't know anything about microcontrollers. Does it matter if you have a
PIC16F648A-I/P, PIC16F648A-I/SO, or PIC16F648A-I/SS?
Nov 20, 2011. 9:14 PMvincentstockdale says:
hey i also have another question is there a way you can send me a preburned micro controller. i know how these work but i dont have the peice that will allow me to connect to my computer and burnit on to the controller.I will pay with my paypal/creditcard if needed. Cheers (im from america lol )
Nov 6, 2011. 9:33 PMvincentstockdale says:
hey i was wondering how deep you cut these and also how do you know when you make these cuts well enough
Aug 28, 2011. 12:53 PMbelsey says:
I've been wanting to try my hand at electronics. This instructable is so well explained and illustrated, and looks fairly simple and inexpensive, plus I love making cards, so I thought this would be a good place to start... However I'm already stumped at step two. The direction to "simply open the hex file in your programming software and burn it to the microcontroller" makes me draw a blank. What is programming software? How can it be burned to a microcontroller? What would be helpful would be a link to different programming software sites (maybe 2 links, one for PCs and one for Macs) so novices like me can go to download programming software, and learn the really basic basics.
Aug 11, 2011. 9:11 AMcupcake_love says:
Oh wow!!! Incredible! I'll never be able to make this but oh well- I may try sometime :D
Oh and btw your accent is awesome ^-^
Jul 18, 2011. 11:47 AMPJPEEJ says:
and how do you solder so well?
Jul 18, 2011. 11:22 AMPJPEEJ says:
Hi thanks for the ible. I plan on making this, but i am a noob at soldering, but i do have some experience with electronics. I was wondering, where can i get the programming software for the hex file? I already downloaded it to see if i had it already but i dont. Also, I have a mac.

Thanks
Apr 19, 2011. 3:11 PMandy70707 says:
This looks like a good project, but instead of using stripboard, I would like to make a PCB. Could you check my PCB design to make sure the pins are all connected correctly? Please note some of the resistors are simply wire links (R12-16). I am also having a lot of trouble programming the pic, I have the correct pic chip, but my pic programmer doesn't seem to like the hex file your provided. Would it be possible to send me a per-programmed pic (I can pay for the cost of the pic, the shipping, and your time), or I could send you my pic to program if it would be cheaper/easier.
Apr 21, 2011. 5:20 AMandy70707 says:
I haven't made the circuit yet as I want to develop a PCB for it. My programmer doesn't like the hex file you provided, and it would be a lot easier for me if I could pay you could send me a pre-programmed pic. I did use your schematic as reference, but I had to put the LED display together myself from various datasheets as the pins on your schematic aren't labeled. Also, I do have 150 ohm resistors on pins 24, 21, 18, 15, 1, 4, 7, 10, and 11, but I am not sure whether they are in the right place or not, I was hoping you would check this for me.
Apr 19, 2011. 3:13 PMandy70707 says:
Sorry, I didn't realize how small that image was. Here is is in a higher resolution.
Dec 2, 2010. 6:17 PMmr.noris says:
were can i buy these supplys
Nov 22, 2010. 8:53 AMMakeman says:
in the 5 picture where did the other 1 (150) ohm resistor and 2 (10k) resistor go
Nov 22, 2010. 7:50 AMMakeman says:
I noticed that you added a small connector piece. is that required.Whats it for
Apr 9, 2010. 2:58 PMpedronanez says:
 how do you download the archive into the microcontroler ,but w
how do you connect it
Dec 27, 2009. 1:12 PMZaphod Beeblebrox says:
a video wold be nice,cool project!
Dec 27, 2009. 1:41 PMZaphod Beeblebrox says:
cool :-)
Mar 27, 2010. 9:42 AMtimothymh says:
 Zaphod's just this guy, you know?
Mar 2, 2010. 11:05 AMGeekmandude says:
There appears to be many kinds of 16f648a PICs, Do I want the 18 pin PIC16F648A-I/P or the 18 pin PIC16F648A-I/SO?
Thanks.
Mar 2, 2010. 12:33 PMGeekmandude says:
Thanks!
Feb 11, 2010. 10:34 AMandy70707 says:
That hex file dosent seem to work with my programmer. It says it needs to be INH8XM format. It displays everything right except the last collumn of characters is replaced by random (non-hex) ones suggesting there is a problem with the file, and it shows up fine in notepad. So how can I convert it to INH8XM format or could you send me another version that is in that format? Thanks!
Feb 1, 2010. 8:40 PMnolte919 says:
This is a really great Instructable.  Is there a reason you're reluctant to release the source code?  That would make it tons easier to adapt it to many different microcontrollers and alternative hardware.  It seems a shame to make such an awesome and detailed Instructable and leave out the source code.  If it's too much trouble to convert it to another microcontroller then let that be our problem.  We're not asking for a conversion, we're only asking for the original code.  It certainly wouldn't take anything away from your excellent Instructable and would, in my opinion, make it even better because we could more easily adapt it to our projects.

Would you mind posting the source code?

Please?!?!
Feb 4, 2010. 4:51 PMnolte919 says:
Hey thanks!!  I can't believe you wrote it in assembly.  You're a mad man.  Great website too.

And by the way, responding to a comment in less than 72 hours is a pretty friggin' prompt response in my opinion.  Thanks again.

Oh, and might I suggest putting a link to your website in the body of the Instructable.  Maybe say something like "you can find this game and others like it at www.bradsprojects.com/index.php
Feb 4, 2010. 3:09 PMbrunoip says:
you should use the last green line too ...
Jan 23, 2010. 9:14 AMandy70707 says:
This looks like a really good project, I just went out and bought all the components except the PIC and the 7442, and I couldnt find one, so would this one be ok? http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=5190221 and if not, could you suggest an alternative or a link to somewhere I can buy one (preferably in the UK) Thanks!
Jan 24, 2010. 10:54 AMandy70707 says:
Thanks for the help, I found a 74HC138 here: http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=1696084 but it says 3-8 line decoder, although it is inverting. Is this the right IC and would I have to modify the circuit at all? Thanks again for your help, ill be sure to post pictures of my version when ive finnished it.
Jan 6, 2010. 9:30 AManmo216 says:
Is it possible to translate the source code to program an AVR microcontroler ???
Jan 12, 2010. 5:30 AManmo216 says:
Well, If you send me the source code I can try
Regards
1-40 of 50next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
94
Followers
6
Author:bradsprojects(brads electronic projects)