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

  What is the propagation delay for the inverter

Two such inverters are connected in tandem and driven by an ideal input having zero rise and fall times. Calculate the time taken for the output voltage to complete its excursion for (a) a rising input and (b) a falling input. What is the propagat..

  What is the potential risk of euc hazards

What are Fire and Gas (F & G) detection and mitigation systems - why are F and G systems necessary

  What is their combined power factor

What is the rate at which the receiver boosts the main air supply during this period? Air temperature is 30°C, gas constant for air R=287 J/kgK - what would be the maximum pressure drop across it and What is their combined power factor.

  Question regarding the temperature of the mixture

In a shower, cold water at 10°C flowing at a rate of 5 kg/min is mixed with hot water at 60°C flowing at a rate of 2 kg/min. The exit temperature of the mixture is

  Determining the average velocity in the pipe

Water at 20°C is pumped at 1500 gal/min from the lower to the upper reservoir, as in Fig. P3.141. Pipe friction losses are approximated by hf ˜ 27V2 /(2g), where V is the average velocity in the pipe.

  Build digital logic circuit in the logisim simulator

1007ICT - Computer Systems and Networks - implementation for part must use only the three basic logic gates and you may use only the three basic logic gates (AND, OR, NOT) with maximum two inputs.

  Players and spectators wear the same clothes

Consider a tennis match in cold weather where both players and spectators wear the same clothes. Which group of people will feel colder? Why?

  What is the output voltage of the secondary

What would be the power in the secondary of a transformer that has a voltage of 48 VAC and a current of 2.2 A - what type of transformer is present and what is the output voltage of the secondary?

  Consider a fluid bounded by two parallel plates extended to

consider a fluid bounded by two parallel plates extended to infinity such that no end effects are encountered. the

  What extent were the cost overruns

Provide a comparison of the projects, what extent were the cost overruns and how were the overruns handled by the authorities.

  How many units should green thumb manufacture for sale

Does the following game has pure strategy nash equilibrium? Does it has mixed strategy nash equilibrium - How many units should Green Thumb manufacture for sale? What is the expected profit from this policy?

  Draw a block diagram of a processor

Draw a block diagram of a processor, memory, peripheral and DMA controller connected with a systemDraw a block diagram of a processor.

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