This is an intelligent curtain control system based on a microcontroller. It utilizes a raindrop sensor module, a light intensity sensor module, an infrared receiver module, and a stepper motor module. Mode switching is possible via voice commands. In automatic mode, it automatically detects light and rainwater to open and close the curtains. At any time, the curtains can be opened and closed via infrared remote control or voice command, and the automatic mode can be deactivated. The
raindrop detection section determines rain by detecting the conductivity of water droplets. It measures the presence of water droplets by measuring the change in conductivity between two electrodes.
The light detection section uses a photoresistor. A photoresistor is a resistor whose resistance decreases rapidly with increasing light intensity; it exhibits almost high resistance in the absence of light, hence its high resistance in darkness.
The infrared receiver outputs a low level when infrared light is detected and a high level when no infrared light is detected. Therefore, by checking whether the OUT terminal outputs a low level, we can determine whether infrared data has been received.
The voice recognition section utilizes the HLK-V20 intelligent voice recognition module, supporting offline recognition of 150 local commands. It allows for customization of wake-up words, command words, and response announcements, and features rich peripheral interfaces.
The chosen motor is a stepper motor, which converts electrical pulse signals into open-loop control of angular or linear displacement; it is also known as a pulse motor.
After nearly three weeks of learning in the training camp, I learned how to draw schematics and route PCBs using EDA tools, developed some soldering skills for 0603 packaged components, and finally, gained some coding and debugging abilities.