3D LED Cube - PIC16F877 20MHz

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,013
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 6, 2010

http://electronicsdiy.webs.com/index.htm
http://www.filefactory.com/f/200d6ecc8fc2985d/
Above link contains pictures/HEX file

1st attempt at a homemade led cube built as 5 x 5 x 5 layout using red 45mcd diffused leds, wired as a 25x5 led matrix, 5 layers with all cathodes on each layer connected together then connected to 0v via BS170 mosfet's, 25 anodes on each layer form the pillars of the cube these are connected via a 300 ohm resistor to the PIC - using 25 pins of the 16F877
This allows 10mA per LED.
Have taken some ideas for pattens from other cubes on here, so not 100% my own work
The brightness is not very good with these LEDs, but looks good in the dark.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (wellyb00t)

  • Cool, The Red heart beating looks funny. have you try to run it at a faster speed? I believe LED with transparent shell will work better, as it would not be "lighted up" easily by the one below. I do not know much about PIC. does the one you use only got 5 i/o?

  • @aguegu314 The PIC16F877 has 33 i/o lines, 25 used for led columns, 5 used for led layers, the led layers are scanned during a interupt routine each layer is powered for 500uS, interupts are set to 3mS.

    the leds here are only 45mcd, but diffused with a wide veiwing angle.

  • @wellyb00t

    I think the way I do the scan is different, as I have to finish a scan loop of 512 LEDs, one by one. I use the function _nop_() to set the period of on/off.

    If you have already used 30 i/o out of 33 to drive the 5*5*5 cube, what is your plan if you want to make the cube bigger? My way of doing this is ask help from 3-8 decoder, with which I can drive my 8*8*8 with only 11 i/o lines.

  • @aguegu314 for 8x8x8 i would approach in a different way, as with some of my other led projects using shift registers, 74hc595 which has 8 i/o lines per package, which you could cascade to get a lot of outputs for just a few i/o lines on the uC

  • Thanks...most of the animations ideas came from here, so far ive used 4.7K of code space, so still a bit of space for more animations.....watch this space!

Video Responses

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • @wellyb00t Hi, I have upgraded the program of my Matrix 8. And right now it looks kinda cooler, Check it out , :)

  • @wellyb00t

    Hi, I have upgraded the program of My Matrix 8, right now it feel kinda cooler, check it out. :)

  • @wellyb00t

    I know 595. Somehow it concerns me that whether it got fast enough. But it is widely used in LED matrix display. It is always about the balance of time and space. : )

  • @wellyb00t, Awesome work there, well done

  • Looks very good man.

    Great work

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more