Write an arduino sketch to read the values and send these

Assignment Help Other Engineering
Reference no: EM131286996

Microprocessor Lab Assignment

The lab work for this module requires you to familiarize yourself with the use of software, components, and modules listed below:

· Using the serial monitor to send data to Arduino
· Installing and setting up Processing software application
· Learning to send data from Arduino to Processing sketch
· Interfacing SPI 8 x 8 LED matrix
· Using the 4 digit 7 segment LED display
· Using the joystick controller

All the wiring and programming information is available in the textbook and/or at the resource links provided under Study Materials.

Please complete all the lab exercises given below and submit a report including a video demonstration. You will submit the report and video demonstration separately on the course website.

Report: The report should list all the major procedures required to complete each of the exercises.Here are the general guidelines for the report:

1. Cover Sheet: The lab report must include a completed cover sheet with your name, student ID number, the lab number, lab title, and submission date. Note: Your lab report will not be graded without a completed cover sheet.

2. Objective: A short paragraph stating the purpose (main ideas) of the experiment.

3. Procedure: At the beginning of this section, give a summary description of the procedures taken during the lab.

4. Discussion/Conclusion: State your understanding of this experiment. (What did you learn from these experiment?) State the challenges and problems faced, and measures taken to resolve these problems and overcome challenges.

5. Arduino Sketches: At the end of the report, please append the text of all the Arduino sketches you have developed. To do this, simply cut the entire text from the Arduino IDE editor window and paste it in the report document. Start on a fresh page for each sketch.

Video Demonstration: In this section, your video demonstration should provide a visual record of the results obtained in each exercise. Please start with recording a brief video clip giving your name, course number, and assignment number. Record a video clip for each activity according to the instructions provided. Use a video editor to combine all the clips into one video file before you submit/upload to the course website. For guidelines to record and merge video clips, check Record, Merge, and Upload Your Videos.

Exercise 1: Controlling the RGB LED from the computer using the serial monitor

In the previous module, you learned how to use an RGB LED. You have now learned how to send data to the Arduino board using the serial monitor. Combine these two to control the color produced by the RGB LED using R, G, and B values sent to Arduino using the serial monitor.

The video clip for this exercise should show the wiring of the experiment, sending of values using the serial monitor, and the resulting color displayed by the RGB LED. Please repeat for several different colors.

Exercise 2: Managing the Processing sketch based on values sent by a photoresistor

Wire the photoresistor, as you learned earlier. As you move your hand on top of it, the resistance will change and varying values will be produced by analogRead to the pin. Write an Arduino sketch to read the values and send these to the serial port. Write a Processing sketch to read the values and change color on the screen, following the example given in the textbook. Please also append a copy of your Processing sketch to your report.

The video clip for this exercise should show the wiring of the experiment and the changing of the color in the running Processing sketch as you move your hand on the photoresistor.

Exercise 3: Displaying joystick position on 8 x 8 LED Matrix

Wire the joystick and the 8 x 8 LED matrix display to the Arduino UNO. Write an Arduino sketch to read the position of the joystick, map it to the 8 x 8 space on the LED matrix, and turn on the corresponding LED. You will need to store the last lighted LED value so that you may turn it off before turning on the next one when the joystick is moved.

The video clip for this exercise should show the wiring of the experiment and the running display of the lighted LED as the joystick is moved in various directions. [MO4.1, MO4.2, MO4.5]

Use the Add submission button to submit your lab assignment.

Reference no: EM131286996

Questions Cloud

Write an argument about the topic i.e. a new kind of empire : Write an argument about the Topic i.e. A NEW KIND OF EMPIRE.ReWrite the given paper.
Regularly monitor the bop of the country : 1. Why should managers regularly monitor the BOP of the country in which their business operates? Use the USA and China as example for your response. Please cite your source.
Find the x and y components of deflection of node 1 : Assemble the stiffness matrix for the assemblage shown in Figure by superimposing the stiffness matrices of the springs. Here k is the stiffness of each spring.
Model of strategic management of human resources : Review the model of Strategic Management of Human Resources and describe how it impacts an organization. 3-5 Pages excluding cover page, abstract page, and reference page. Students need to support their work with at least 4 academic or professional..
Write an arduino sketch to read the values and send these : Write an Arduino sketch to read the values and send these to the serial port. Write a Processing sketch to read the values and change color on the screen, following the example given in the textbook.
Christian values of grand canyon university : How does the use of interdisciplinary teams reflect the christian values of Grand Canyon University. How would you support the mission as a team.
Determine the displacement of node 2 : For the plane truss structure shown in Figure, determine the displacement of node 2 using the stiffness method.
Conduct review and critique of advantages and drawbacks : You should research the subject of "green petrol" (or E10) and its introduction to the UK retail market, to conduct a review and critique of the advantages and drawbacks of such a new grade of petrol.
Approach to construct a probability distribution : 1. Use the relative frequency approach to construct a probability distribution and show that it satisfies the required condition. 2. Find the expected value of the number of tests taken.

Reviews

Write a Review

Other Engineering Questions & Answers

  What is meant by semi conductors

What is meant by semi conductors?Explain intrinsic and extrinsic semi conductor.Show the Diagrams of intrinsic semi conductor.Show the Diagrams of extrinsic semiconductors.

  Determine the loosening costs in the following situation

Determine the loosening costs in the following situation: Machine D11R Tractor with No. 11 single shank ripper in coal Rip spacing 1600mm

  Determine the shape of shafts and the size of shafts

Briefly describe the mechanisms involved in the excavation of rock - What parameters are used when determining the shape of shafts and the size of shafts?

  Exercise to assess the health of a brand

"A brand audit...is a more externally, consumer-focused exercise to assess the health of a brand, uncover its sources of brand equity and suggest ways to improve and leverage its equity.

  Determine the ammonium conversion in bioreactor

If ammonium conversion in bioreactor 1 is 70%, determine the ammonium conversion in bioreactor 2. determine whether the cell concentration in bioreactor I would be less than, equal to, or greater than the cell concentration in bioreactor 2

  Calculate the cost of shipping a package

ASSIGNMENT - ENG 2314 / ENG60104 - Write a MATLAB script that calculates the cost of shipping a package and how difficult a particular course is. A golfers handicap is calculated from a certain number N of their best handicap scores.

  Demonstrate the effect of oxygen transfer

In order to demonstrate the effect of oxygen transfer to tissue engineered constructs, Radisic et al proposed to carry out an experiment on a thick cylindrical porous scaffold with seeded cells.

  What is purpose of having a full-wave rectifier in circuit

What is the purpose of having a full-wave rectifier in the circuit? Discuss the impact of having the capacitor on the output voltage and the effect of additional load on the ripple voltage.

  What negative externality obtaining human food pose for bear

Aggressive bears present a threat to human safety and eventually must be destroyed or removed from the park. Please obey the law and do not allow bears or other wildlife to obtain human food. What negative externality does obtaining human food pos..

  How pwm is implemented with another processor such as intel

Examples of the various methods to achieve PWM with the Arduino. How PWM is implemented with another processor such as the Intel i7.

  What is the population equivalent of the waste

What is the population equivalent of the waste and what degree of treatment (% BOD satisfied) does this represent, assuming the plant influent to have a BOD5 of 250 mg/L

  What is the back pressure pr

The supersonic nozzle of Fig is over expanded (case G of Fig) with Ae/At = 3.0 and a stagnation pressure of 350 kPa. If the jet edge makes a 4° angle with the nozzle centerline, what is the back pressure pr in kPa?

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