Project tutorial
Lego sliding door - In the Tatooine Desert

Lego sliding door - In the Tatooine Desert © GPL3+

Playing robotics with children - customizing toys

  • 1,316 views
  • 0 comments
  • 2 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

LEGO Wall-E with Arduino

Project tutorial by monsterbacke

  • 15,936 views
  • 14 comments
  • 84 respects

Unlock Your Door With a Hand Gesture

Project tutorial by AdhamN

  • 991 views
  • 0 comments
  • 4 respects

Take Control Over Lego Power Functions

Project tutorial by Patrick Müller

  • 43,671 views
  • 3 comments
  • 60 respects

RFID Based Automatic Door System

Project showcase by Robodia Technology

  • 35,854 views
  • 20 comments
  • 97 respects

Autobot Using Lego NXT Motors and Sensor

Project tutorial by Mark Tashiro

  • 14,217 views
  • 5 comments
  • 25 respects

Guitar Speed Pick and Stomp Pedal!

Project tutorial by marc_uberstein

  • 5,091 views
  • 8 comments
  • 30 respects
Add projectSign up / Login