mgood13 / mgood13_Design_Skills_Project

Repository for the First Semester Design Project
0 stars 0 forks source link

LED Function #2

Open mgood13 opened 5 years ago

mgood13 commented 5 years ago

I have a question about LED function. In class you mentioned that the only way to vary LED brightness was by using PWM or something similar, but as I'm trying to make a circuit at home it seems like placing different resistors in series with an LED changes the brightness. Is there something I'm missing or misinterpreting about what you brought up in class?

mlp6 commented 5 years ago

You can modulate LED brightness by modulating current, but when using an MCU, that is not the desired way b/c most of our entry-level MCUs only provide digital output signals (even the analog output is just PWM with a LPF applied). If you have an elegant solution that involves current modulation, then it is fair game to use, but might involve some different types of complexity.