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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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