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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum can i build an led cube and to control it with raspberry
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 18 replies
  • Answers 13 answers
  • Subscribers 669 subscribers
  • Views 1838 views
  • Users 0 members are here
  • raspberry_pi
Related

can i build an led cube and to control it with raspberry

Former Member
Former Member over 11 years ago

images?q=tbn:ANd9GcRqC9Gqane0sozu4TkkAGalkeFBBh-Np5H5fJ2tAw1eUVDPK-GNJLwm7AHello im wondering if is there any possibility to use raspberry as a controller for the led cube ?

  • Sign in to reply
  • Cancel
  • magnus2112
    0 magnus2112 over 11 years ago

    Yes thats possible!

    i recommend that you try searching for "how to controll a 8x8 led matrix"

    It works the same way, just that a led cube is 3d so you wil have to add another script for it to work.

    Remember the arduino and the raspberry pi is weary like, so you can follow tutorials for the arduino and get the same results, all you need to do is transelate the code to python. If you need help with the code, just ask me image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    for smooth operation though i'm not sure if the PI will be up to the task, having it as a master and sending the pattern requests to the Arduino is good. I have not yet seen a PI do this. Not saying it cant be done but to be honest, a PI is not the best choice for hardware control of this nature. An Arduino or similar (MSP430, TivaC etc) is much more adept.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to Robert Peter Oakes

    Like this http://jacksonliam.blogspot.ca/2012/06/arduino-and-raspberry-pi-talking-over.html

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to Robert Peter Oakes

    better link here with reasons http://www.raspberrypi.org/forums/viewtopic.php?f=38&t=10120

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • kidiccurus
    0 kidiccurus over 11 years ago in reply to Robert Peter Oakes

    Or just skip the pi and go straight to 'duino.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 11 years ago in reply to kidiccurus

    To make  a decent LED cube you need to get away from weedy little processors or RP with it's lack of IO and poor real time perfromance.

     

    This guy shows you how do it right http://www.hownottoengineer.com/projects/rgb-led-cube.html

    (And lot's of good explanation.)

     

    If I were doing it I would use an FPGA (which would get rid of the LED driver chips) but that's because I use them all the time so I have all the tools.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • kidiccurus
    0 kidiccurus over 11 years ago in reply to michaelkellett

    You don't necessarily need a driver chip with an arduino. For a 4x4x6 cube I am working on the only io expansion I am using is a single Johnson counter. This is using an arduino Leonardo.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 11 years ago in reply to kidiccurus

    How will you get any power into your LEDs without drivers - you have 96 LEDs (which is a lot less than the 512 for an 8 x 8 x 8) cube but the maximum total current you can put out is less than 200mA  which won't be very bright. (Perhaps I'm missing something - can you post a sketch of your ciruit ?)

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to michaelkellett

    that's total for the chip too, you are limited also to 20mA per pin, absolute max being 40mA but not recommended and that would also be dropping a lot of volts in the chip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to michaelkellett

    Micheal, although you would obviously have the number of pins available on an FPGA how would you handle the drive current ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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 © 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