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
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Blog Adafruit 8x8 LED matrix controlled by BeagleBone Black
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fustini
  • Date Created: 22 Nov 2013 7:19 AM Date Created
  • Views 2854 views
  • Likes 0 likes
  • Comments 6 comments
  • python
  • beaglebone_black
  • open_source
  • oshw
  • angstrom
  • ladyada
  • beagleboneblack
  • bbb
  • texas_intruments
  • sitara
  • open_hardware
  • bb_black
  • beagleboard
  • adafruit
  • open_source_hardware
  • linux
Related
Recommended

Adafruit 8x8 LED matrix controlled by BeagleBone Black

fustini
fustini
22 Nov 2013

image

Similar to my previous post on Interfacing BeagleBone Black with Adafruit 7-segment LED display, I have hooked up the Adafruit 8x8 LED matrix with I2C "backpack" .  This means the matrix is connected with just 4 wires (3.3VDC, GND, SDA, SCL) to the BeagleBone Black (e.g. BBB) which is mounted on the Adafruit BeagleBone Black Proto Plate :

image

And like with the 7-segment LED "backpack", the Python module that Adafruit wrote for the Raspberry Pi works with the BeagleBone Black as well (hooray for the common abstraction of Linux and Python image):

https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/blob/master/Adafruit_LEDBackpack/Adafruit_8x8.py

 

I shot a video of it running the Adafruit_8x8.py example program:

 

Adafruit 8x8 LED matrix controlled by BeagleBone - YouTube

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

 

I'm looking forward to putting this display to use in a project.

 

Cheers,

Drew

http://twitter.com/pdp7

  • Sign in to reply
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    It could be that the Adafruit BBIO library has not installed correctly

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Weird, the installation on the BBB (revB) from anofficial Debian image won't get it working :

     

    while

    python -c "import Adafruit_BBIO.GPIO as GPIO; print GPIO"

    is ok, any script is ending with :

     

    from Adafruit_8x8 import ColorEightByEight

    ImportError: No module named Adafruit_8x8

    is it only working on Angstrom ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fustini
    fustini over 11 years ago in reply to Instructorman

    Yup, this is just a small device so i2c works fine.  But the BBB is awesome at driving huge LED display.  It's two 200MHz microcontrollers (Programmable Real-Time Units e.g. PRU) can handle refreshing a RGB LED panel without using the ARM CPU resources.  Check out this project:

     

    Octoscroller (LED panel):

    http://beagleboard.org/blog/2013-10-22-project-spotlight-octoscroller/

    http://beagleboard.org/blog/2013-10-15-project-spotlight-disorient-pyramid/

    http://www.nycresistor.com/2013/09/12/octoscroller/

     

    Blinkiverse (LED strip):

    http://www.youtube.com/watch?v=0haLkuLknLY

     

    LEDScrape (LED strip):

    http://www.nycresistor.com/2013/07/27/ledscape/

     

    Paul of Teensy and DortBot PDX used BBB to control LED strips:

    http://www.youtube.com/watch?v=d-Vbtg_6yRg

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Instructorman
    Instructorman over 11 years ago

    Drew,

     

    I purchased a Beaglebone black with the intent of using it to drive LED strings based on the WS2811 RGB device.  I still want to do this, but the temptation to use a PIC was too strong (The Microchip PIC is my go-to device family for most embedded control problems).  So far I have been successful in getting a PIC18F4520 to drive the strings and produce interesting light patterns - well, interesting to me and my cat.

     

    Since you have demonstrated ability to get the Beaglebone to drive an LED matrix with I2C, I'm wondering if you have any advice on how to approach generating high speed pulse trains with the Beagelbone.  I need to generate at least 5760 pulses in rapid succession with no more than a few microseconds of delay between each 8-bit byte.  I'm pretty sure the Beaglebone can do this, but I don't have any experience with its development environment and am wondering where to concetrate my efforts.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fustini
    fustini over 11 years ago in reply to DAB

    I really like it when modules use standard interfaces like SPI or i2c.  I also like how Adafruit has developed Python GPIO library (PyBBIO) to act the same as the Pi GPIO library (RPi.GPIO) so that their Raspberry Pi Python examples work accross both.  And for I2C, Pi and BBB use the same Python module smbus.

    • 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 © 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