Borrar filtros
Borrar filtros

Control brightness of LED with PWM using TI C2000

5 visualizaciones (últimos 30 días)
Michail Tzanis
Michail Tzanis el 26 de Feb. de 2019
Respondida: Munish Raj el 4 de Mzo. de 2019
Hi there,
I am quiet new on Simulink and I am trying to familiarise myself with PWM. Does anyone know how to control the brightness of an LED with PWM using a Texas Instruments Delfino Microcontroller? Thank you in advance.
Michail

Respuesta aceptada

Munish Raj
Munish Raj el 4 de Mzo. de 2019
Hello Michali,
The PWM block in simulink can be used for this purpose.
The input for this block can be any number from 0-255, depending on how bright you want the LED to glow.
0 being the least bright, and 255 , the maximum brightness.
The pin in the PWM block is hte pin where the LED is connected to in yout Microcontroller.
Remember to connect a resistor in serieis with the LED.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by