The present application provides a communication address configuration method, an electronic device and a storage medium, and relates to the field of low-
voltage electrical appliance technology. The method is applied to a slave device in a communication
configuration system, the communication
configuration system includes a host device and at least one slave device, the host device is provided with a
constant current source, and each slave device is provided with a
voltage sampling unit, the method includes: when the
constant current source is powered on, obtaining the
voltage value corresponding to the slave device based on the voltage sampling unit; obtaining the target communication address of the slave device according to the voltage value corresponding to the slave device and the preset mapping relationship; setting the communication address of the slave device as the target communication address can realize the automatic setting of the communication address of the slave device, improve the address configuration efficiency, and avoid communication address setting errors; in addition, it can also make the setting of the communication address of each slave device independent of the
program logic in the host device, which can improve the flexibility of the communication address configuration method.