Introduction
With the continuous development of smart home technology, an intelligent lifestyle has become the pursuit of modern families. As an integral part of the smart home, intelligent curtains not only enhance the aesthetics of the home but also automatically adjust their opening and closing according to the ambient light, providing users with a more comfortable living experience. This article will elaborate on how to use the E104 - BT08 BLE module and a light sensor to achieve the light - linkage function for intelligent curtains.

Introduction to the E104-BT08 BLE Module
The E104-BT08 is a serial - to - BLE Bluetooth module developed by Chengdu Ebyte Electronic Technology Co., Ltd., based on the Bluetooth protocol version 5.1. This module features the following characteristics and advantages:
-
Compact size and low power consumption: It is small in size and consumes extremely low power, making it suitable for long - term operation.
-
Support for multiple operating modes: It supports functions such as master - slave integration, low - power broadcasting, and data transparent transmission.
-
Rich interfaces: It supports multiple interfaces like UART and GPIO, facilitating connection with other devices.
-
High security: It supports AES encryption, ensuring the security of data transmission.
-
Easy development: The module supports configuration via AT commands, with simple and fast operations.
Introduction to the Light Sensor
A light sensor is a device capable of sensing the intensity of ambient light and is widely used in fields such as smart homes and automatic control. Its main function is to automatically adjust the operating state of devices according to the intensity of ambient light.

Intelligent Curtain Light Linkage Solution
Hardware Composition
-
E104 - BT08 BLE module: Serves as the main controller, responsible for receiving data from the light sensor and controlling the opening and closing of the curtains.
-
Light sensor: Used to detect the intensity of ambient light.
-
Electric curtain motor: Opens and closes the curtains based on the control signals from the E104 - BT08 BLE module.
Software Design
-
Light sensor data collection: Real - time collection of ambient light intensity data through the light sensor.
-
Data transmission: Transmit the collected light intensity data to the E104 - BT08 BLE module via the BLE protocol.
-
Control logic: The E104 - BT08 BLE module determines whether to control the opening and closing of the electric curtain motor based on the received light intensity data.
-
Curtain opening and closing control: According to the control logic, the E104 - BT08 BLE module sends control signals to the electric curtain motor to achieve automatic opening and closing of the curtains.
Implementation Steps
-
Hardware connection: Connect the light sensor to the E104 - BT08 BLE module, and then connect the E104 - BT08 BLE module to the electric curtain motor.
-
Configure the E104 - BT08 BLE module: Configure the operating mode and parameters of the E104 - BT08 BLE module via AT commands.
-
Write the control program: Develop a program to achieve data collection, transmission, and control logic for the light sensor.
-
Testing and debugging: Conduct system testing and debugging to ensure stable system operation.
By combining the E104 - BT08 BLE module with a light sensor, the light - linkage function for intelligent curtains can be realized. The E104 - BT08 BLE module, with its compact size, low power consumption, support for multiple operating modes, and rich interfaces, is an ideal choice for achieving this function. As a reliable partner, Chengdu Ebyte Electronic Technology Co., Ltd. provides high - quality products and technical support, ensuring stable system operation and an improved user experience.