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

  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