Last Updated on : 2024-11-20 08:51:37download
The BP5758D is a 5-channel dimmable linear constant-current LED driver with high-precision from the manufacturer Bright Power Semiconductor.
Features:
The two pins of the I2C bus are integrated with a 15 kΩ pull-up resistor respectively. Because the freewheeling current is small, you need to add an external 4.7 kΩ pull-up resistor to the circuit.
The communication protocol used by the BP5758 is not strictly the I2C protocol. Therefore, the sender should wait for an acknowledgment after transmitting each byte.
BP5758 supports direct bit addressing after byte 0. The lower 4 bits of byte 0 can be the start address. You can set the lower 4 bits to 0110
to directly skip byte 1 to byte 6.
You can set the parameters such as current enablement, the maximum current, and the current range on the first-time initialization. This way, you can only set the greyscale value on the subsequent initialization. The following diagram shows the process.
Log in to the Tuya Developer Platform.
Click Create.
Click the Standard Category tab and choose Lighting > Light Source.
Choose TuyaOS > No-Code Development. For protocol, choose Wi-Fi-Bluetooth and then select an RGB, RGBC, or RGBCW light.
Complete the required information and click Create.
Configure Function Definition and Device Panel as needed.
For more information, see Product Functions and Design App UI.
Under the Hardware Development tab, select CBU Wi-Fi & Bluetooth Module.
In the Product Hardware Configure, choose BP5758D for the Product Drive Mode.
For more information, see Select and Manage the Firmware Version.
Configure parameters for the driver.
The dropout speed of BP5758D is faster than that of the module. Therefore, at the moment of power off, the module is not turned off actually. At this time, as the light is powered on, the BP5758D is reset. However, the module is not reset simultaneously so the register on the BP5758D is not configured. The BP5758D cannot run so the light does not come on. In this case, even though the light shows online in the mobile app, the control commands sent from the app do not work.
You can increase the speed of module discharging to ensure the dropout speed of the module is quicker than that of the BP5758D. Regarding the firmware, the module needs to configure the register on BP5758D before each data transmission.
Check if you correctly configure the low power mode for the driver.
You can let both the MCU and the driver enter low power mode when the light is turned off to reduce the overall power consumption.
The I2C signal of the BP5758D is susceptible to electromagnetic interference due to improper PCB trace design.
The following lists the tracing guides for this driver:
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback