CopyCat

Introduction

CopyCat is a simple game that requires you to copy a random sequence presented to you via 4 coloured LED’s.  You copy the sequence by pressing buttons beneath the LED’s.  The game runs on a TIMSP430G2553 and is easily assembled on a breadboard as the steps below will show.

Component list

  • Pre programmed MSP430G2553
  • Breadboard
  • 4 x buttons
  • 4 x 330 Ohm resistors
  • 1 10k Ohm resistors
  • 1 x yellow led
  • 1 x green led
  • 1 x red led
  • 1 x blue led
  • Piezo buzzer RS 238-000
  • 2 x 40mm Yellow single core wire
  • 2 x 40mm Green single core wire
  • 2 x 40mm Red single core wire
  • 2 x 40mm Blue single core wire
  • 5 x 20mm Black single core wire
  • 1 x 60mm Red single core wire
  • 2 cell AA or AAA battery holder
  • Batteries for above

Instructions

The pictures below should guide you through the assembly process.  High resolution (zoomable) versions of the images are available by clicking the link beneath each image.  The breadboard is marked in a grid using letters for rows and numbers for columns.  Components should be placed in the rows and columns shown in the images.  Before you start, make sure the red rail is at the top.

img_20161119_210612054

Click here for high resolution version

The first step is to add the pre-program TIMSP430 microcontroller to the breadboard as shown above.  One end of the micro has a dimple on it indicated by the biro.  Make sure the leftmost pins are in column 20.

img_20161119_210544815

Click here for high resolution version

The buttons go in next as shown above.

img_20161119_210526229

Click here for high resolution version

Now put the LED’s in:  It’s not easy to tell which way around they go in or indeed what colour they are.  Don’t worry too much about this just yet, this can be sorted out when the rest of the circuit is built.

img_20161119_210501739

Click here for high resolution version

Add the resistors next.  There are 5 altogether.  Four of them have colour bands Orange,Orange, Brown.  These connect to the LED’s as shown.  The other one is placed between Row A, Column 16 and the red rail at top of the board.

img_20161119_210445538

Click here for high resolution version

You should now place the 5 short black wires in the board as shown above

img_20161119_210426201

Click here for high resolution version

The Yellow, Green, Red and Blue wires go in now.  They connect the buttons to the microcontroller.

img_20161119_210409324

Click here for high resolution version

The corresponding wires are now added to connect the LED’s to the microcontroller.

img_20161119_210350159

Click here for high resolution version

You should now add the piezo electric speaker to your circuit.  It should be plugged in to row B, column 15 and 14.

img_20161119_210337458

Click here for high resolution version

Finally, add the battery pack.  Be very careful to plug the red wire in to the read rail and the black wire in to the blue rail.

Enjoy the game!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s