How to dim a string of LEDs driven by an HV9910 High Brightness LED Driver by interfacing it with the computer? (MATLAB)
Afficher commentaires plus anciens
I'm driving a string of high power LEDs (~700 mA) using an HV9910 LED Driver.
The output current of HV9910 (and hence LED intensity) is controllable by an input PWM_D of the LED Driver. PWM_D pin needs an external PWM input whose duty cycle controls the LED intensity.
Can I use MATLAB to generate a PWM waveform and use one of the ports in my Laptop (USB/Ethernet/Audio) to send this waveform to the LED driver? I saw somewhere that computer ports do not support the bandwidth required for PWM signals. But can't I just send a sequence of binary data as PWM? Eg:
11000000 for a duty cycle of 1/4?
I'm a newbie when it comes to interfacing. Thus please forgive anything idiotic I may have said here.
Sincerely,
Abhay Mohan
Réponse acceptée
Plus de réponses (1)
Abhay Mohan
le 2 Sep 2013
0 votes
4 commentaires
Walter Roberson
le 2 Sep 2013
If the signals are digital, then yes they could be MUX'd. But you would need to read the digital signal somehow. How were you planning to transport the signal to the system that is running MATLAB ?
Have you considered using something like a NI DAQ card, together with the Data Acquisition Toolbox ?
Abhay Mohan
le 4 Sep 2013
Walter Roberson
le 4 Sep 2013
How closely do you need the signals to be time-stamped (or are you just going to process them as they come through)? What frequency of updates do you need? What latency is acceptable ? How were you thinking of triggering the selection of the multiplex channel ?
Abhay Mohan
le 4 Sep 2013
Catégories
En savoir plus sur Signal Generation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!