Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An embedded system is required to vary the brightness of an LED depending on the position of a variable resistor (potentiometer). Pulse width modulation should

image text in transcribed

An embedded system is required to vary the brightness of an LED depending on the position of a variable resistor (potentiometer). Pulse width modulation should be used to vary the brightness and an ADC to determine the potentiometer position. The program is to be a cyclic system. (i) Suggest, with a brief explanation, approximate values suitable for this application of the following parameters: the PWM modulation frequency, the number of different brightness levels, the number of different duty cycle values and the ADC resolution. (ii) Describe the peripherals and parts of the program (tasks, ISR etc) you would use to implement this application, explaining both how the how the different program parts interact and how the peripherals are used. (iii) The PWM peripheral uses a 16 bit counter. Suggest a suitable frequency for clocking this counter, based on the parameters suggested above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions