The owner then decide if they want to close or open the shades(servo motor) through the button, On normal mode the LED will be green. When the shades(servo motor) are moving, red led will be blinking . When the PIR sensor detects anyone coming to the shades while its moving the shade will stop moving for 5 sec to warn off the pedestrian before continuing with its motion
Tan Jia Wen
Posted by Xerith Tan
Thanks to Low Jia Wen, Nigel Ng, and Nicholas Thiam.