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
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 pin | mbed pin |
---|---|
TX | p13 |
RX | p14 |
5V | 5V = VU |
GND | GND |
RESET | p11 |
- IMU
IMU pin | mbed pin |
---|---|
SCL | p10 |
SDA | p9 |
VDD | 3.3V = VOUT |
GND | GND |
- uLCD
uLCD pin | mbed pin |
---|---|
TX | p10 |
RX | p9 |
5V | 5V = VU |
GND | GND |
RESET | p8 |
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.