digital mastermind

Post on 24-Feb-2016

204 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Digital Mastermind. Jose Amanse Jr. Maria Erika Aranas Mija Darlene Cu Melissa Rellosa ELC 111 C Mr. Tristan Calasanz. Project Specification. Digital Mastermind is a game that enables the user to guess a combination of four decimal digits, translated into four binary bits - PowerPoint PPT Presentation

TRANSCRIPT

Digital Mastermind

Jose Amanse Jr.Maria Erika AranasMija Darlene CuMelissa Rellosa

ELC 111 CMr. Tristan Calasanz

Project SpecificationDigital Mastermind is a game that

enables the user to guess a combination of four decimal digits, translated into four binary bits

Output shows a series of lighted bulbs each signifying a combination of correct number and position of the keyed guesses.

Game InterfaceLEDs

Blue:correct position and numberGreen: correct number, wrong position

Nine Numbers: Four Reference Inputs

Four Guess Inputs

Parts of the Circuit InputComparatorOutput

Input Schematic of Input to Memory Electronic WorkBench EWB Simulation

To simulate please press space once then B twice then put to low one of your inputs, press space, twice B, then input. Repeat last two steps until the last LED in the Serial-in-Parallel-out is lighted.

First four inputs are for the Reference code Last four inputs are for the Guess code This simulation should be done with an EWB Software Open File input2memory.ewb

Aissa’s Writeup Jun’s Writeup

Back

InputClick here for a More Detailed Schematic

Back

Comparator Schematic of Comparator EWB Simulation

Given the Reference input 0 (1111), 2 (1011), 8 (1110), 4 (1101). Inputs refer to the truth table of 74LS147

Given the Guess input 2 (1011), 2 (1011), 8 (1110), 7 (0001). Press 1 twice then if LED lights up, the two numbers

compared at that time are different. To finish all 16 comparisons, press 1 twice until all LEDs in

the binary counter outputs light up. Open file comparator.ewb

Erika’s Writeup

Back

ComparatorClick here for a More Detailed Schematic

Back

Output Schematic of Serial to Parallel Output EWB Simulation

Press C twice and then 1 twice Repeat until the binary counter reaches its maximum count

(Don’t Forget to Press CC after this!) Blue LED correspond to right number, right position Green LED correspond to right number, wrong position For the given code(see comparator) the output has two blue

LEDs lighted up. Open File comparator2output.ewb

Yammy’s Writeup

Serial to Parallel Output

Click here for a More Detailed Schematic

Actual Circuit Input

Comparator

Serial to Parallel Output

Actual CircuitClick here for a Detailed

Schematic

Click here for EWB Schematic

AcknowledgementsSir Tris, Sir Oppus, Sir AlbertMang SonnyJohn LargoApril CalarMarvy de Guzman

top related