Instructables

Super Mario Bros on an 8x8 RGB LED matrix display using a pic microcontroller

video Super Mario Bros on an 8x8 RGB LED matrix display using a pic microcontroller
I will be uploading an instructable of how you can make your own LEDBOY game system which will enable you to play this game. Please note that This game is still a work in progress as there are only currently four levels (I still have over thirty to program in) and also there are no bad guys or items to pick up just yet.

I think it will be quite fun once completed though.

I have given this version of the game the name "Super Pixel Bros"

Also, I have tried to replicate the exact levels from the original game as closely as I could within the 64 pixels that I have.


Raphango12 months ago
AWESOME! JUST AMAZING! ;~
REALLY MAN, YOU DA MAN!
RobotAdam3 years ago
Can you give .hex or .asm code ?
bradsprojects (author)  RobotAdam3 years ago
acarneiro3 years ago
U'r God
WHEN YOU GONNA MAKE THIS IT'S AWESOME!!!...hopefully by the midle of the summer im thinkin
bradsprojects (author)  robomatt19993 years ago
I have actually finished it and designed a circuit board for it (and have made the game better)

I just couldn't be bothered writing the instructable = )

I will be uploading all the details to my website soon instead, www.bradsprojects.com
THAMKKKS!!!!!!!!!!
wkortum3 years ago
I am really interested to know how you made the casing for it
how much r they
Dumchicken3 years ago
pweaeaeaeaeaes gimme one pweeeeeeeeeeeeeeeeeeeeeeeeees
bradsprojects (author)  Dumchicken3 years ago
I am just about finished with the new circuit board design and you will be able to build one for yourself. The new design has an LED screen for the game and an LCD screen to keep track of scores, lives and the level you are on.
cool
If it ever is sold as a product, you should have different cases. I was thinking that maybe you could put the screen in the middle of a NES remote controller, giving it that retro with a hint of modern (modern = Looks like a PSP) Nice share though, :D
I was actually thinking of different designs and have been using a NES controller with it. Unfortunately I have not found a way to combine the two very well because the screen is quite large and I have also included an extra LCD display which keeps track of the level you're on, your score and lives remaining.

I am in the process of designing the new circuit board right now!
Do you actually plan on making an instructable?
bradsprojects (author)  DylanDonohue3 years ago
Yes. Do you plan on making one?
You bet your bullits I do!
far.peter3 years ago
About how much us the total cost for the parts?
bradsprojects (author)  far.peter3 years ago
The most expensive part is the 8x8 RGB Display which is around $15 - $20

The microcontroller would be around $5 and then all the rest of the components are not too much at all So I guess if you allowed perhaps $30 to $40 for everything.

I really need to get around to documenting the project though...
Could you easily do the same thing with an arduino?
XlogicX4 years ago
 That's really cool (especially with RGB LED's), what microcontroller are you using?
bradsprojects (author)  XlogicX4 years ago
Hi, I am using a pic18f4550 microcontroller.

it has plenty of I/O ports and 32K of program memory. Which is more than enough to hold all thirty something levels of the game.

I have started work on this project again today and am programming in more levels. I am also working on getting things like the water (swimming) stages working, coins to pickup, bad guys to jump on and items to pick up.


is it a picaxe?
bradsprojects (author)  jwoo20234 years ago
No, it is an 8-bit 18f4550 pic,

It looks like this
www.michaeladams.org/Files/Attachments/2009/06/Big-PICT0138.jpg
Oh, a lot of pins! I will never be able to program that... I have no experience! I only know the basics of BASIC. -.-'
 Neet, I have a friend that works for Microchip that gave me a dev board for a PIC, I should really learn it, mostly for the price. I've been working with ASM on the propeller, so ASM on PIC shouldn't be a stretch.

I'm still impressed with where you're going with the Super Pixel Bros. Keep up the good work, can't wait to see more results.
bradsprojects (author)  XlogicX4 years ago
yeah for sure - free is always a god price = )

