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

  Compare to the output of the calculator to actual survives

Compare to the output of the calculator to actual survives that's been conducted on building that's used renewables energy in Ireland to ensure the quality of work.

  Effect on the top event frequency

Describes briefly the safety procedure that should be implemented prior to entering a vessel and describes the main requirments of any documentation that could accompany vessel entry particularly with reference to certificates or permits

  Draw a circuit diagram illustrating the pmos implementation

E15: Fundamentals of Digital Systems - Fall 2015 - HOMEWORK 9. What Boolean AND-OR-INVERT (AOI) expression does the circuit implement, in terms of the variables A, B, and C? Draw a circuit diagram illustrating the PMOS implementation of this AOI circ..

  Why are line losses for hvdc cables

Why are line losses for HVDC cables lower than those of ac cables with similar capacity - What are the characteristics of those locations that prompted the installation of back-to-back HVDC links?

  Make a power point presentation on insulator

Make a power point presentation with the topics suggested below. Insulator Properties of Insulating Material Insulating Materials for Cables

  Multisim single frequency analysis

Construct the circuit with MultiSIM using a 5% tolerance for the resistor and the capacitor. Adjust the frequency according to the table below and obtain measurements from MultiSIM using AC Analysis and express in polar form.

  Calculate maximum efficiency of solar distillation system

From the calculated heat transfer rate of the evaporating water, calculate the maximum efficiency of the solar distillation system on a 1 m2 piece of glass for a solar flux of 800 W/m2. This is a maximum, because the vapor pressure of sea water is ..

  What pressure does she exert on the floor

A 50.0-kg woman balances on one heel of a pair of high heeled shoes. If the heel is circular and has a radius of 0.500 cm, what pressure does she exert on the floor?

  Importance of standards in networking technology

Question 1: Explain how antenna polarization can affect the reception of RF signals. Question 2: Discuss the importance of standards in networking technology and in communications in general. Evaluate how standards have helped to shape commonly us..

  What is the average annual rainfall

Assignment - AWBM modelling - what is the average annual rainfall, evapotranspiration and observed runoff for the Jardine River?

  Average radius of the pipe

Then they release a dye in the water at point A and find that it takes 88.8s to reach point B. What is the average radius of the pipe within thehill?

  Liquid of unknown density pf

A right circular cone of base radius R, height H, and known density ps floats base down in a liquid of unknown density pf. A height h of the cone is above the liquid surface.

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