ECE 4180 Lab 4 "Revenge of the Mouse"

Overview

Simple game modeled after the 1991 game "Rodents Revenge". The goal of the game is to trap the cat (yellow square) with out being touched by it.

/media/uploads/eriklomas/file_001_-1-.jpeg

/media/uploads/eriklomas/file_000_-3-.jpeg

Components

  • Mbed Microcontroller
  • Analog Joystick
  • Class D Amplifier
  • Speaker
  • uLCD-1.44" LCD Display

Circuit

  • uLCD
LCD pinMbed Pin
+5VVU
RXp10
TXp9
GNDGND
RESP11
  • Class D Amplifier
mbedTPA2005D1Speaker
gndpwr - (gnd), in -
Vout(3.3V) or 5V pwr +
p26(any PWM or D/A)in +
out ++
out --
Any DigitalOut px(optional)S (low for shutdown)
  • Joystick
Joystick pinMbed Pin
+3.3V
-GND
Up22
Dp23
Rp21
Lp24
CP25

Program

Import program4180lab4

Revenge of the Mouse

/media/uploads/eriklomas/rodent.png


Please log in to post comments.