Building a simple memory and co-ordination toy

Assignment Help Computer Engineering
Reference no: EM131478505

This assignment is concerned with building a simple memory and co-ordination toy using the STM32F3 Discovery board

The board should do the following:

When powered on, the 8 LEDs should spin in a circle until the blue button is pressed.

When the button is pressed, a random sequence of LEDs will light up. Only LD3, LD7, LD10, and LD6 (PE9, PE11, PE13 and PE15) can be in the sequence and each LED in the sequence must be different to the previous one. Each LED must be lit for 500ms. The sequence cannot be the same each time the program is run.

After the sequence has been played, the user has to tip the board to recreate it. Initially all the LEDS will be off. One of the 4 LEDs will light up when the board is tipped towards it (use a threshold of 200 in the x and y direction from the accelerometer with a 2G full scale sensitivity). When the accelerometer detects that the board has been tipped towards an led for more than 500ms it will go off. If it is the correct LED for the sequence, the next LED in the sequence will be detected until they are all correct. If an incorrect LED is detected, the correct LED will be lit for 500ms and the toy will return to the initial spinning loop.

The initial sequence will show 3 LEDs, if the sequence is recreated correctly, a sequence of 4 LEDs will be shown, then 5, then 6 and finally 7. If the user recreates a 7 LED sequence, all the LEDs will flash repeatedly on and off for 200ms until the button is pressed.

You must submit a single file which will compile using the online mbed compiler.

Attachment:- Assignment File.rar

Reference no: EM131478505

Fuzzy system for forecasting electricity price

A Fuzzy System for Forecasting Electricity Price - Develop a fuzzy forecasting system using Matlab Toolbox. The system performs a forecasting task for power marketing price.

Write the boolean function as boolean algebra

Write the Boolean function as Boolean algebra terms. First, think about how to deal with the two outputs. Then, describe each single row in terms of Boolean al

Developing programs via functional decomposition and pointer

CSCI251/851 Advanced Programming Developing programs via functional decomposition and pointers.On completion you should know how to design a program by decomposing the problem

3d animation using in object modelling and methods

Ngaruwahia Golf Course sits on the banks of the mighty Waikato River. This club is an easy 10 minutes' drive north of Hamilton and an hour's drive south of central Auckland

Implement a prototype

KIT205 Data Structures and Algorithms - Assignment 1: Data Structures Implement basic program functionality for a console driven application - Implement and test a linked list

Implementation of the spacecraft feature

Assignment 1: The Diamonds of Doom - Discuss and brain-storm with your associates, you must ensure that your submission is your own individual work - implementation of the "Sp

Determine a discrete-time transfer function

Determine a discrete-time transfer function that approximates G(8) using the Adams-Schlumberger predictor as an operational substitution method. You may use a computer algeb

What is relationship between size and complexity and testing

What is the relationship between Size and Complexity and Testing? Do you agree: Better Code Coverage means better quality?  Based on the article what are the techniques that c

Reviews

len1478505

4/29/2017 5:04:40 AM

Assignment Work with following details. Subject: computer architecture. Need help on my assignment. The connections to the VGA cable are described in comments at the start of video.c. Marks will be awarded for well written programs which correctly implement the toy or asteroids game. Use comments in your code to document it. Marks will be subtracted for plagiarism, late submission and bad documentation. If you want a more challenging assignment 3 and have a VGA cable and monitor, as an alternative to the above you can submit a port of the classic arcade game, Asteroids.

Write a Review

 
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd