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

Questions Cloud

Discuss how the over valuation of properties contributed : Discuss how the over valuation of properties contributed to the housing bubble associated with the financial crisis of 2007-2008 and how CRAs.
Transport fans to future games : The Hawkeye Charter Inc., (HCI) has decided to acquire a new bus to transport fans to future games away from Iowa City
Review the case - sequential tests of educational progress : Select two tests about which to write your review. The first test must be selected from List A and the second test must be selected from List B.
Explain how you will integrate lean operations : Identify the tools, techniques, and technologies used in the design of your production plan and explain how you will integrate lean operations and lean services in your production plan.
Building a simple memory and co-ordination toy : This assignment is concerned with building a simple memory and co-ordination toy using the STM32F3 Discovery board. The initial sequence will show 3 LEDs
Financial analysis with microsoft excel : Filter the dates so that only the last five years area displayed in the pivot table and pivot chart. This will require a custom date filter.
Shares of commonwealth bank of australia : Invest $4000 in the shares of Commonwealth Bank of Australia (listing code: CBA.AX) and $6000 in the shares of Myer Holdings Ltd (listing code: MYR.AX).
Does your state lean republican or democrat : Describe your state. What are its major cities? Is it predominantly rural or urban? Does your state have important industry, finance, and tourist centers?
Describe how credit risk embedded in corporate debt : Summarize three measures that the ISDA undertook to mitigate the credit risk inherent in OTC derivatives.

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

Computer Engineering Questions & Answers

  Is snort an hids or an nids

What kind of file is Snort output (logging info) stored in? 7. Can you use Snort with network switches? With hubs? 8. What operating system(s) does Snort run on?

  Make use of automated tools to check web site

make Use of automated tools to check Web site: you can validate your site compliance with HTML/CSS/Dublin Core metadata standards and broken links.

  Describe what hacking of memory or hacking of ram means

Describe what hacking of memory or hacking of RAM means. Examine the common tools that hackers use to hack into memory of computing devices. Detail two (2) real-life examples of such tools in action.

  Common runtime libraries such as visual studio.net

should C++ programming language be extended to contain an XML editor and parser as is the case for the Java® programming language, or should this be built into the Integrated Development Environment (IDE) that supports the programming language?

  Find a longest sequence of data entries to insert

COMPUTER SCIENCE 5443 - find a longest sequence of data entries to insert, so that there is not split of any bucket and find a shortest sequence of data entries to insert, so that each of the four buckets is split exactly once.

  What are the security and privacy risks and vulnerabilities

What are the security and privacy risks and vulnerabilities in using the Internet? List some specific common attack strategies and describe how they work and their effects/consequences on the security and privacy.

  Give an example of a nonporous item and what method you

1.give an example of a nonporous item and what method you would use to process it. where might you expect to find

  You have been hired by tmi to design an application using

you have been hired by tmi to design an application using shell script programs. tmi case projects needs you to design

  Develop a schematic for a printer controller

Repeat Problem, assuming that the printer has a buffer that can hold 80 characters. Printing is activated only when the buffer is full.

  Translates a subset of mips instruction set to machine code

In this part of the project, we will be writing an assembler that translates a subset of the MIPS instruction set to machine code. Our assembler is a two-pass assembler similar to the one described

  What mind-set does analyst need to work on such an approach

Could this be done differently, such as through JAD sessions or having the users review the program on a weekly basis. What mind-set does an analyst need to work on such an approach?

  Create a 10-integer array called data

Prepare a C++ program to - Create a 10-integer array called data

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