![]() ![]() Detect the light intensity with the light sensor on the micro:bit, if the light intensity is below the threshold, program to drive the servo to draw the curtains.Ĭlick "Advanced" in the MakeCode to see more choices.įor programming, we need to add a package: click "Extensions" at the bottom of the MakeCode drawer and search with "servo" in the dialogue box to download it.So we can design a device that automatically draws the curtains to reduce light interference. ![]() Because at night, the decorative light near the glass can disorient the migrating birds, causing them to collide with skyscrapers, office buildings or other glass decorated with lights. One of the preventive measures is to turn off unnecessary lights or draw curtains at night. ![]() Bird hitting buildings is one of the most serious threats to birds.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |