Brick Breaker Game (uVGA and uLCD)

Overview

For this project a brick breaker game is designed. 2 versions of game are made. The components include a uLCD (uLCD-144-G2 128 by 128 Smart Color LCD), an IMU module (LSM9DS0) and a uVGAII module for display on the monitor. The program can display the game on both the monitor by VGA cable and the LCD screen. However, due to the VGA settings, the refreshing rate is slow so that the experience would not be the best. The player can tilt the breadboard to control the movement of the board which bounces the ball towards the bricks. The aim is to crack all of the bricks and you gain a success!

Picture

/media/uploads/fengspot/lab4_image.jpg fengspot/Desktop/lab4_image.JPG}}

Video Demo

  • LCD Display
  • VGA Display

Components

  • mbed LPC1768
  • uVGAII from 4D Systems
  • LMS9DS0 IMU
  • uLCD-144-G2 128 by 128 Smart Color LCD

Wiring

  • uVGAII
uVGAII pinmbed pin
TXp13
RXp14
5V5V = VU
GNDGND
RESETp11
  • IMU
IMU pinmbed pin
SCLp10
SDAp9
VDD3.3V = VOUT
GNDGND
  • uLCD
uLCD pinmbed pin
TXp10
RXp9
5V5V = VU
GNDGND
RESETp8

Program

Import programuVGA_4180

VGA Game

Import programuLCD_4180_mini

This is the code for LCD bouncing ball game.


Please log in to post comments.