Page 1 of 1

Vad LED RX63N Figure 23: LED interface Change the LEDs intensity by changing the duty cycle. We want to use Timer TPU6 a

Posted: Mon May 09, 2022 7:35 am
by answerhappygod
Vad Led Rx63n Figure 23 Led Interface Change The Leds Intensity By Changing The Duty Cycle We Want To Use Timer Tpu6 A 1
Vad Led Rx63n Figure 23 Led Interface Change The Leds Intensity By Changing The Duty Cycle We Want To Use Timer Tpu6 A 1 (33.85 KiB) Viewed 22 times
Vad LED RX63N Figure 23: LED interface Change the LEDs intensity by changing the duty cycle. We want to use Timer TPU6 and PWM mode 1. 1. If Ydd is 3.3V and the LED has a voltage drop of 1.3V Calculate the resistor R required to have a current of 15mA. (5 marks) 2. Explain what would be the reason to use a transistor to drive the LED? (5 marks) 3. Give the 2 possible microcontroller pins that can be used to connect to the transistor's base (5 marks) 4. Write the initialisation of the timer to generate a 200Hz square wave with a 25% duty cycle. List all assumptions. Include the port initialisation. (15 marks) 5. Explain why we might be using a frequency as high as 200Hz to control the LED? (3 marks) (33 marks)