★LED constant current drive to use:
1. Determine the operating current and maximum operating voltage that you need to drive the LED;
2. Adjust the constant voltage potentiometer, adjust the output voltage to 5V or so.
3. With the multimeter 10A current block output short-circuit current measurement, and adjust the constant current potentiometer to output current to reach the predetermined LED operating current;
4. Adjust the constant voltage potentiometer to make the output voltage reach the highest working voltage of LED;
5. Connect the LED, test machine.
(1,2,3,4 steps for the module input power, the output no load LED lights.)
★Communication Protocol Description:
1. This module has the function of communication with the computer. Can facilitate the computer to read the module current and voltage data,
2. As the output of the module is TTL level, to achieve and computer communications, but also the level of conversion back to the computer can identify the RS232 level, need to use this cp2102 usb transfer TTL moduleTo achieve the conversion.
3. The communication protocol is as follows:
Baud rate: 9600 Bps
BB CC ADDR 00 XX XX CRC (current return command)
BB CC ADDR 01 XX XX CRC (voltage return command)
among them
BB CC for the header (2 bytes)
ADDR is the module address (1 byte)
00 is a read current command (1 byt01 is the voltage read command (1 byte)
XX XX Any value (2 bytes)
CRC CRC check (1 byte)