Project tutorial
Lego sliding door - In the Tatooine Desert

Lego sliding door - In the Tatooine Desert © GPL3+

Playing robotics with children - customizing toys

  • 2,741 views
  • 2 comments
  • 6 respects

Components and supplies

Apps and online services

About this project

Lego Sliding Door Project

In this project, I modified the structure of the building to open and close door using Arduino and Motor DC.

How it's works:

Step by step:

1) The connection with Arduino, L293D CI and motor DC was made using the schematic.

L239D --> Arduino

  • Pin1 --> VCC
  • Pin2 --> Pin 10
  • Pin3 and 6 --> connect to motor DC
  • Pin4 and 5 --> GND
  • Pin7 --> Pin 11
  • Pin8 --> connect to battery

2) The idea of the sliding door came from the garage door.

Detail of the Lego door:

3) Connect the micro servo as follow:

  • Control --> Pin 9
  • GND --> Arduino GND
  • VCC --> Arduino VCC

Detail of the musicians:

4) The command was made in Snap4Arduino:

- to open and close the door

- to move musicians (35 and 55 degrees)

Canal YouTube: mamãe é geek

Code

Block programmingC/C++
No preview (download only).

Schematics

L239D diagram
L239d pnmzyufbwe

Comments

Similar projects you might like

4-Wheel Robot Made With Arduino Controlled Using Dabble

Project tutorial by STEMpedia

  • 9,036 views
  • 8 comments
  • 27 respects

LEGO Wall-E with Arduino

Project tutorial by monsterbacke

  • 23,475 views
  • 14 comments
  • 100 respects

Unlock Your Door With a Hand Gesture

Project tutorial by AdhamN

  • 1,743 views
  • 0 comments
  • 6 respects

Take Control Over Lego Power Functions

Project tutorial by Patrick Müller

  • 61,385 views
  • 5 comments
  • 76 respects

RFID Based Automatic Door System

Project showcase by Robodia Technology

  • 55,483 views
  • 26 comments
  • 137 respects

Autobot Using Lego NXT Motors and Sensor

Project tutorial by Mark Tashiro

  • 19,534 views
  • 6 comments
  • 27 respects
Add projectSign up / Login