9. Case 09: Automatic Doors

9.1. Purpose

To make an automatic door.

../../_images/case-09-01.png

9.3. Materials Required

../../_images/case-09-02.png

Video link: https://youtu.be/JimDF7ArSjQ

9.4. Software Platform

MakeCode

9.5. Coding

Add extensions

Click “Advanced” in the MakeCode to see more choices.

../../_images/case-01-03.png

Search with Wukong in the dialogue box to download it.

../../_images/case-01-04.png

Search with https://github.com/elecfreaks/pxt-sonarbit in the dialogue box to add the sonar:bit extension.

../../_images/case-04-04.png