Difference between revisions of "ECE497 Project DotRun"

From eLinux.org
Jump to: navigation, search
Line 57: Line 57:
Buttons are wired to gpio pins(GPIO_20 and GPIO_7) and VCC.
Buttons are wired to gpio pins(GPIO_20 and GPIO_7) and VCC.
2. LED Matrix
2. LED Matrix

Revision as of 12:53, 18 November 2013

thumb‎ Embedded Linux Class by Mark A. Yoder

Team members: Yang Liu, Yuxuan Zeng

Grading Template

I'm using the following template to grade. Each slot is 10 points. 0 = Missing, 5=OK, 10=Wow!

09 Executive Summary - Good, nice picture
00 Installation Instructions - Not done
08 User Instructions
00 Highlights - Not done
00 Theory of Operation
00 Work Breakdown
00 Future Work
00 Conclusions
00 Demo
00 Late
Comments: I'm looking forward to seeing this.

Score:  10/100

(Inline Comment)

Executive Summary

Image.jpeg (Nice picture) This project is an electrical game on a 16*24 LED matrix playing with two buttons.There is a dot in the central of matrix and bars coming from right or left side of matrix. You can control the dot to move up and down to avoid the bars by clicking the buttons. Clicking on buttons will cause a voltage change on gpio pins, which will result the movement of dot. Bars are generated according to several patterns. The longer the game lasts, the faster bars are generated and the higher the score you get.


To build up the hardware of this project, you need parts as follows:

Parts Quantity
BeagleBone Black 1
Adafruit's 16x24 Red LED Matrix Panel 1
buttons 2
220 ohm Resistors 2
wires some

My BBB is running v3.8.13 Linux. And the LED Matrix uses the HT1632C LED driver.

Installation Instructions


1. buttons

Buttons are wired to gpio pins(GPIO_20 and GPIO_7) and VCC. 500px

2. LED Matrix

BBB Pins Panel Pins(wire color)
3 (VDD_3V3EXP) CS0
15 (R13/GPIO1_16) WR
23 (V14/GPIO1_17) GND
12 (A14/GPIO1_28) DATA

Reference: http://elinux.org/Adafruit:_16x24_Red_LED_Matrix_Panel

Software requirements:

get source on BeagleBone and make

beagle$ git clone git@github.com:yuxuanzeng/project.git
beagle$ cd project
beagle$ make

Then you can run the program by

beagle$ ./matrix16x24

User Instructions

Use the two buttons to control the dot run up or down. If the dot hit the bars, game over. The longer you survive, the higher score you get.


Here is where you brag about what your project can do.

Include a YouTube demo.

Theory of Operation

Give a high level overview of the structure of your software. Are you using GStreamer? Show a diagram of the pipeline. Are you running multiple tasks? Show what they do and how they interact.

Work Breakdown

List the major tasks in your project and who did what.

Also list here what doesn't work yet and when you think it will be finished and who is finishing it.

Future Work

The project can be improved by adding properties as follows:

1. Rebuild the software so that when you hold the button down, the dot keeps moving. At present the dot responses upon click, which means if you want to make the dot keeps moving, you have to click the button continuously.

2. Building a gravity sensor to control the dot instead of buttons. That will be more fun.


Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.

thumb‎ Embedded Linux Class by Mark A. Yoder