element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Infinite RGB LED Cube Table Part 1
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: benmatrix
  • Date Created: 20 Dec 2013 9:40 AM Date Created
  • Views 458 views
  • Likes 1 like
  • Comments 1 comment
  • flowcode
  • Cube
  • led
  • rgbled
Related
Recommended

Infinite RGB LED Cube Table Part 1

benmatrix
benmatrix
20 Dec 2013

After being inspired from the Xmas tree blog post I started looking around at what other people were doing and I came across a simple single colour 8 x 8 x 8 LED Cube project on Instructables.

 

FUXO1RWGICYBAOS.LARGE_.jpg

LED Cube 8x8x8

 

The post was great and looked simple enough so I thought I would have a go at it myself as well as making a Flowcode component to allow me to simulate and easily develop programs for any size of LED cube. I planned on a larger single colour version of the cube but then realised that to double the display meant potentially quadrupling the number of LEDs and connections required and so scaled down my thinking a bit and instead went for the RGB LED approach. This then went further and I thought up a way of making it a useful enough item that I could get away with installing into my living room. Being inspired from infinity mirrors made into tables on YouTube I thought what about we box up the LED cube with glass and mirrored car window tint and create an infinity cube. Installed onto the center of a nice largish second hand coffee table, I might just get away with that one image

 

index.jpg

 

As I'm making a 8x8x8 LED cube we will need at least 512 LEDs to complete the project plus a few spares just in case we damage any of the LEDs or find some duds. I got the 5mm, common cathode, diffused RGB LEDs shown below for around £30 for 600 LEDs on eBay they say they are diffused but other reports lead me to believe that they are not as diffused as you might like. One method of add extra diffusion might be to sand the LEDs slightly using fine grade sand paper or roughly cut the top off the led using a saw. For 512 LEDs this might be a big task to get them all uniform so I will see what they look like when they arrive before deciding what to do with them.

 

mdxSDdE5UmBgp0YFExC6_jQ.jpg

 

To save on the number of signals we need to control the individual LEDs (512 x 3 = far too many to think about) we will use a multiplexing technique to only light a single row of 64 LEDs at any one time. If we can strobe each row fast enough then persistence of vision will allow the entire display to appear static to the eye. The instructables article linked above covers this technique very well so I recommend you look there if you want to know specifics.

 

Controlling 64 RGB LEDs is no easy task considering each LED requires 3 signals to drive each colour channel. This totals up to 192 control signals which is much higher then the I/O count on most microcontrollers. To allow us to do this I have created a custom PCB design using Proteus which can be used as a template for your own home made PCBs. Alternatively you could do the board using veroboard and roadrunner wire as shown in the Xmas tree post. The PCB design features 3 x 8-bit buffer ICs which can be used to store the state of 24 individual outputs or 8 complete RGB LED signals. The 8-bit data signals are passed from one buffer to the next by using a clock signal and the boards can be chained together using ribbon cable to create a display of any size. For my 8x8x8 display I need 8 boards connected together to drive the 8x8 lower row of the display. The modular driver board technique requires just 10 control signals from the microcontroller to function, 8 to form the data bus and an additional 2 signals for the Chip enable and clock signals. The remaining 6 wires on the ribbon cable are used to pass the 5V and Ground supply rails to the driver ICs. Details of the board can be found in the attachment at the end of the post. A further board could be used to drive the cathode FETs but for 8 rows we can probably get away with just using a spare microcontroller port.

 

RGBx8.jpg

 

I had my PCBs made professionally from Eurocircuits for about £120 for 20 of the boards. Its very nice to have professionally made PCBs as you know they will work correctly without a lot of effort but they could be made much cheaper by using home made PCB methods such as drawing with a permanent marker onto photo sensitive PCB boards before exposing in a UV box and then etching. CNC made PCBs are a good option too. It's been a while since I made my own PCBs but if you take your time they generally work a lot better then they look.

 

Here is a picture of my controller boards connected together using DIL headers, IDC connectors and ribbon cable. The top board has the 24-way IDC cable fitted but the other boards are currently missing this.

 

LEDDriver.jpg

 

Hopefully the LEDs will arrive later on this week so I can get building over the holidays.

 

We are discussing this project as it goes along on the forums at the URL below so if you have any comments or questions on the project or simply want to find out more then we would greatly welcome you to visit, sign up and join the community.

http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=58&t=14104

 

Attached below is the current Flowcode RGB LED Cube component source in it's unfinished state along with the PCB design files and bill of materials for the project.

Attachments:
LED-Cube.zip
  • Sign in to reply
  • DAB
    DAB over 9 years ago

    Hi Ben,

     

    Looks like an awesome project.

    Can't wait to see some video of it working.

    It should be a great tool to help you unwind after a long day.  Just sit back and let the light carry you away.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube