Thursday, December 19, 2013

Beaglebone Black GPIO - 8x8 LED Matrix with C Program - Part1

I made an 8x8 LED matrix circuit to work with GPIO pins on Beaglebone Black.

STEP-1 : Make LED matrix board with the following circuit:

Components Required:
1. Breadboard PCB or General PCB - 01
2. 3mm RED LED's - 64
3. 330 Ohms Resistors - 08
4. Male/Female Header - 01
5. Male/Female Jumper wires - 16
Note: If you don't want to make circuit you can use a standard 8x8 dot matrix module buy from local electronic shops or buy online.

Beaglebone Black: Connect all ROWS to Port_8 on  Pins 11 to 18 and all COLUMNS to Port_8 pins 3 to 10 using Jumper wires.

This application is tested on Beaglebone Black running Angstrom OS

Note: To use these GPIO pins you need to disable onboard emmc and HDMI port. 

STEP-2 :Disabling on-board emmc and HDMI port:
  • Connect Beaglebone Black to PC with USB cable. wait for storage media to initialize.
  • Go to My Computer and open "BEAGLEBONE" storage media.
  • Navigate the file "uEnv.txt" and open in text editor.
  • Paste this following line:  
 optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G 


  • Save & Close the file, restart Beaglebone
                                                                                                See Part2 - To be Continued

No comments:

Post a Comment