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. Bricks build-up


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

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

../../_images/step-case-09-03.png

../../_images/step-case-09-04.png

../../_images/step-case-09-05.png

../../_images/step-case-09-06.png

../../_images/step-case-09-07.png

../../_images/step-case-09-08.png

../../_images/step-case-09-09.png

../../_images/step-case-09-10.png

../../_images/step-case-09-11.png

../../_images/step-case-09-12.png

../../_images/step-case-09-13.png

../../_images/step-case-09-14.png

../../_images/step-case-09-15.png

../../_images/step-case-09-16.png

../../_images/step-case-09-17.png

../../_images/step-case-09-18.png

../../_images/step-case-09-19.png

../../_images/step-case-09-20.png

../../_images/step-case-09-21.png

../../_images/step-case-09-22.png

9.5. Software Platform

MakeCode

9.6. 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