Building a simple memory and co-ordination toy

Assignment Help Other Engineering
Reference no: EM131477131

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: EM131477131

Questions Cloud

Find the annual returns of two assets : Below you will find the annual returns of two assets. Fill in the blanks and graph the returns of the portfolios (rows 13-27).
What can you say about rates of obesity and related to place : What can you say about rates of obesity, related to place, over time? How do parents factor into rise in childhood obesity rates, when considering information?
Read a current article which addresses a social media market : This assignment requires you to locate, and read a current article (no more then one year old), which addresses a social media marketing topic.
Calculate the highlaighted cells : Here is data on the stock prices and returns of General Electric, Boeing and S&P 500 index.
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
Explaining how the global financial crisis : Explaining how the Global Financial Crisis [GFC] has had a significant impact on 1) the stability and interconnectedness of international financial markets and economies
Create two generative strategies : Based on sequencing strategy created for your project, create two generative strategies. Specify generative category used and explain rationale for selection.
Describe at least five visual cues from the peer-reviewed : From the sources you summarized, list and explain at least five visual cues from the peer-reviewed, scholarly source that were not evident in the popular sourc
What should be the company share price : It is 1 January 2005, and you are interested in finding the cost of equity rE of your company. After a quick search you have found the following data.

Reviews

len1477131

4/28/2017 3:15:22 AM

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.

Write a Review

Other Engineering Questions & Answers

  Comment briefly on the management of these risks by society

Read the provided paper by Paul Slovic and write a critical summary of his point of view. A critical summary includes your own views on the subject matter

  Estimate the return period for a discharge

Estimate (1) the return period for a discharge of 800,OOO cfs, (2) the discharge associated with a return period of 200 years, and (3) the discharge associated with a return period of 50 years.

  Topographic analysis and feature space and classification

Topographic analysis and Feature Space and Classification - introduce basic analysis tools for DEM data and allows you to visualize remotely-sensed data using a pseudo-3D or 2.5D view.

  Define kirchoffs first and second laws

Determine the characteristic curves for the fan and define Kirchoffs first and second laws - determine the pressure to be developed by a single mine fan to ventilate the workings.

  Digital conditioning discussion

Using the internet, find a product description and datasheet for a digital processing device which is mentioned in your text (ADC, DAC, PLC, or DAS).

  Personal narrative essay - the purpose-inspired life

"This is the true joy in life, being used for a purpose recognized by yourself as a mighty one, being thoroughly worn out before you are thrown on the scrap heap, being a force of nature instead of a feverish little clod of ailments and grievances..

  Compute the critical edge load for a plate

Compute the critical edge load NxCR for a plate simply supported around the boundary, with length a = 2 m (along x), width b = 1 m, t = 1 cm.

  Made about the invention of the internet

1. Did you ever wonder how traffic lights detect your presence? Perform a web search and explain in a few sentences how traffic lights "know" the presence of car that is waiting for the light to change.

  Determine length and actual ratios for hydraulic radius

If np = 0.018, determine nm based on the actual Rr and compare with a value calculated assuming that Rr = Yr.

  Managing information and technology

Managing Information and Technology

  Compute the fiber weight fraction wf

The amount of fibers in a composite sample can be determined by a burn-out test.- Compute the fiber weight fraction WFand matrix weight fraction WM.

  Formulate the above problem mathematically and formulate

problem 1 the board of directors of general wheels co. is considering seven large capital investments. each investment

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