Fire Mbed Alpha

Creators: Jake Ramey, Julio Morales-Perez

Overview

Fire Mbed Alpha is an implementation of a player versus player lightweight version of Fire Emblem on a single mbed. Combat is simplified but does include the series's iconic weapon triangle. The game is controlled using an analog joystick similar to those found in PlayStation controllers and pushbuttons. A dc servo with a lump of duct-tape was wired up to create a makeshift rumbler for haptic feedback.

Parts

  1. uLCD-144-G2
  2. 3x pushbuttons
  3. Sparkfun Analog Joystick
  4. Standard DC Motor
  5. H-Bridge
  6. mbedLPC1768

Pin outs

uLCD Pinmbed Pin
+5vVU
RXp9
TXp10
GNDGND
RESp11
Analog Joystickmbed Pin
VccVOUT
VERTp18
HORZp19
SELp20
GNDGND
H-bridgembed Pinmini USB
breakout board
motor
VMVCC
VCCVOUT
GNDGNDGND
AO1+ lead
AO2- lead
PWMAp21
AIN2p25
AIN1p24
STBYVOUT

Pushbuttons

unit select pbmbed Pin
Top pinsp5
bottom pinsGND
end action pbmbed Pin
Top pinsp7
bottom pinsGND
end turn pbmbed Pin
Top pinsp8
bottom pinsGND

How to Play

Player take turns moving units and doing combat. The joystick stick is used to move the cursor and move units. Moving the analog stick towards an enemy will do combat. Blue units are player 1's. Red wolves are player 2's. /media/uploads/jaymp16/img_1220.mov Each unit is only allowed to move a set number of spaces based on class. Push button 5 selects the unit for movement. Push button 7 ends unit movement for when no combat has occurred. Push button 8 ends the player turn. After combat the mbed's USB serial port prints combat results to the computer. When the player tries to move onto a friendly unit or onto a impassable object, the motor vibrates.

/media/uploads/jaymp16/img_1219.jpg

Import programFire_Mbed

Jake Ramey Fire emblem mbed example


Please log in to post comments.