144 LED Games Console Project


Closed Thread
Results 1 to 40 of 114

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985

    Default 144 LED Games Console Project

    144 LED Game Console
    Featuring original recoded clones of two classic games: Snake and Tetris!
    Art 2010 -------------------- Note: This is not an official Tetris product.

    144 LED Game Console - Bill Of Material

    001 x Microchip Pic 16F877 or 16F877A microcontroller
    001 x 40 pin DIL socket
    018 x BC549C or similar Transistors
    145 x LEDs (144 of one colour, and 1 of another for the power/error indicator)
    001 x 20 MHz Crystal
    009 x 330R Resistors
    018 x 1K2 Resistors
    004 x 10K Resistors
    001 x 4K7 Resistor
    002 x 22pF Disc Ceramic Capacitors
    001 x 0.1 uF Monolythic Capacitor
    001 x Prototype Printed Circuit Board (display)
    001 x Small Prototype Printed Circuit Board (joypad)
    004 x Momentary Push Buttons





    Display schematic is made from a modified version of a display by B.Morse.

    See YouTube Demos of the Games Here:
    http://www.freewebs.com/defxev/scroll.htm

    Code for the Microcontroller is coming soon!

    PS. If someone would like to make a PCB layout, that would be cool

    Cheers, Art.
    Attached Images Attached Images  
    Last edited by ScaleRobotics; - 26th June 2010 at 14:47. Reason: added Art's new schematic

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Here's the schematic you'll need if you want to use the message scroller.



    The readme, hex file, and source code are posted in the attachment.
    Cheers, Art.
    Attached Files Attached Files

  3. #3


    Did you find this post helpful? Yes | No

    Default

    If you're into building things like this you might want to check out TI's line of LED drivers: http://focus.ti.com/paramsearch/docs...ODE_STRY_PGE_T
    National also has a great section on LED power:http://www.national.com/analog/led/high_brightness
    Maxim has a bunch of really cool led drivers as well, but I've found them to be a little on the expensive side: http://www.maxim-ic.com/products/display/

    Mike Tripoli

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Way cool project Art. Thanks for sharing.

    P.S. Really liked the wavy line thing in your video. Very creative.
    Last edited by Bruce; - 16th February 2010 at 05:45.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Very nice!!!!
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795


    Did you find this post helpful? Yes | No

    Default

    Nice job Art! The wavy string was awesome.

    Ioannis

  7. #7
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Version 2

    Thanks for the comments

    Version 2 eliminates the need for the external EEPROM,
    improves Tetris scoring system (where it's worth more to get multiple rows simultaneously),
    More fixes described in the source code header.
    Cheers, Art.
    Attached Files Attached Files

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Heheh, remember the the old Mattel handheld football game, I bet you could write a version of that game for your unit.

    http://www.handheldmuseum.com/Mattel/FB.htm
    Tim Barr

  9. #9
    Join Date
    Feb 2007
    Location
    London UK
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Art View Post
    Version 2 eliminates the need for the external EEPROM,
    improves Tetris scoring system (where it's worth more to get multiple rows simultaneously), More fixes described in the source code header.
    Cheers, Art.
    Is there a reason why the version 1 package has the files pic.bas and SCROLL.hex while the version 2 package has pic.HEX and scroll.bas - have the hex files by any chance crossed over into the wrong folders?

    I am going to make this one, for sure. It will likely be a hand-etched iron-on laser toner board, but maybe I'll use perf board. Where are you getting your proto PCB from?

    Great project by the way, well done.

  10. #10
    Join Date
    Nov 2011
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: 144 LED Games Console Project

    Hy!
    Can someone give me the latest schematic, or PCB, and codes for games?
    Thanks!
    P.S. I'm new on this forum, so I tell everybody Hy!
    Sorry about my English :S

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795


    Did you find this post helpful? Yes | No

    Default Re: 144 LED Games Console Project

    Hmm, this is not Micro$oft to have every Tuesday updates of the software... We write our own and if have difficulties then we ask politely for help presenting our job so far.

    Sorry, but this is how it works.

    Ioannis

  12. #12
    Join Date
    Aug 2012
    Location
    Comodoro Rivadavia - Patagonia Argentina
    Posts
    51


    Did you find this post helpful? Yes | No

    Default Re: 144 LED Games Console Project

    ESP: Hola amigo... felicidades!!! tu proyecto es muy bueno!
    Voy a emplear parte de tu proyecto para ver si se puede crear un osciloscopio a led. Hay muchas aplicaciones en los vehiculos que requiero emplear una osciloscopio y me parece que lo mas sencillo seria esto, ya que los osciloscopios que trabajan con la placa de sonido de las notebook son bastantes incomodos para trabajar.
    Gracias por tu aporte


    ING: Hello friend ... congratulations! your project is very good!
    I will use part of your project to see if you can create an oscilloscope to led. There are many applications that I require vehicles use an oscilloscope and I think it would be as simple as oscilloscopes working with the sound card of the notebook are quite uncomfortable to work.
    Thanks for your input


    Martin Torres (From Patagonia)

  13. #13
    Join Date
    Nov 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: 144 LED Games Console Project

    To Art: Thanks for posting this project and providing the code for others to use on their own projects. It has been a tremendous help.

    I'm trying to avoid asking for a handout however I've run into several issues trying to build this this gaming console with a few modifications. I am new to programming PICs and other projects are likely easier to start with, however, I think with a few suggestions from others with more experience I'm hoping to make this work.

    Instead of using a 16F877 I opted for the newer 16F887. I'm also using two of the 8x8 LED matrices from SparkFun for a total of 128 LEDs (8x16) as opposed to the 144 LED (8x18) display that the code was written for.

    I'm hoping to use the internal 4Mhz clock of the 16F887 to allow more I/O pins for other devices. This can be changed in the code relatively easy but I'm unsure whether using a 4Mhz clock will cause unforeseen issues since console was designed around a 20Mhz oscillator.

    I'm also trying to figure out how the rows and columns are defined in the code. I need to make changes since I have two less rows of LEDs (if playing tetris, vertical display) but I'm having issues deciphering how the rows and columns are defined.

    If anyone has any suggestions I could use push in the right direction. Also, please post if you notice any other issues or changes that will be necessary when using the 16F887 in place of the 16F877.

    Thanks in advance!

  14. #14
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: 144 LED Games Console Project

    Hi, I don't check in often unless I'm writing for pics at the time...

    I'm going to get ports wrong if I guess here, given that it's years old now,
    so just to describe how the rows and columns are defined... the display is
    8 LEDs high to fit one column in a byte, so since it's a mono colour display,
    the whole display buffer is 18 bytes
    I use in line assembler (if I remember correctly), or an asm/PBP combination
    to address the bits of each byte in each column.
    C0 - C17 are the bytes for each column, they are being strobed in the draw screen routine.

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 07:14
  2. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 21:19
  3. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30
  4. can't even flash an LED
    By bruno333 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th April 2005, 14:27
  5. simple LED Blinking project
    By koossa in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th December 2004, 02:25

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts