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.:- M92181658

Have any Question?


Related Questions in Other Engineering

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

Homework - risk and decision management1 you are working

Homework - Risk and Decision Management 1) You are working program X. The total budget allocated to the program is $100 M and it is to be completed in 24 mo. range (R) and passenger capacity (C) are two key performance p ...

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.

Load fault level analysis amp protection design of a remote

LOAD, FAULT LEVEL ANALYSIS & PROTECTION DESIGN OF A REMOTE AREA MICROGRID Assignment Please undertake the following analyses: 1. Calculate the 3-phase fault levels on Bus 2, Bus 3 and Bus 4 with the main supply connected ...

Introduction to engineering design assignment -

Introduction to Engineering Design Assignment - Drafting Question 1 - Field notes and traverse drawing may be an outdated form of keeping and presenting information on the position of features on a site. Modern electroni ...

Assignment 11 what is the purpose of ore reserve and

ASSIGNMENT 1 1. What is the purpose of ore reserve and resource estimation? Why are resource and reserve estimates important to the mining industry? 2. What is meant by ore? What is meant by the term waste? How is the di ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

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 ...

Question 1 define rock mechanics discuss the main

Question 1 . Define rock mechanics. Discuss the main objectives of the application of rock mechanics in mining. Question 2. Define stress. Draw a diagram and define the normal and shear stress by resolving the resultant ...

Q 1a discontinuity is found fully developed from the toe to

Q. 1 A discontinuity is found fully developed from the toe to the bench surface on a 15 m high slope, slope angle 65°. The discontinuity (frictional angle 32° and cohesion 20 kN/m2) is planar and its strike is parallel t ...

  • 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