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

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the 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