Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

Microcomputers Lab: Exploring PWM

Objectives: To gain a better understanding of Pulse Width Modulation.

What you will need: Arduino UNO, Analog Discovery Kit (ADK), LU EE Component Kit, jump wires, a computer with installed Arduino IDE and ADK.

Assignment:

1. Connect an LED to PWM pin 10. Use an appropriate resistor. Connect the oscilloscope channel 1 of Analog Discovery kit (ADK) to the same Arduino pin. Connect together grounds of Arduino and ADK.

2. Open "Fade" example from "Basics" and modify it for the pin 10. Upload the sketch to Arduino and observe the LED fading in.

3. Modify the sketch so that the LED would fade slower, start the ADK's oscilloscope and observe the voltage on the pin.

4. Adjust the scope's time base so that you would see a train of pulses. Take screenshots for two different pulse durations. Connect a 4.7 µF capacitor in parallel to the LED. Are there any changes in the pulses' shape? Take a screenshot and then remove the capacitor.

5. Adjust the scope's time base so that you would see a signal resembling a sawtooth. Take a screenshot.  Connect a 220 µF capacitor in parallel to the LED. Take a screenshot and then remove the capacitor.

6. Write a code that would modify the LED brightness according to a low-frequency sinusoid. Observe the corresponding voltage waveform on the scope, take a screenshot.

In your report:

1. Report the screenshots you have collected. Based on your observations, what do you conclude regarding the PWM operation?

2. Report the code you produced in 6. Comment on it.

3. Can you propose any ways to make the PWM digital signal closer to the analog signal?

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M92059670

Have any Question? 


Related Questions in Other Engineering

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Engineering analysis homework -for every problem provide

Engineering Analysis Homework - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Write a script that solves the problem. For (c), show results of the evaluation of every ind ...

Engineering analysis assignment -for every problem provide

Engineering Analysis Assignment - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Plot the function f(t) = (x+5) 2 /(4+3x 2 ) for -3 ≤ x ≤ 5. using plot command. Use the ar ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Question - show that the zero-point energy of a simple

Question - Show that the zero-point energy of a simple harmonic oscillator does not contribute to its entropy or heat capacity, but does contribute to its energy and Helmholtz function.

Mine safety amp environmental engineeringpart 1 questions1

Mine Safety & Environmental Engineering Part 1. Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the following terms ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

Projection of planes1 a regular pentagon of 25 mm side has

Projection of Planes 1. A regular pentagon of 25 mm side has one side on the ground. Its plane is inclined at 45° to H.P. and perpendicular to the V.P. Draw its projections. 2. Draw the projection of a circle of 50 mm di ...

Assignment -problem 1 - given is the lcc difference

Assignment - Problem 1 - Given is the LCC difference equation that represents some LTI system: y(n) - ¾y(n-1) - ¼y(n-2) = x(n) + x(n-1)   a) Find the impulse response of the system (solve the LCCDE). b) Draw a block diag ...

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As