Home automation is a key aspect in smart home. This smart hanger is designed to retract automatically when it is raining.
Building Instructions and Sample Programs
Upload the program onto Micro:bit.
Press A to power on the hanger.
When rain is detected, the hanger is retracted and the fan is turned on to facilitate drying.