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

  Find wave functions and energy spectrum of the particle

Find the wave functions and the energy spectrum of the particle and calculate the average velocity of a Maxwell-Boltzmann distribution.

  Production data analysis

Objective of this task is to collect and obtain information on variables of interest in a systematic way to prepare the required data for studying the decline rates of Bakken wells.

  Background about supercapacitors

Need 200 words of background about supercapacitors and another 200 about regeneration and another 200 about solar cars. 100 words of aims and objectives from Utilise supercapacitors and regeneration of solar cars and 100 words about the method of ..

  Derive a circuit that implements the boolean function

The MOS transistor is bilateral, i.e., current may flow from source to drain or from drain to source. Using this property, derive a circuit that implements the Boolean function

  Write a paper about digital tools and effective strategies

Write a paper about Digital Tools and Effective Strategies for Engaging the Adult Learner by David Jones.

  If the coil terminals are energized for 8 seconds how long

A delay-on (TON) relay has a preset of 5.0 seconds. If the coil terminals are energized for8.0 seconds, how long will its contacts be actuated? If a delay-on (TON) relay with a preset of 5.0 seconds is energized for 3 seconds, how longwill its contac..

  Pipelining process for a simple set of mips instructions

CDA3101 Project: Pipeline Simulator.  The primary purpose of this project is to help you understand the pipelining process for a simple set of MIPS instructions. You will gain experience with basic pipelining principles, as well as the hazard cont..

  Importance of kanban in manufacturing systems

Write 4 page paper on the importance of Kanban in manufacturing systems

  Design a silicon semiconductor resistor

I. Design a silicon semiconductor resistor. with resistance between 6-10 kn. in the shape of a recungular bar. Assume this resistor will be used in an integrated circuit and therefore a small size is necessary as well as operation.

  Consider the parallel inductive reactive circuit

Consider the parallel inductive reactive circuit below. Calculate the following: (Express all answers in magnitude/phase angle form)

  Theoretical analysis of the rectifier diode

To analyze the characteristics of voltage regulation (zener diode and voltage regulator) using theoretical, simulation, and physical construction of the circuit.

  Why is there no original and current plan

Why is there no original and current plan shown for the MTBF TPM - what went wrong with the range performance? As the lead systems engineer, what should you have done to recognize and avert the problem shown by the data in this TPM? And when should..

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