Kit 5 - Motors and Power Control
Project 20: Servo + DC Motor Combo Door (Intermediate)

A press unlocks the servo latch, the L293D motor opens the model door for 1.5 s, it waits, closes it again and the servo locks.

Parts:
  AA 4-cell Battery Holder x1
  Push Button tactile 6x6 x1
  Motor Driver L293D x1
  SG90 Micro Servo x1
  DC Motor 6V x1

Circuit notes:
  SG90 servo: signal -> D11, red -> 5V, brown -> GND
  L293D: pin 16 + EN -> logic 5V, pin 8 -> +6V pack, GND pins -> GND; EN1,2 <- D6 (PWM), 1A <- A1, 2A <- A2
  Push button between D2 and GND (INPUT_PULLUP, pressed = LOW)
  4xAA pack (6 V): + -> bottom red rail (+6V), - -> bottom blue rail (GND), joined to the Uno GND

Try it first in the simulator: https://jrlearners.com/arduinoforge/?example=k5-20-door-combo
