Vdd LED RX63N Figure Q3: LED interface Change the LEDs intensity by changing the duty cycle. We want to use Timer TPU6 a
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Vdd LED RX63N Figure Q3: LED interface Change the LEDs intensity by changing the duty cycle. We want to use Timer TPU6 a
Vdd LED RX63N Figure Q3: 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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!