element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • 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 Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
  • Settings
Imagine a World Without Cords
  • Challenges & Projects
  • Design Challenges
  • Imagine a World Without Cords
  • More
  • Cancel
Imagine a World Without Cords
Blog Qi Cube - A 5x5x5 MSP430 Qi Powered LED Cube!
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: johnsocm
  • Date Created: 22 Oct 2012 4:22 PM Date Created
  • Views 1313 views
  • Likes 1 like
  • Comments 2 comments
  • wireless_power_home
  • spi
  • wireless_power_charging
  • qi_standard
  • wp_challenge_one
  • consumer_electronics
  • wireless_power_consortium
Related
Recommended

Qi Cube - A 5x5x5 MSP430 Qi Powered LED Cube!

johnsocm
johnsocm
22 Oct 2012

Hello World,

 

I have built a 5x5x5 LED Cube From scratch and I wanted to show you how amazing a LED cube looks when powered from wireless power! It looks the same as plugged into the wall. Now, some people might think this is boring but I and millions of others think this is a breakthrough, that we can power millions of devices wirelessly! I wanted to build this to get away from the testing of the Wireless Power Eval kit and show off what it was meant to do! The Eval Kit likes to Power Everything at 5V and under 1 Amp! It sometimes even likes to power things a little over a amp!

 

A Functional Description:

 

The MSP430FR5739 Experimenters Board http://www.ti.com/tool/msp-exp430fr5739 is used to control an 5x5x5 LED cube. The LED cube is made up from 125 LEDs arranged into 5 layers of 25 LEDs each. All LED anodes of a layer are connected and all cathodes of a row are connected. This allows multiplxing with LED drive IC's, so instead of requiring 125 connections it requires one to each ot he five layers and 25 to each LED in a layer making a total of 30.

 

The cathodes of the LEDs are connected to TI TLC5916IPWTLC5916IPW 8-bit constant-current LED sink drivers. The LED current is set by a single resistor connected to the R-EXT input of the IC. The 1.8k resistor sets the LED current to ~10mA; this resistor can be altered to vary the current supplied to the LEDs. The advantage of using a constant current sink driver IC is that almost any LED can be used and the supply current remains constant regarless of the LED forward voltage. If the output current does need to be altered, it only requires the current setting resistor to be changed.

 

Each of the LED layers is arranged in a 5x5 matrix and controlled by a PNP transistor connected to the LED anodes. The remaining free pins of the forth LED driver are used to switch the PNP transistors ON and OFF, so that when the respective layer control output from the LED driver goes low, the transistor connects VDD = 5V to the anodes of the LED layer.

 

When a layer is connected to VDD and the output of the LED driver goes low it connects the cathode of the respective LED to GND, lighting it up! Thus, if you wire the LEDs incorrectly, 5V goes to the cathodes of the LED layer and will not turn on the LEDs. Make sure you solder the LED's correctly!

 

The outputs of the current sink drivers are controlled by the MSP430FR5739. Each driver IC contains an 8-bit shift register and an output latch. Via SPI the desired state of the outputs is clocked into the latches. The drivers are cascaded; a full cycle to refresh the whole cube needs to send 30 bits (5 bits for the layer selection and 25 for the LEDs in the selected layer). After all bits are sent the data is latched to the outputs and the outputs are enabled. By using SPI and the LED drivers, only 4 I/O pins are needed to control the whole cube!

 

The layers are turned on one after another. When doing this very quickly the eye can't see the switching anymore, giving us a static image. The refreshing is done by a timer interrupt every 2.5ms. With this rate you won't be able to see any flickering. (Just like the light bulb flicker at 50/60Hz).

image

image

 

Here is the process of building a LED CUBE!

 

Step 1:

     Poke 25 holes in a cardboard box, order a pizza and use it for a led cube builder!

     Then stick in 25 leds for a 5x5x5 Led Cube! You want the longer lead all facing the same way! This longer lead is the Anode! The shorter lead is the Cathode!

    

image

Get the schematic here: http://processors.wiki.ti.com/images/2/20/Schematics.pdf There is a minor error in the schematic, All LE lines should be connected together, instead of being connected to the SDI/SDO lines.

image

Step 2:

     Bend all of the longer leads (Anode) to touch another Anode lead. They should all be touching! There will be some open spots but we will use wire to connect those spots later.

     *********DOUBLE CHECK AND MAKE SURE IT IS THE ANODE YOU ARE BENDING....IF YOU USE THE CATHODE...YOU WILL HAVE TO START ALL OVER AGAIN OR DO A LOT OF 0 AND 1 SWITCHING IN THE PROGRAMMING******

image

Step 3:

     Solder all Anodes together! And you will end up with something like this. This is your first layer! Only 4 More exactly like this to go!

image

Step 4:

     After creating all 5 layers of 5x5 Leds, then it is time to start soldering the layers together. Bend just the tips of the cathode in towards the led layer on top. This makes it a lot easier to solder the led cathode leads to each other.

     Here is three layers soldered together.

image

Step 5:

     Keep Soldering! Four layers Done!

     image

Step 6:

     All done with all 5 layers...Flip over and get ready to install into a board!

     image

Step 7:

     Build a board with enough room to hold the led cube, Custom Board and the MSP430FR5739 kit. I created a board with a grid so I knew where to drill the holes for the cathodes of the LEDs. I then sanded the board and painted it black.

image

Step 8:

     Build PCB and solder components to it.

image

image

image

 

 

image

image

     Solder wires to Custom Board and MSP430FR5739.

     Program MSP430FR5739 using TI's MSP430 with your choice of Development tools. I used TI's Code Composer Studio. http://www.ti.com/tool/ccstudio

 

Powered On and checking all leds to make sure they all are working!

Grab the Source Code Here:http://processors.wiki.ti.com/images/5/57/Source_Code.zip

image

Hard to see in the dark but I just plugged a micro USB into the MSP430FR board from the Wireless Power Evaluation Kit. I will upload a picture of this later.

Here is the video of some sample patterns I used to test the Wireless Power Eval kit, MSP430FR5739 FRAM, my custom built board and the LED Cube!

I will include the Eagle Schematic and Board Files later today!

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Special Thanks to Mario Pillar, so I didn't have to reinvent the wheel with the LED Cube!

http://processors.wiki.ti.com/index.php/Magical_LED_cube

Attachments:
imageSchematics.pdf
Source_Code.zip
  • Sign in to reply
Parents
  • lfa555
    lfa555 over 13 years ago

    that is awesome Chad! some thought....you could make some christmas lights for outside usage, and by usage of wireless power you don't have to worry about isolation of the dirver or IP rating/sealing of power plug or?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • lfa555
    lfa555 over 13 years ago

    that is awesome Chad! some thought....you could make some christmas lights for outside usage, and by usage of wireless power you don't have to worry about isolation of the dirver or IP rating/sealing of power plug or?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube