It’s so convenient when we enter and exit the gate of the community, that the door will open
and closes automatically after we press the switch of the gate. How about making a mini
automatic door?
Experiment 11 – Automatic door
Instruction
Learn how servo work and use it to make a mini automatic door with touch sensor.
Learn how to rotate the servo.
Micro:bit x1
Crowtail-Base shield for Micro:bit x1
Crowtail-9G Servo x1
Crowtail-Touch Sensor x1
Crowtail-Cable x1
USB cable x1
Target
Required Parts
Tower Pro SG90 is a high quality, low-cost servo for all
your mechatronic needs. It comes with a 4-pin power
and control cable, mounting hardware. Servo is used in
many intelligent situations, such as automatic doors,
robots, aerial models, etc.
It can be said that the servo is almost an indispensable
module in the field of intelligent control. Have you
thought about adding a rotatable part to your smart product, such as automation field,
robot's head and hand.
Note: For all experiments using the servo module, you need to connect
a 12V power supply for the Crowtail-Base shield for Microbit.
Connect Crowtail-9G Servo and Crowtail-Touch Sensor to P1 and P0 ports of Crowtail-Base
shield for Micro:bit. The hardware connections are as follows:
Hardware learning and connection
27