How to dim a string of LEDs driven by an HV9910 High Brightness LED Driver by interfacing it with the computer? (MATLAB)
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Abhay Mohan
2013년 9월 2일
0 개 추천
댓글 수: 4
Walter Roberson
2013년 9월 2일
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
2013년 9월 4일
Walter Roberson
2013년 9월 4일
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
2013년 9월 4일
카테고리
도움말 센터 및 File Exchange에서 Signal Generation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!