I have now just started my Christmas break so I will be able to start work on this game again quite soon. hopefully have it all completed in a couple of weeks.
nicolo864 years ago
you should do a update to make us know at what point are you. this project looks really cool.
You really should do an update. I really, really, really, really, really, really, really, really, really wan't to see how your going.
bradsprojects (author)  jwoo20234 years ago
I have not worked on this project for quite some time now, but since the last video I have added sound fx. I will be redesigning the circuit so it is simpler and uses less components. I will also have a look at re-programming in a different language (most probably basic) rather than assembly language. I just don't have alot of time, so it will take me a while to complete it.
Ok. Thanks. ^^
jwoo20234 years ago
So what I mean is that you should patent your LEDBOY product.
jwoo20234 years ago
In the video, you know how you played the Super Pixel Bros'? Your quite good at the game. You should patent it.
jwoo20234 years ago
I want one badly. But the problem is, I have absolutely no knoledge about programming. I have a Lego Mindstorms NXT 2.0 kit but no other things. I tried to make 2 robots but failed. Thats why I got the Mindstorms kit. Cool Project by the way. Did you insert the matrix into the gameboy?
jwoo20234 years ago
wow cooooooool. Infinite Lives!!!!
modwannabe4 years ago
nice job I want one
I would love to buy this kit! About how much does the project cost to make overall? Also, where did you get the PIC?
docwoodshop4 years ago
i so want one. all the mario games are expensive or have sucking graphics online
Azayles4 years ago
I think that's about the coolest and most amazing 8 by 8 pixel ANYTHING I've ever seen! That's incredible! What mux are you using for the LEDs? max7219s?
bradsprojects (author)  Azayles4 years ago
 Hey thanks man.

Have a look at the updated video, I have made some more progress on this game.

I use 74373's and a pic microcontroller. Thats basically what runs the whole show.
I'll check it out! :D
Musta had a lot of pins going to the pic if the pic's doing all the multiplexing (at least 24?) Or did you Charlieplex some of them? Kudos if you did, Charlieplexing is a method which continues to elude me. Could one use MAX7219s to multiplex each grid and simply treat the RGB LEDs as three separate 8x8 grids?
bradsprojects (author)  Azayles4 years ago
I am using a pic 18f4550 which has about 35 I/O pins I think. then there are four 74373's (one for red, one for green one for blue and one for the columns)

very basic circuit, cheap to make and fun!

I am not too sure about the max7219, but have a look at the data sheet for the 74373. they are just 8bit latches with tristate outputs, very very handy for digital projects like this.
I had a nose around on your site, very impressive stuff I'm seeing! I can't even begin to wrap my head around assembler code, so you get big kudos just for that :P
I'm ordering some ATTiny AVR processors today from Spark fun which I'm gonna program in bascom for a project I'm working on. Might even try my hand at C/C++
Yeah I've used the 74373 before, very handy lil chip for latching 8bits of data.
MAX7219s are VERY handy chips for handling LEDs in an 8x8 Grid, you'd only need three to control a RGB LED, it's extremely easy to use and they can be daisy chained together while still allowing you to control the whole thing over three wires. Maxim has a "free samples" section too, which is how I got my first three to play around with. I bought four more since 'cause I was that impressed.
guydie54 years ago
can you show us how you made the pixel boy....that might be asking to much but you could have other people making games for it to kinda like people do with calculaters. also great video and device.
bradsprojects (author)  guydie54 years ago
Hi, yes I will be releasing all the info needed to make one of these.

I just want to work on this game a bit more first to make it into somewhat a complete game.

I have now made more levels for it and have worked on a few other things here and there so it is all coming together. I just need to get some bad guys in there...

Give me a week or two and I'll have all the details.
cool and how much memory does your micro controller. i just got mine and i am still learning about it so i dont know how much memory the average one has. thanks.
bradsprojects (author)  guydie54 years ago
I am using the pic18f4550 for this project but I may well upgrade to something just as powerful but with more memory - i'll see how I go.

The 18f4550 has 32K of program memory, just to put that into perspective each level of the game uses about 640 bytes of memory.
yea i could see that working.
rirdrifta4 years ago
this is super cool

u should like sell that that would be so awesome ide buy it

bradsprojects (author) 4 years ago
Just an update, I have now completed upto world 6-4 with this game. I just need to work on a few bugs.

Then I need to program in all the other levels and hopefully I will be able to figure out how to add in some bad guys... so many lines of code!
Sunbanks4 years ago
Woah! That's so cool! 
ac1D4 years ago
I made your 8x8 game system.. guess what im making, now?
ahah you are awesome!
bradsprojects (author)  ac1D4 years ago
How did you go with the 8x8 game system? It all works okay?
can't tell. Still waiting for my 8x8 display. Kinda look like your prototype (I never workied with pcb, never made one)
Also, got some problem finding the part (I never followed a schematic before)
It's my first real electronic project, hope it go well ^^
Bongmaster4 years ago
thats so freakin awesome XD
bradsprojects (author)  Bongmaster4 years ago
Thankyou = )